Migrate to JUnit5
This commit is contained in:
		| @@ -22,7 +22,8 @@ | ||||
|  */ | ||||
| package com.iluwatar.semaphore; | ||||
|  | ||||
| import org.junit.Test; | ||||
| import org.junit.jupiter.api.Test; | ||||
|  | ||||
| import java.io.IOException; | ||||
|  | ||||
| /** | ||||
|   | ||||
| @@ -22,8 +22,11 @@ | ||||
|  */ | ||||
| package com.iluwatar.semaphore; | ||||
|  | ||||
| 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.assertNotNull; | ||||
| import static org.junit.jupiter.api.Assertions.assertNull; | ||||
|  | ||||
| /** | ||||
|  * Test taking from and putting Fruit into a FruitBowl | ||||
|   | ||||
| @@ -22,8 +22,10 @@ | ||||
|  */ | ||||
| package com.iluwatar.semaphore; | ||||
|  | ||||
| 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.fail; | ||||
|  | ||||
| /** | ||||
|  * Test case for acquiring and releasing a Semaphore | ||||
|   | ||||
		Reference in New Issue
	
	Block a user