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

@ -18,8 +18,7 @@
*/
package com.iluwatar.datamapper;
import com.iluwatar.datamapper.App;
import org.junit.Test;
import org.junit.jupiter.api.Test;
/**
* Tests that Data-Mapper example runs without errors.

View File

@ -18,13 +18,9 @@
*/
package com.iluwatar.datamapper;
import static org.junit.Assert.assertEquals;
import org.junit.jupiter.api.Test;
import org.junit.Test;
import com.iluwatar.datamapper.Student;
import com.iluwatar.datamapper.StudentDataMapper;
import com.iluwatar.datamapper.StudentDataMapperImpl;
import static org.junit.jupiter.api.Assertions.assertEquals;
/**
* The Data Mapper (DM) is a layer of software that separates the in-memory objects from the

View File

@ -18,10 +18,10 @@
*/
package com.iluwatar.datamapper;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.jupiter.api.Test;
import org.junit.Test;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Tests {@link Student}.