Class HtmlCompressorTest
java.lang.Object
com.googlecode.htmlcompressor.compressor.HtmlCompressorTest
The Class HtmlCompressorTest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest compress.voidTest compress css.voidTest compress java script closure.voidTest compress java script yui.voidTest enabled.voidTest preserve line breaks.voidTest preserve patterns.voidTest remove comments.voidTest remove form attributes.voidTest remove http protocol.voidTest remove https protocol.voidTest remove input attributes.voidTest remove intertag spaces.voidTest remove java script protocol.voidTest remove link attributes.voidTest remove multi spaces.voidTest remove quotes.voidTest remove script attributes.voidTest remove spaces inside tags.voidTest remove style attributes.voidTest simple doctype.voidTest 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
-