Class HtmlCompressorTest
java.lang.Object
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorTest
The Class HtmlCompressorTest.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidsetUp()Sets the up.(package private) static voidSets the up class.(package private) static voidTear down class.(package private) voidTest compress with default settings produces output files.(package private) voidtestCompressReducesFileSize(Path tempDir) Test compress reduces file size compared to input.(package private) voidtestCompressWithCustomFileExtensions(Path tempDir) Test compress with custom file extensions processes only specified types.(package private) voidtestCompressWithJsonFileCreation(Path tempDir) Test compress with JSON file creation produces correct integration file.(package private) voidTest HtmlCompressor getters and setters.(package private) voidTest second constructor initializes all JSON-related fields.
-
Field Details
-
LOG
private static final org.slf4j.Logger LOGThe Constant LOG.
-
-
Constructor Details
-
HtmlCompressorTest
HtmlCompressorTest()
-
-
Method Details
-
setUpClass
@BeforeAll static void setUpClass()Sets the up class. -
tearDownClass
@AfterAll static void tearDownClass()Tear down class. -
setUp
@BeforeEach void setUp()Sets the up. -
testCompress
-
testCompressReducesFileSize
-
testCompressWithCustomFileExtensions
-
testCompressWithJsonFileCreation
-
testHtmlCompressorGettersSetters
@Test void testHtmlCompressorGettersSetters()Test HtmlCompressor getters and setters. -
testSecondConstructorInitializesJsonFields
@Test void testSecondConstructorInitializesJsonFields()Test second constructor initializes all JSON-related fields.
-