abhaengige Tests zusammengefasst

This commit is contained in:
Purodha Blissenbach 2012-07-18 17:12:42 +00:00
parent 30941da4d8
commit a78ddfc29a

View File

@ -121,6 +121,14 @@ public class DomainTest {
assertEquals(count - 1, getDomsCount());
}
@Test
public void testDomainOption() {
// these tests build upon each other
testOneValidOption();
testTwoValidOptions();
testZeroOptions();
}
@Test
public void testInvalidOption() {
String user = "aaa00";
@ -144,7 +152,6 @@ public class DomainTest {
}
}
@Test
public void testOneValidOption() {
String user = "aaa00";
String grantingTicketURL = cas.getGrantingTicketURL(user);
@ -167,7 +174,6 @@ public class DomainTest {
}
}
@Test
public void testTwoValidOptions() {
String user = "aaa00";
String grantingTicketURL = cas.getGrantingTicketURL(user);
@ -191,7 +197,6 @@ public class DomainTest {
}
}
@Test
public void testZeroOptions() {
String user = "aaa00";
String grantingTicketURL = cas.getGrantingTicketURL(user);