Skip to content
Snippets Groups Projects
Commit f14ea67f authored by Alexandre TISON's avatar Alexandre TISON
Browse files

Added unit test for getAllContexts

parent 239af135
Branches
No related tags found
1 merge request!3Added unit tests
...@@ -210,6 +210,13 @@ public class TangoArchivingConfigServiceTest { ...@@ -210,6 +210,13 @@ public class TangoArchivingConfigServiceTest {
assertEquals(1, domains.size()); assertEquals(1, domains.size());
} }
@Test
public void getAllContexts() {
final List<Context> contexts = configService.getAllContexts();
System.out.println(contexts);
assertFalse(contexts.isEmpty());
}
@Test @Test
public void getContext() { public void getContext() {
final Context context = configService.getContext(1); final Context context = configService.getContext(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment