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,7 +22,7 @@
*/
package com.iluwatar.model.view.presenter;
import org.junit.Test;
import org.junit.jupiter.api.Test;
/**
*

View File

@ -22,9 +22,9 @@
*/
package com.iluwatar.model.view.presenter;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import static org.junit.Assert.assertNull;
import static org.junit.jupiter.api.Assertions.assertNull;
/**
* Date: 12/21/15 - 12:12 PM

View File

@ -22,13 +22,13 @@
*/
package com.iluwatar.model.view.presenter;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.Before;
import org.junit.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* This test case is responsible for testing our application by taking advantage of the
@ -54,7 +54,7 @@ public class FileSelectorPresenterTest {
/**
* Initializes the components of the test case.
*/
@Before
@BeforeEach
public void setUp() {
this.stub = new FileSelectorStub();
this.loader = new FileLoader();