move tests in junit-5
This commit is contained in:
parent
e51b8261c7
commit
5c0ea4c47d
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.throwsexception;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
public class Calculator {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.throwsexception;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
public class DivideByZeroException extends RuntimeException {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.throwsexception;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
import org.junit.Test;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.java.suite.childpackage1;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.java.suite.childpackage2;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.java.customtestname;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.java.parameterisedsource;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.java.parameterisedsource;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
public enum PizzaDeliveryStrategy {
|
||||
EXPRESS,
|
|
@ -1,7 +1,5 @@
|
|||
package org.baeldung.java.suite;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
import org.baeldung.java.suite.childpackage1.Class1UnitTest;
|
||||
import org.baeldung.java.suite.childpackage2.Class2UnitTest;
|
||||
import org.junit.platform.runner.JUnitPlatform;
|
||||
import org.junit.platform.suite.api.SelectClasses;
|
||||
import org.junit.runner.RunWith;
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.java.suite;
|
||||
package com.baeldung.junit5vstestng;
|
||||
|
||||
import org.junit.platform.runner.JUnitPlatform;
|
||||
import org.junit.platform.suite.api.SelectPackages;
|
|
@ -11,7 +11,7 @@ import org.junit.jupiter.api.BeforeAll;
|
|||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class SummationServiceIntegrationTest {
|
||||
public class SummationServiceUnitTest {
|
||||
private static List<Integer> numbers;
|
||||
|
||||
@BeforeAll
|
Loading…
Reference in New Issue