diff --git a/src/test/java/pl/szczepanik/silencio/api/FormatTest.java b/src/test/java/pl/szczepanik/silencio/api/FormatTest.java index 7f993b0..5bb2798 100644 --- a/src/test/java/pl/szczepanik/silencio/api/FormatTest.java +++ b/src/test/java/pl/szczepanik/silencio/api/FormatTest.java @@ -12,7 +12,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class FormatTest extends GenericTest { +class FormatTest extends GenericTest { @Test void shouldReturnFormatName() { diff --git a/src/test/java/pl/szczepanik/silencio/converters/BlankTest.java b/src/test/java/pl/szczepanik/silencio/converters/BlankTest.java index c451d6f..b84565d 100644 --- a/src/test/java/pl/szczepanik/silencio/converters/BlankTest.java +++ b/src/test/java/pl/szczepanik/silencio/converters/BlankTest.java @@ -12,7 +12,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class BlankTest extends GenericTest { +class BlankTest extends GenericTest { @Test void shouldReturnEmptyValue() { diff --git a/src/test/java/pl/szczepanik/silencio/converters/NumberSequenceConverterTest.java b/src/test/java/pl/szczepanik/silencio/converters/NumberSequenceConverterTest.java index 95d9b16..3dc9a9f 100644 --- a/src/test/java/pl/szczepanik/silencio/converters/NumberSequenceConverterTest.java +++ b/src/test/java/pl/szczepanik/silencio/converters/NumberSequenceConverterTest.java @@ -15,7 +15,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class NumberSequenceConverterTest extends GenericTest { +class NumberSequenceConverterTest extends GenericTest { @Test void shouldReturnValueWhenPassingNull() { diff --git a/src/test/java/pl/szczepanik/silencio/converters/StringConverterTest.java b/src/test/java/pl/szczepanik/silencio/converters/StringConverterTest.java index 74801c1..3797563 100644 --- a/src/test/java/pl/szczepanik/silencio/converters/StringConverterTest.java +++ b/src/test/java/pl/szczepanik/silencio/converters/StringConverterTest.java @@ -12,7 +12,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class StringConverterTest extends GenericTest { +class StringConverterTest extends GenericTest { @Test void shouldReturnEmptyValue() { diff --git a/src/test/java/pl/szczepanik/silencio/converters/WikipediaConverterTest.java b/src/test/java/pl/szczepanik/silencio/converters/WikipediaConverterTest.java index 80e7309..f9ddeb9 100644 --- a/src/test/java/pl/szczepanik/silencio/converters/WikipediaConverterTest.java +++ b/src/test/java/pl/szczepanik/silencio/converters/WikipediaConverterTest.java @@ -31,7 +31,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class WikipediaConverterTest extends GenericTest { +class WikipediaConverterTest extends GenericTest { private static final String URL_ADDRESS = "https://en.m.wikipedia.org/wiki/Special:Random"; private static final String INVALID_HTML_PAGE = "This does not look like valid HTML page"; diff --git a/src/test/java/pl/szczepanik/silencio/core/AbstractProcessorTest.java b/src/test/java/pl/szczepanik/silencio/core/AbstractProcessorTest.java index a89c406..b9951f1 100644 --- a/src/test/java/pl/szczepanik/silencio/core/AbstractProcessorTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/AbstractProcessorTest.java @@ -14,7 +14,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class AbstractProcessorTest extends GenericTest { +class AbstractProcessorTest extends GenericTest { @Test void shouldReturnPassedFormat() { diff --git a/src/test/java/pl/szczepanik/silencio/core/BuilderTest.java b/src/test/java/pl/szczepanik/silencio/core/BuilderTest.java index 0ec1811..a61a709 100644 --- a/src/test/java/pl/szczepanik/silencio/core/BuilderTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/BuilderTest.java @@ -21,7 +21,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class BuilderTest extends GenericTest { +class BuilderTest extends GenericTest { @Test void shouldHoldPassedFormat() { diff --git a/src/test/java/pl/szczepanik/silencio/core/BuilderTest_buildTest.java b/src/test/java/pl/szczepanik/silencio/core/BuilderTest_buildTest.java index 3da6dc7..be6eafa 100644 --- a/src/test/java/pl/szczepanik/silencio/core/BuilderTest_buildTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/BuilderTest_buildTest.java @@ -17,7 +17,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class BuilderTest_buildTest extends GenericTest { +class BuilderTest_buildTest extends GenericTest { public Format format; diff --git a/src/test/java/pl/szczepanik/silencio/core/ConfigurationTest.java b/src/test/java/pl/szczepanik/silencio/core/ConfigurationTest.java index e0890d0..2447fc4 100644 --- a/src/test/java/pl/szczepanik/silencio/core/ConfigurationTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/ConfigurationTest.java @@ -11,7 +11,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class ConfigurationTest extends GenericTest { +class ConfigurationTest extends GenericTest { @Test void shouldReturnPassedExecutions() { diff --git a/src/test/java/pl/szczepanik/silencio/core/ExecutionTest.java b/src/test/java/pl/szczepanik/silencio/core/ExecutionTest.java index e1250fb..fdd4c73 100644 --- a/src/test/java/pl/szczepanik/silencio/core/ExecutionTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/ExecutionTest.java @@ -14,7 +14,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class ExecutionTest extends GenericTest { +class ExecutionTest extends GenericTest { @Test void shouldReturnPassedValues() { diff --git a/src/test/java/pl/szczepanik/silencio/core/IntegrityExceptionTest.java b/src/test/java/pl/szczepanik/silencio/core/IntegrityExceptionTest.java index 8bb8ea8..b87da30 100644 --- a/src/test/java/pl/szczepanik/silencio/core/IntegrityExceptionTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/IntegrityExceptionTest.java @@ -8,7 +8,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class IntegrityExceptionTest extends GenericTest { +class IntegrityExceptionTest extends GenericTest { @Test void constructorWithMessageReturnsPassedMessage() { diff --git a/src/test/java/pl/szczepanik/silencio/core/KeyTest.java b/src/test/java/pl/szczepanik/silencio/core/KeyTest.java index 8ac3b37..761c67e 100644 --- a/src/test/java/pl/szczepanik/silencio/core/KeyTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/KeyTest.java @@ -8,7 +8,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class KeyTest extends GenericTest { +class KeyTest extends GenericTest { @Test void shouldReturnKey() { diff --git a/src/test/java/pl/szczepanik/silencio/core/ProcessorExceptionTest.java b/src/test/java/pl/szczepanik/silencio/core/ProcessorExceptionTest.java index d743664..df35538 100644 --- a/src/test/java/pl/szczepanik/silencio/core/ProcessorExceptionTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/ProcessorExceptionTest.java @@ -8,7 +8,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class ProcessorExceptionTest extends GenericTest { +class ProcessorExceptionTest extends GenericTest { @Test void constructorWithMessageReturnsPassedMessage() { diff --git a/src/test/java/pl/szczepanik/silencio/core/ProcessorStateMachineTest.java b/src/test/java/pl/szczepanik/silencio/core/ProcessorStateMachineTest.java index 4ed6be1..2bdd62d 100644 --- a/src/test/java/pl/szczepanik/silencio/core/ProcessorStateMachineTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/ProcessorStateMachineTest.java @@ -9,7 +9,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class ProcessorStateMachineTest extends GenericTest { +class ProcessorStateMachineTest extends GenericTest { @Test void shouldNotAllowToValidateProcessInCreatedState() { diff --git a/src/test/java/pl/szczepanik/silencio/core/ValueTest.java b/src/test/java/pl/szczepanik/silencio/core/ValueTest.java index a84b7f7..53868d6 100644 --- a/src/test/java/pl/szczepanik/silencio/core/ValueTest.java +++ b/src/test/java/pl/szczepanik/silencio/core/ValueTest.java @@ -8,7 +8,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class ValueTest extends GenericTest { +class ValueTest extends GenericTest { @Test void shouldReturnValue() { diff --git a/src/test/java/pl/szczepanik/silencio/decisions/MatcherDecisionTest.java b/src/test/java/pl/szczepanik/silencio/decisions/MatcherDecisionTest.java index d3ba7c6..ea356db 100644 --- a/src/test/java/pl/szczepanik/silencio/decisions/MatcherDecisionTest.java +++ b/src/test/java/pl/szczepanik/silencio/decisions/MatcherDecisionTest.java @@ -11,7 +11,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class MatcherDecisionTest extends GenericTest { +class MatcherDecisionTest extends GenericTest { @Test void shouldAcceptValuesAsWords() { diff --git a/src/test/java/pl/szczepanik/silencio/decisions/NegativeDecisionTest.java b/src/test/java/pl/szczepanik/silencio/decisions/NegativeDecisionTest.java index b527606..3a8250c 100644 --- a/src/test/java/pl/szczepanik/silencio/decisions/NegativeDecisionTest.java +++ b/src/test/java/pl/szczepanik/silencio/decisions/NegativeDecisionTest.java @@ -11,7 +11,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class NegativeDecisionTest extends GenericTest { +class NegativeDecisionTest extends GenericTest { @Test void shouldNotAllowForConversion() { diff --git a/src/test/java/pl/szczepanik/silencio/decisions/PositiveDecisionTest.java b/src/test/java/pl/szczepanik/silencio/decisions/PositiveDecisionTest.java index 3962860..d417e57 100644 --- a/src/test/java/pl/szczepanik/silencio/decisions/PositiveDecisionTest.java +++ b/src/test/java/pl/szczepanik/silencio/decisions/PositiveDecisionTest.java @@ -11,7 +11,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class PositiveDecisionTest extends GenericTest { +class PositiveDecisionTest extends GenericTest { @Test void shouldAllowForConversion() { diff --git a/src/test/java/pl/szczepanik/silencio/diagnostics/BlankCharConverterTest.java b/src/test/java/pl/szczepanik/silencio/diagnostics/BlankCharConverterTest.java index 1d36dde..eb1ebde 100644 --- a/src/test/java/pl/szczepanik/silencio/diagnostics/BlankCharConverterTest.java +++ b/src/test/java/pl/szczepanik/silencio/diagnostics/BlankCharConverterTest.java @@ -8,7 +8,7 @@ import pl.szczepanik.silencio.core.Key; import pl.szczepanik.silencio.core.Value; -public class BlankCharConverterTest extends GenericTest { +class BlankCharConverterTest extends GenericTest { @Test void shouldReturnConstantValue() { diff --git a/src/test/java/pl/szczepanik/silencio/diagnostics/ConstantValueConverterTest.java b/src/test/java/pl/szczepanik/silencio/diagnostics/ConstantValueConverterTest.java index 81668f6..6b6a2cc 100644 --- a/src/test/java/pl/szczepanik/silencio/diagnostics/ConstantValueConverterTest.java +++ b/src/test/java/pl/szczepanik/silencio/diagnostics/ConstantValueConverterTest.java @@ -8,7 +8,7 @@ import pl.szczepanik.silencio.core.Key; import pl.szczepanik.silencio.core.Value; -public class ConstantValueConverterTest extends GenericTest { +class ConstantValueConverterTest extends GenericTest { @Test void shouldReturnConstantValue() { diff --git a/src/test/java/pl/szczepanik/silencio/diagnostics/KeyValueConverterTest.java b/src/test/java/pl/szczepanik/silencio/diagnostics/KeyValueConverterTest.java index 2f7d7e4..4e5ce7d 100644 --- a/src/test/java/pl/szczepanik/silencio/diagnostics/KeyValueConverterTest.java +++ b/src/test/java/pl/szczepanik/silencio/diagnostics/KeyValueConverterTest.java @@ -8,7 +8,7 @@ import pl.szczepanik.silencio.core.Key; import pl.szczepanik.silencio.core.Value; -public class KeyValueConverterTest extends GenericTest { +class KeyValueConverterTest extends GenericTest { @Test void shouldReturnCorrectValue() { diff --git a/src/test/java/pl/szczepanik/silencio/diagnostics/PassedValueConverterTest.java b/src/test/java/pl/szczepanik/silencio/diagnostics/PassedValueConverterTest.java index d9ee42b..7fabec8 100644 --- a/src/test/java/pl/szczepanik/silencio/diagnostics/PassedValueConverterTest.java +++ b/src/test/java/pl/szczepanik/silencio/diagnostics/PassedValueConverterTest.java @@ -8,7 +8,7 @@ import pl.szczepanik.silencio.core.Key; import pl.szczepanik.silencio.core.Value; -public class PassedValueConverterTest extends GenericTest { +class PassedValueConverterTest extends GenericTest { @Test void shouldReturnCorrectValue() { diff --git a/src/test/java/pl/szczepanik/silencio/diagnostics/ProcessorSmokeCheckerTest.java b/src/test/java/pl/szczepanik/silencio/diagnostics/ProcessorSmokeCheckerTest.java index 17cd8c3..1483247 100644 --- a/src/test/java/pl/szczepanik/silencio/diagnostics/ProcessorSmokeCheckerTest.java +++ b/src/test/java/pl/szczepanik/silencio/diagnostics/ProcessorSmokeCheckerTest.java @@ -15,7 +15,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class ProcessorSmokeCheckerTest extends GenericTest { +class ProcessorSmokeCheckerTest extends GenericTest { @Test void shouldPassWithStubProcessor() { diff --git a/src/test/java/pl/szczepanik/silencio/integration/BlankConverterIntegrationTest.java b/src/test/java/pl/szczepanik/silencio/integration/BlankConverterIntegrationTest.java index 28c6795..5fc213b 100644 --- a/src/test/java/pl/szczepanik/silencio/integration/BlankConverterIntegrationTest.java +++ b/src/test/java/pl/szczepanik/silencio/integration/BlankConverterIntegrationTest.java @@ -15,7 +15,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class BlankConverterIntegrationTest extends GenericTest { +class BlankConverterIntegrationTest extends GenericTest { @Test void shoulClearValuesWhenBlankIsExecutedAsLast() throws IOException { diff --git a/src/test/java/pl/szczepanik/silencio/integration/BuilderIntegrationTest.java b/src/test/java/pl/szczepanik/silencio/integration/BuilderIntegrationTest.java index 3ec305d..4ad2f3b 100644 --- a/src/test/java/pl/szczepanik/silencio/integration/BuilderIntegrationTest.java +++ b/src/test/java/pl/szczepanik/silencio/integration/BuilderIntegrationTest.java @@ -18,7 +18,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class BuilderIntegrationTest extends GenericTest { +class BuilderIntegrationTest extends GenericTest { @Test void shouldProcessPropertiesFile() throws IOException { diff --git a/src/test/java/pl/szczepanik/silencio/integration/EmptyContentIntegrationTest.java b/src/test/java/pl/szczepanik/silencio/integration/EmptyContentIntegrationTest.java index c238e35..bd87448 100644 --- a/src/test/java/pl/szczepanik/silencio/integration/EmptyContentIntegrationTest.java +++ b/src/test/java/pl/szczepanik/silencio/integration/EmptyContentIntegrationTest.java @@ -17,7 +17,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class EmptyContentIntegrationTest extends GenericTest { +class EmptyContentIntegrationTest extends GenericTest { public Format format; diff --git a/src/test/java/pl/szczepanik/silencio/integration/JSONProcessorIntegrationTest.java b/src/test/java/pl/szczepanik/silencio/integration/JSONProcessorIntegrationTest.java index eb3529e..3ceac4b 100644 --- a/src/test/java/pl/szczepanik/silencio/integration/JSONProcessorIntegrationTest.java +++ b/src/test/java/pl/szczepanik/silencio/integration/JSONProcessorIntegrationTest.java @@ -14,7 +14,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class JSONProcessorIntegrationTest extends GenericTest { +class JSONProcessorIntegrationTest extends GenericTest { @Test void shouldProcessJSONFile() { diff --git a/src/test/java/pl/szczepanik/silencio/integration/PropertiesProcessorIntegrationTest.java b/src/test/java/pl/szczepanik/silencio/integration/PropertiesProcessorIntegrationTest.java index c44b1b5..9dafacc 100644 --- a/src/test/java/pl/szczepanik/silencio/integration/PropertiesProcessorIntegrationTest.java +++ b/src/test/java/pl/szczepanik/silencio/integration/PropertiesProcessorIntegrationTest.java @@ -16,7 +16,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class PropertiesProcessorIntegrationTest extends GenericTest { +class PropertiesProcessorIntegrationTest extends GenericTest { @Test void shouldProcessPropertiesFile() throws IOException { diff --git a/src/test/java/pl/szczepanik/silencio/integration/SuvIntegrationTest.java b/src/test/java/pl/szczepanik/silencio/integration/SuvIntegrationTest.java index 5dd76bb..0939bc2 100644 --- a/src/test/java/pl/szczepanik/silencio/integration/SuvIntegrationTest.java +++ b/src/test/java/pl/szczepanik/silencio/integration/SuvIntegrationTest.java @@ -18,7 +18,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class SuvIntegrationTest extends GenericTest { +class SuvIntegrationTest extends GenericTest { public Processor processor; diff --git a/src/test/java/pl/szczepanik/silencio/integration/WikipediaConverterIntegrationTest.java b/src/test/java/pl/szczepanik/silencio/integration/WikipediaConverterIntegrationTest.java index 5020452..1ebd1ed 100644 --- a/src/test/java/pl/szczepanik/silencio/integration/WikipediaConverterIntegrationTest.java +++ b/src/test/java/pl/szczepanik/silencio/integration/WikipediaConverterIntegrationTest.java @@ -16,7 +16,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class WikipediaConverterIntegrationTest extends GenericTest { +class WikipediaConverterIntegrationTest extends GenericTest { @Test void shouldGetWordsFromWikipedia() { diff --git a/src/test/java/pl/szczepanik/silencio/integration/XMLProcessorIntegrationTest.java b/src/test/java/pl/szczepanik/silencio/integration/XMLProcessorIntegrationTest.java index 2e46e24..f9e433e 100644 --- a/src/test/java/pl/szczepanik/silencio/integration/XMLProcessorIntegrationTest.java +++ b/src/test/java/pl/szczepanik/silencio/integration/XMLProcessorIntegrationTest.java @@ -14,7 +14,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class XMLProcessorIntegrationTest extends GenericTest { +class XMLProcessorIntegrationTest extends GenericTest { @Test void shouldProcessXMLFile() { diff --git a/src/test/java/pl/szczepanik/silencio/mocks/AbstractProcessorCrashOnRealProcess.java b/src/test/java/pl/szczepanik/silencio/mocks/AbstractProcessorCrashOnRealProcess.java index 5d0771a..ae7c0b9 100644 --- a/src/test/java/pl/szczepanik/silencio/mocks/AbstractProcessorCrashOnRealProcess.java +++ b/src/test/java/pl/szczepanik/silencio/mocks/AbstractProcessorCrashOnRealProcess.java @@ -9,7 +9,7 @@ /** * Mock for {@link AbstractProcessor} that crashes when {@link AbstractProcessorCrashOnRealProcess#realProcess()} method * is invoked. - * + * * @author Damian Szczepanik (damianszczepanik@github) */ public class AbstractProcessorCrashOnRealProcess extends StubProcessor { diff --git a/src/test/java/pl/szczepanik/silencio/mocks/ConverterVisitor.java b/src/test/java/pl/szczepanik/silencio/mocks/ConverterVisitor.java index 18f1690..b350c20 100644 --- a/src/test/java/pl/szczepanik/silencio/mocks/ConverterVisitor.java +++ b/src/test/java/pl/szczepanik/silencio/mocks/ConverterVisitor.java @@ -6,7 +6,7 @@ /** * Stores key and value passed to this converter. - * + * * @author Damian Szczepanik (damianszczepanik@github) */ public class ConverterVisitor implements Converter { diff --git a/src/test/java/pl/szczepanik/silencio/mocks/PropertyVisitorHolder.java b/src/test/java/pl/szczepanik/silencio/mocks/PropertyVisitorHolder.java index cb16693..afd4dee 100644 --- a/src/test/java/pl/szczepanik/silencio/mocks/PropertyVisitorHolder.java +++ b/src/test/java/pl/szczepanik/silencio/mocks/PropertyVisitorHolder.java @@ -6,7 +6,7 @@ /** * Counts how many {{@link #} {@link #process(Properties)} method has been invoked. - * + * * @author Damian Szczepanik (damianszczepanik@github) */ public class PropertyVisitorHolder extends PropertiesVisitor { diff --git a/src/test/java/pl/szczepanik/silencio/mocks/WriterCrashOnWrite.java b/src/test/java/pl/szczepanik/silencio/mocks/WriterCrashOnWrite.java index 40917ee..8f58e14 100644 --- a/src/test/java/pl/szczepanik/silencio/mocks/WriterCrashOnWrite.java +++ b/src/test/java/pl/szczepanik/silencio/mocks/WriterCrashOnWrite.java @@ -5,7 +5,7 @@ /** * Writer that throws exception when {@link #write(char[], int, int)}} method is invoked. - * + * * @author Damian Szczepanik (damianszczepanik@github) */ public class WriterCrashOnWrite extends Writer { diff --git a/src/test/java/pl/szczepanik/silencio/processors/JSONParser_isBasicTypeTest.java b/src/test/java/pl/szczepanik/silencio/processors/JSONParser_isBasicTypeTest.java index 52728eb..09226ae 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/JSONParser_isBasicTypeTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/JSONParser_isBasicTypeTest.java @@ -17,7 +17,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class JSONParser_isBasicTypeTest extends GenericTest { +class JSONParser_isBasicTypeTest extends GenericTest { public Object type; diff --git a/src/test/java/pl/szczepanik/silencio/processors/JSONProcessorTest.java b/src/test/java/pl/szczepanik/silencio/processors/JSONProcessorTest.java index e7822fc..5d99b5b 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/JSONProcessorTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/JSONProcessorTest.java @@ -20,7 +20,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class JSONProcessorTest extends GenericTest { +class JSONProcessorTest extends GenericTest { @Test void shouldReturnPassedFormat() { diff --git a/src/test/java/pl/szczepanik/silencio/processors/PropertiesProcessorTest.java b/src/test/java/pl/szczepanik/silencio/processors/PropertiesProcessorTest.java index a9f51f9..3ad6ccf 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/PropertiesProcessorTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/PropertiesProcessorTest.java @@ -22,7 +22,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class PropertiesProcessorTest extends GenericTest { +class PropertiesProcessorTest extends GenericTest { @Test void shouldReturnPassedFormat() { diff --git a/src/test/java/pl/szczepanik/silencio/processors/XMLProcessorTest.java b/src/test/java/pl/szczepanik/silencio/processors/XMLProcessorTest.java index ec321a4..40748d6 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/XMLProcessorTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/XMLProcessorTest.java @@ -20,7 +20,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class XMLProcessorTest extends GenericTest { +class XMLProcessorTest extends GenericTest { @Test void shouldReturnPassedFormat() { diff --git a/src/test/java/pl/szczepanik/silencio/processors/YAMLProcessorTest.java b/src/test/java/pl/szczepanik/silencio/processors/YAMLProcessorTest.java index 909e483..989aee3 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/YAMLProcessorTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/YAMLProcessorTest.java @@ -19,7 +19,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class YAMLProcessorTest extends GenericTest { +class YAMLProcessorTest extends GenericTest { @Test void shouldReturnPassedFormat() { diff --git a/src/test/java/pl/szczepanik/silencio/processors/visitors/AbstractVisitorTest.java b/src/test/java/pl/szczepanik/silencio/processors/visitors/AbstractVisitorTest.java index 158e21d..66b712c 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/visitors/AbstractVisitorTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/visitors/AbstractVisitorTest.java @@ -11,7 +11,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class AbstractVisitorTest extends GenericTest { +class AbstractVisitorTest extends GenericTest { @Test void shouldFailWhenPassingValueToProcessValue() { diff --git a/src/test/java/pl/szczepanik/silencio/processors/visitors/AbstractVisitor_processValueTest.java b/src/test/java/pl/szczepanik/silencio/processors/visitors/AbstractVisitor_processValueTest.java index c25abb9..0c915ab 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/visitors/AbstractVisitor_processValueTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/visitors/AbstractVisitor_processValueTest.java @@ -23,7 +23,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class AbstractVisitor_processValueTest extends GenericTest { +class AbstractVisitor_processValueTest extends GenericTest { private static final Key key = new Key("myKey"); private static final Object value = "yourValue"; diff --git a/src/test/java/pl/szczepanik/silencio/processors/visitors/JSONVisitorTest.java b/src/test/java/pl/szczepanik/silencio/processors/visitors/JSONVisitorTest.java index a623d03..526b498 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/visitors/JSONVisitorTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/visitors/JSONVisitorTest.java @@ -21,7 +21,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class JSONVisitorTest extends GenericTest { +class JSONVisitorTest extends GenericTest { @Test void shouldReportExceptionOnUnsupportedModel() throws Exception { diff --git a/src/test/java/pl/szczepanik/silencio/processors/visitors/PropertiesVisitorTest.java b/src/test/java/pl/szczepanik/silencio/processors/visitors/PropertiesVisitorTest.java index 5759046..d76dbe4 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/visitors/PropertiesVisitorTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/visitors/PropertiesVisitorTest.java @@ -16,7 +16,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class PropertiesVisitorTest extends GenericTest { +class PropertiesVisitorTest extends GenericTest { @Test void shouldVisitAllJsonNodes() throws IOException { diff --git a/src/test/java/pl/szczepanik/silencio/processors/visitors/XMLVisitorTest.java b/src/test/java/pl/szczepanik/silencio/processors/visitors/XMLVisitorTest.java index 429e14e..ed89fff 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/visitors/XMLVisitorTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/visitors/XMLVisitorTest.java @@ -27,7 +27,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class XMLVisitorTest extends GenericTest { +class XMLVisitorTest extends GenericTest { @Test void shouldReportExceptionOnUnsupportedModel() throws Exception { diff --git a/src/test/java/pl/szczepanik/silencio/processors/visitors/YAMLVisitorTest.java b/src/test/java/pl/szczepanik/silencio/processors/visitors/YAMLVisitorTest.java index 545ea9a..4e750d3 100644 --- a/src/test/java/pl/szczepanik/silencio/processors/visitors/YAMLVisitorTest.java +++ b/src/test/java/pl/szczepanik/silencio/processors/visitors/YAMLVisitorTest.java @@ -22,7 +22,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class YAMLVisitorTest extends GenericTest { +class YAMLVisitorTest extends GenericTest { @Test void shouldReportExceptionOnUnsupportedModel() throws Exception { diff --git a/src/test/java/pl/szczepanik/silencio/stubs/StubConverter.java b/src/test/java/pl/szczepanik/silencio/stubs/StubConverter.java index 3f12fa5..79ee010 100644 --- a/src/test/java/pl/szczepanik/silencio/stubs/StubConverter.java +++ b/src/test/java/pl/szczepanik/silencio/stubs/StubConverter.java @@ -6,7 +6,7 @@ /** * Stub converter that has only stub methods. - * + * * @author Damian Szczepanik (damianszczepanik@github) */ public class StubConverter implements Converter { diff --git a/src/test/java/pl/szczepanik/silencio/stubs/StubFormat.java b/src/test/java/pl/szczepanik/silencio/stubs/StubFormat.java index 222fd47..47686a2 100644 --- a/src/test/java/pl/szczepanik/silencio/stubs/StubFormat.java +++ b/src/test/java/pl/szczepanik/silencio/stubs/StubFormat.java @@ -4,7 +4,7 @@ /** * Stub format that has only stub methods. - * + * * @author Damian Szczepanik (damianszczepanik@github) */ public class StubFormat extends Format { diff --git a/src/test/java/pl/szczepanik/silencio/stubs/StubObjectMapper.java b/src/test/java/pl/szczepanik/silencio/stubs/StubObjectMapper.java index 9ce2303..8e1ac84 100644 --- a/src/test/java/pl/szczepanik/silencio/stubs/StubObjectMapper.java +++ b/src/test/java/pl/szczepanik/silencio/stubs/StubObjectMapper.java @@ -10,10 +10,10 @@ /** * Stub of @link {@link ObjectMapper} that has only stub methods. - * + * * @author Damian Szczepanik (damianszczepanik@github) */ -public class StubObjectMapper extends ObjectMapper { +class StubObjectMapper extends ObjectMapper { private Iterator jsons; @@ -29,7 +29,7 @@ public StubObjectMapper(String... jsons) { } } - public T readValue(String content, Class valueType)throws JsonProcessingException, JsonMappingException { + public T readValue(String content, Class valueType) throws JsonProcessingException, JsonMappingException { if (exception != null) { throw exception; } else if (jsons == null) { diff --git a/src/test/java/pl/szczepanik/silencio/stubs/StubProcessor.java b/src/test/java/pl/szczepanik/silencio/stubs/StubProcessor.java index ab78d82..d0e68dc 100644 --- a/src/test/java/pl/szczepanik/silencio/stubs/StubProcessor.java +++ b/src/test/java/pl/szczepanik/silencio/stubs/StubProcessor.java @@ -12,7 +12,7 @@ /** * Stub of @link {@link AbstractProcessor} that has only stub methods. - * + * * @author Damian Szczepanik (damianszczepanik@github) */ public class StubProcessor extends AbstractProcessor { diff --git a/src/test/java/pl/szczepanik/silencio/utils/IOUtilityTest.java b/src/test/java/pl/szczepanik/silencio/utils/IOUtilityTest.java index b5ff8f4..1ee2192 100644 --- a/src/test/java/pl/szczepanik/silencio/utils/IOUtilityTest.java +++ b/src/test/java/pl/szczepanik/silencio/utils/IOUtilityTest.java @@ -20,7 +20,7 @@ /** * @author Damian Szczepanik (damianszczepanik@github) */ -public class IOUtilityTest extends GenericTest { +class IOUtilityTest extends GenericTest { private static final String INVALID_HTML_PAGE = "This does not look like valid HTML page"; private static final String URL_ADDRESS = "http://www.fancy.page"; diff --git a/src/test/java/pl/szczepanik/silencio/utils/PropertiesUtility.java b/src/test/java/pl/szczepanik/silencio/utils/PropertiesUtility.java index a133c03..0ad315a 100644 --- a/src/test/java/pl/szczepanik/silencio/utils/PropertiesUtility.java +++ b/src/test/java/pl/szczepanik/silencio/utils/PropertiesUtility.java @@ -11,11 +11,9 @@ public class PropertiesUtility { /** * Assert two properties files according to keys and values are equal (comments are skipped). - * - * @param prop1 - * first properties to compare - * @param prop2 - * second properties to compare + * + * @param prop1 first properties to compare + * @param prop2 second properties to compare */ public static void assertEqual(Properties prop1, Properties prop2) { boolean keysEqual = prop1.keySet().equals(prop2.keySet());