Use the default package visibility and optimize imports

This commit is contained in:
Alex Golub 2022-04-20 13:50:30 +03:00
parent 4bcb36ff41
commit 73e2047689

View File

@ -1,17 +1,11 @@
package com.baeldung; package com.baeldung;
import org.junit.jupiter.api.*;
import java.util.logging.Logger; import java.util.logging.Logger;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
//@RunWith(JUnitPlatform.class) //@RunWith(JUnitPlatform.class)
public class JUnit5NewFeaturesUnitTest { class JUnit5NewFeaturesUnitTest {
private static final Logger log = Logger.getLogger(JUnit5NewFeaturesUnitTest.class.getName()); private static final Logger log = Logger.getLogger(JUnit5NewFeaturesUnitTest.class.getName());
@ -29,7 +23,6 @@ public class JUnit5NewFeaturesUnitTest {
@Test @Test
void testSingleSuccessTest() { void testSingleSuccessTest() {
log.info("Success"); log.info("Success");
} }
@Test @Test