Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing public modifiers from junit5 tests where applicable #858

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/test/java/emissary/core/SafeUsageCheckerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

public class SafeUsageCheckerTest extends UnitTest {
class SafeUsageCheckerTest extends UnitTest {
@Test
void testDifferentConfigs() {
assertTrue(SafeUsageChecker.ENABLED_FROM_CONFIGURATION, "Enabled from config file should be true");
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/emissary/core/TransformHistoryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;

public class TransformHistoryTest extends UnitTest {
class TransformHistoryTest extends UnitTest {

@Test
void testSet() {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/emissary/parser/InputSessionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

public class InputSessionTest extends UnitTest {
class InputSessionTest extends UnitTest {

@Test
void testRecordCounting() throws ParserException {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/emissary/pool/AgentPoolTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

public class AgentPoolTest extends UnitTest {
class AgentPoolTest extends UnitTest {

public static Stream<Arguments> poolSizeVales() {
return Stream.of(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;

public class LogbackTesterTest extends UnitTest {
class LogbackTesterTest extends UnitTest {
@SuppressWarnings("HidingField")
protected Logger logger = LoggerFactory.getLogger("TESTY");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.io.IOException;
import java.util.stream.Stream;

public class JavascriptEscapePlaceTest extends ExtractionTest {
class JavascriptEscapePlaceTest extends ExtractionTest {

public static Stream<? extends Arguments> data() {
return getMyTestParameterFiles(JavascriptEscapePlaceTest.class);
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/emissary/transform/JsonEscapePlaceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.io.IOException;
import java.util.stream.Stream;

public class JsonEscapePlaceTest extends ExtractionTest {
class JsonEscapePlaceTest extends ExtractionTest {

public static Stream<? extends Arguments> data() {
return getMyTestParameterFiles(JsonEscapePlaceTest.class);
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/emissary/util/DateTimeFormatParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;

public class DateTimeFormatParserTest extends UnitTest {
class DateTimeFormatParserTest extends UnitTest {

private static final long EXPECTED_FULL = 1451931630; // 2016-01-04 18:20:30
private static final long EXPECTED_NO_TIME = 1451865600; // 2016-01-04 00:00:00
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/emissary/util/PayloadUtilTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

public class PayloadUtilTest extends UnitTest {
class PayloadUtilTest extends UnitTest {

private static String timezone = "GMT";
private static final String validFormCharsString = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-)(/+";
Expand Down