move tests in junit-5

This commit is contained in:
Loredana Crusoveanu 2018-10-14 22:39:34 +03:00
parent e51b8261c7
commit 5c0ea4c47d
11 changed files with 11 additions and 13 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.throwsexception;
package com.baeldung.junit5vstestng;
public class Calculator {

View File

@ -1,4 +1,4 @@
package com.baeldung.throwsexception;
package com.baeldung.junit5vstestng;
public class DivideByZeroException extends RuntimeException {

View File

@ -1,4 +1,4 @@
package com.baeldung.throwsexception;
package com.baeldung.junit5vstestng;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package org.baeldung.java.suite.childpackage1;
package com.baeldung.junit5vstestng;
import static org.junit.jupiter.api.Assertions.assertTrue;

View File

@ -1,4 +1,4 @@
package org.baeldung.java.suite.childpackage2;
package com.baeldung.junit5vstestng;
import static org.junit.jupiter.api.Assertions.assertTrue;

View File

@ -1,4 +1,4 @@
package org.baeldung.java.customtestname;
package com.baeldung.junit5vstestng;
import static org.junit.Assert.assertNotNull;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package org.baeldung.java.parameterisedsource;
package com.baeldung.junit5vstestng;
public enum PizzaDeliveryStrategy {
EXPRESS,

View File

@ -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;

View File

@ -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;

View File

@ -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