Пример #1
0
 @AfterClass
 public static void afterClass() {
   ServerTest.teardownServer();
 }
Пример #2
0
 @After
 public void afterTest() {
   ServerTest.freeServer();
 }
Пример #3
0
 @Before
 public void beforeTest() {
   ServerTest.allocServer();
   ServerTest.resetServer();
 }
 @Before
 public void before() {
   ServerTest.resetServer();
 }
 @AfterClass
 public static void afterClass() {
   ServerTest.freeServer();
 }
 @BeforeClass
 public static void beforeClass() {
   ServerTest.allocServer();
 }