Exemplo n.º 1
0
 public void testQualifiedNameZeroStudySegmentEpoch() throws Exception {
   assertEquals("Epoch", Epoch.create("Epoch").getStudySegments().get(0).getQualifiedName());
 }
Exemplo n.º 2
0
 public void testQualifiedName() throws Exception {
   Epoch epoch = Epoch.create("Epoch", "A", "B");
   assertEquals("Epoch: A", epoch.getStudySegments().get(0).getQualifiedName());
   assertEquals("Epoch: B", epoch.getStudySegments().get(1).getQualifiedName());
 }
Exemplo n.º 3
0
 public void testFindMatchingChildSegmentWhenNotPresent() throws Exception {
   Epoch e = Epoch.create("E", "A1", "A2");
   assertNull(e.findNaturallyMatchingChild("A0"));
 }