Migrate to JUnit5

This commit is contained in:
Artur Mogozov
2017-12-31 16:29:48 +09:00
parent a20e54d0a7
commit 6694d742a3
408 changed files with 2656 additions and 2165 deletions

View File

@ -22,9 +22,9 @@
*/
package com.iluwatar.tolerantreader;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.io.File;
import java.io.IOException;
@ -42,8 +42,8 @@ public class AppTest {
App.main(args);
}
@Before
@After
@BeforeEach
@AfterEach
public void cleanup() {
File file1 = new File("fish1.out");
file1.delete();