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,8 @@
*/
package com.iluwatar.mutex;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import java.io.IOException;
/**

View File

@ -22,8 +22,10 @@
*/
package com.iluwatar.mutex;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Test case for taking beans from a Jar

View File

@ -22,8 +22,11 @@
*/
package com.iluwatar.mutex;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.fail;
/**
* Test case for acquiring and releasing a Mutex