Class XmlCompressorTest

java.lang.Object
com.tunyk.mvn.plugins.htmlcompressor.XmlCompressorTest

class XmlCompressorTest extends Object
The Class XmlCompressorTest.
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
      The Constant LOG.
  • Constructor Details

    • XmlCompressorTest

      XmlCompressorTest()
  • 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

      @Test void testCompress() throws Exception
      Test compress with default settings produces output files.
      Throws:
      Exception - the exception
    • testCompressReducesFileSize

      @Test void testCompressReducesFileSize(@TempDir Path tempDir) throws Exception
      Test compress reduces file size compared to input.
      Parameters:
      tempDir - the temp dir provided by JUnit
      Throws:
      Exception - the exception
    • testCompressWithCustomFileExtensions

      @Test void testCompressWithCustomFileExtensions(@TempDir Path tempDir) throws Exception
      Test compress with custom file extensions processes only specified types.
      Parameters:
      tempDir - the temp dir provided by JUnit
      Throws:
      Exception - the exception
    • testXmlCompressorGettersSetters

      @Test void testXmlCompressorGettersSetters()
      Test XmlCompressor getters and setters.
    • testCompressRemovesComments

      @Test void testCompressRemovesComments(@TempDir Path tempDir) throws Exception
      Test compress with comments removed produces smaller output.
      Parameters:
      tempDir - the temp dir provided by JUnit
      Throws:
      Exception - the exception