Skip to content

Commit ad3b0a5

Browse files
amitabhmandalpauljervis
authored andcommitted
Renamed Junits to standard (eugenp#5147)
1 parent 9d0c10d commit ad3b0a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎core-java-9/src/test/java/com/baeldung/java9/process/ProcessUnderstandingTest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void givenSubProcess_whenEncounteringError_thenErrorStreamNotNull() throw
4848
}
4949

5050
//@Test - windows specific
51-
public void givenSubProcess_thenStartSuccessIsAlive() throws IOException {
51+
public void givenSubProcess_whenStarted_thenStartSuccessIsAlive() throws IOException {
5252
ProcessBuilder builder = new ProcessBuilder("notepad.exe");
5353
assertTrue(builder.start().isAlive());
5454
}
@@ -75,7 +75,7 @@ public void givenSubProcess_whenAlive_thenDestroyForcibly() throws IOException,
7575
}
7676

7777
//@Test - windows specific
78-
public void givenSubProcess_checkAlive() throws IOException, InterruptedException {
78+
public void givenSubProcess_whenDestroyed_thenCheckIfAlive() throws IOException, InterruptedException {
7979
ProcessBuilder builder = new ProcessBuilder("notepad.exe");
8080
Process process = builder.start();
8181
Thread.sleep(10000);

0 commit comments

Comments
 (0)