Renamed Junits to standard (#5147)

This commit is contained in:
Amitabh Mandal 2018-09-05 14:36:48 +05:30 committed by pauljervis
parent 9d0c10d5f9
commit ad3b0a527f
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class ProcessUnderstandingTest {
} }
//@Test - windows specific //@Test - windows specific
public void givenSubProcess_thenStartSuccessIsAlive() throws IOException { public void givenSubProcess_whenStarted_thenStartSuccessIsAlive() throws IOException {
ProcessBuilder builder = new ProcessBuilder("notepad.exe"); ProcessBuilder builder = new ProcessBuilder("notepad.exe");
assertTrue(builder.start().isAlive()); assertTrue(builder.start().isAlive());
} }
@ -75,7 +75,7 @@ class ProcessUnderstandingTest {
} }
//@Test - windows specific //@Test - windows specific
public void givenSubProcess_checkAlive() throws IOException, InterruptedException { public void givenSubProcess_whenDestroyed_thenCheckIfAlive() throws IOException, InterruptedException {
ProcessBuilder builder = new ProcessBuilder("notepad.exe"); ProcessBuilder builder = new ProcessBuilder("notepad.exe");
Process process = builder.start(); Process process = builder.start();
Thread.sleep(10000); Thread.sleep(10000);