Class HtmlCompressorTest
- java.lang.Object
-
- com.googlecode.htmlcompressor.compressor.HtmlCompressorTest
-
public class HtmlCompressorTest extends Object
The Class HtmlCompressorTest.
-
-
Constructor Summary
Constructors Constructor Description HtmlCompressorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestCompress()Test compress.voidtestCompressCss()Test compress css.voidtestCompressJavaScriptClosure()Test compress java script closure.voidtestCompressJavaScriptYui()Test compress java script yui.voidtestEnabled()Test enabled.voidtestPreserveLineBreaks()Test preserve line breaks.voidtestPreservePatterns()Test preserve patterns.voidtestRemoveComments()Test remove comments.voidtestRemoveFormAttributes()Test remove form attributes.voidtestRemoveHttpProtocol()Test remove http protocol.voidtestRemoveHttpsProtocol()Test remove https protocol.voidtestRemoveInputAttributes()Test remove input attributes.voidtestRemoveIntertagSpaces()Test remove intertag spaces.voidtestRemoveJavaScriptProtocol()Test remove java script protocol.voidtestRemoveLinkAttributes()Test remove link attributes.voidtestRemoveMultiSpaces()Test remove multi spaces.voidtestRemoveQuotes()Test remove quotes.voidtestRemoveScriptAttributes()Test remove script attributes.voidtestRemoveSpacesInsideTags()Test remove spaces inside tags.voidtestRemoveStyleAttributes()Test remove style attributes.voidtestSimpleDoctype()Test simple doctype.voidtestSurroundingSpaces()Test surrounding spaces.
-
-
-
Method Detail
-
testEnabled
@Test public void testEnabled() throws ExceptionTest enabled.- Throws:
Exception- the exception
-
testRemoveSpacesInsideTags
@Test public void testRemoveSpacesInsideTags() throws ExceptionTest remove spaces inside tags.- Throws:
Exception- the exception
-
testRemoveComments
@Test public void testRemoveComments() throws ExceptionTest remove comments.- Throws:
Exception- the exception
-
testRemoveQuotes
@Test public void testRemoveQuotes() throws ExceptionTest remove quotes.- Throws:
Exception- the exception
-
testRemoveMultiSpaces
@Test public void testRemoveMultiSpaces() throws ExceptionTest remove multi spaces.- Throws:
Exception- the exception
-
testRemoveIntertagSpaces
@Test public void testRemoveIntertagSpaces() throws ExceptionTest remove intertag spaces.- Throws:
Exception- the exception
-
testPreservePatterns
@Test public void testPreservePatterns() throws ExceptionTest preserve patterns.- Throws:
Exception- the exception
-
testCompressJavaScriptYui
@Test public void testCompressJavaScriptYui() throws ExceptionTest compress java script yui.- Throws:
Exception- the exception
-
testCompressJavaScriptClosure
@Test public void testCompressJavaScriptClosure() throws ExceptionTest compress java script closure.- Throws:
Exception- the exception
-
testCompressCss
@Test public void testCompressCss() throws ExceptionTest compress css.- Throws:
Exception- the exception
-
testCompress
@Test public void testCompress() throws ExceptionTest compress.- Throws:
Exception- the exception
-
testSimpleDoctype
@Test public void testSimpleDoctype() throws ExceptionTest simple doctype.- Throws:
Exception- the exception
-
testRemoveScriptAttributes
@Test public void testRemoveScriptAttributes() throws ExceptionTest remove script attributes.- Throws:
Exception- the exception
-
testRemoveStyleAttributes
@Test public void testRemoveStyleAttributes() throws ExceptionTest remove style attributes.- Throws:
Exception- the exception
-
testRemoveLinkAttributes
@Test public void testRemoveLinkAttributes() throws ExceptionTest remove link attributes.- Throws:
Exception- the exception
-
testRemoveFormAttributes
@Test public void testRemoveFormAttributes() throws ExceptionTest remove form attributes.- Throws:
Exception- the exception
-
testRemoveInputAttributes
@Test public void testRemoveInputAttributes() throws ExceptionTest remove input attributes.- Throws:
Exception- the exception
-
testRemoveJavaScriptProtocol
@Test public void testRemoveJavaScriptProtocol() throws ExceptionTest remove java script protocol.- Throws:
Exception- the exception
-
testRemoveHttpProtocol
@Test public void testRemoveHttpProtocol() throws ExceptionTest remove http protocol.- Throws:
Exception- the exception
-
testRemoveHttpsProtocol
@Test public void testRemoveHttpsProtocol() throws ExceptionTest remove https protocol.- Throws:
Exception- the exception
-
testPreserveLineBreaks
@Test public void testPreserveLineBreaks() throws ExceptionTest preserve line breaks.- Throws:
Exception- the exception
-
-