Class HtmlCompressorTest

java.lang.Object
com.googlecode.htmlcompressor.compressor.HtmlCompressorTest

public class HtmlCompressorTest extends Object
The Class HtmlCompressorTest.
  • Constructor Details

    • HtmlCompressorTest

      public HtmlCompressorTest()
  • Method Details

    • testEnabled

      @Test public void testEnabled() throws Exception
      Test enabled.
      Throws:
      Exception - the exception
    • testRemoveSpacesInsideTags

      @Test public void testRemoveSpacesInsideTags() throws Exception
      Test remove spaces inside tags.
      Throws:
      Exception - the exception
    • testRemoveComments

      @Test public void testRemoveComments() throws Exception
      Test remove comments.
      Throws:
      Exception - the exception
    • testRemoveQuotes

      @Test public void testRemoveQuotes() throws Exception
      Test remove quotes.
      Throws:
      Exception - the exception
    • testRemoveMultiSpaces

      @Test public void testRemoveMultiSpaces() throws Exception
      Test remove multi spaces.
      Throws:
      Exception - the exception
    • testRemoveIntertagSpaces

      @Test public void testRemoveIntertagSpaces() throws Exception
      Test remove intertag spaces.
      Throws:
      Exception - the exception
    • testPreservePatterns

      @Test public void testPreservePatterns() throws Exception
      Test preserve patterns.
      Throws:
      Exception - the exception
    • testCompressJavaScriptYui

      @Test public void testCompressJavaScriptYui() throws Exception
      Test compress java script yui.
      Throws:
      Exception - the exception
    • testCompressJavaScriptClosure

      @Test public void testCompressJavaScriptClosure() throws Exception
      Test compress java script closure.
      Throws:
      Exception - the exception
    • testCompressCss

      @Test public void testCompressCss() throws Exception
      Test compress css.
      Throws:
      Exception - the exception
    • testCompress

      @Test public void testCompress() throws Exception
      Test compress.
      Throws:
      Exception - the exception
    • testSimpleDoctype

      @Test public void testSimpleDoctype() throws Exception
      Test simple doctype.
      Throws:
      Exception - the exception
    • testRemoveScriptAttributes

      @Test public void testRemoveScriptAttributes() throws Exception
      Test remove script attributes.
      Throws:
      Exception - the exception
    • testRemoveStyleAttributes

      @Test public void testRemoveStyleAttributes() throws Exception
      Test remove style attributes.
      Throws:
      Exception - the exception
    • testRemoveLinkAttributes

      @Test public void testRemoveLinkAttributes() throws Exception
      Test remove link attributes.
      Throws:
      Exception - the exception
    • testRemoveFormAttributes

      @Test public void testRemoveFormAttributes() throws Exception
      Test remove form attributes.
      Throws:
      Exception - the exception
    • testRemoveInputAttributes

      @Test public void testRemoveInputAttributes() throws Exception
      Test remove input attributes.
      Throws:
      Exception - the exception
    • testRemoveJavaScriptProtocol

      @Test public void testRemoveJavaScriptProtocol() throws Exception
      Test remove java script protocol.
      Throws:
      Exception - the exception
    • testRemoveHttpProtocol

      @Test public void testRemoveHttpProtocol() throws Exception
      Test remove http protocol.
      Throws:
      Exception - the exception
    • testRemoveHttpsProtocol

      @Test public void testRemoveHttpsProtocol() throws Exception
      Test remove https protocol.
      Throws:
      Exception - the exception
    • testPreserveLineBreaks

      @Test public void testPreserveLineBreaks() throws Exception
      Test preserve line breaks.
      Throws:
      Exception - the exception
    • testSurroundingSpaces

      @Test public void testSurroundingSpaces() throws Exception
      Test surrounding spaces.
      Throws:
      Exception - the exception