abhaengige Tests zusammengefasst
This commit is contained in:
parent
30941da4d8
commit
a78ddfc29a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user