Class HtmlCompressorTest
java.lang.Object
com.googlecode.htmlcompressor.compressor.HtmlCompressorTest
The Class HtmlCompressorTest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Test compress.void
Test compress css.void
Test compress java script closure.void
Test compress java script yui.void
Test enabled.void
Test preserve line breaks.void
Test preserve patterns.void
Test remove comments.void
Test remove form attributes.void
Test remove http protocol.void
Test remove https protocol.void
Test remove input attributes.void
Test remove intertag spaces.void
Test remove java script protocol.void
Test remove link attributes.void
Test remove multi spaces.void
Test remove quotes.void
Test remove script attributes.void
Test remove spaces inside tags.void
Test remove style attributes.void
Test simple doctype.void
Test surrounding spaces.
-
Constructor Details
-
HtmlCompressorTest
public HtmlCompressorTest()
-
-
Method Details
-
testEnabled
Test enabled.- Throws:
Exception
- the exception
-
testRemoveSpacesInsideTags
Test remove spaces inside tags.- Throws:
Exception
- the exception
-
testRemoveComments
Test remove comments.- Throws:
Exception
- the exception
-
testRemoveQuotes
Test remove quotes.- Throws:
Exception
- the exception
-
testRemoveMultiSpaces
Test remove multi spaces.- Throws:
Exception
- the exception
-
testRemoveIntertagSpaces
Test remove intertag spaces.- Throws:
Exception
- the exception
-
testPreservePatterns
Test preserve patterns.- Throws:
Exception
- the exception
-
testCompressJavaScriptYui
Test compress java script yui.- Throws:
Exception
- the exception
-
testCompressJavaScriptClosure
Test compress java script closure.- Throws:
Exception
- the exception
-
testCompressCss
Test compress css.- Throws:
Exception
- the exception
-
testCompress
Test compress.- Throws:
Exception
- the exception
-
testSimpleDoctype
Test simple doctype.- Throws:
Exception
- the exception
-
testRemoveScriptAttributes
Test remove script attributes.- Throws:
Exception
- the exception
-
testRemoveStyleAttributes
Test remove style attributes.- Throws:
Exception
- the exception
-
testRemoveLinkAttributes
Test remove link attributes.- Throws:
Exception
- the exception
-
testRemoveFormAttributes
Test remove form attributes.- Throws:
Exception
- the exception
-
testRemoveInputAttributes
Test remove input attributes.- Throws:
Exception
- the exception
-
testRemoveJavaScriptProtocol
Test remove java script protocol.- Throws:
Exception
- the exception
-
testRemoveHttpProtocol
Test remove http protocol.- Throws:
Exception
- the exception
-
testRemoveHttpsProtocol
Test remove https protocol.- Throws:
Exception
- the exception
-
testPreserveLineBreaks
Test preserve line breaks.- Throws:
Exception
- the exception
-
testSurroundingSpaces
Test surrounding spaces.- Throws:
Exception
- the exception
-