public class HtmlCompressorTest extends Object
| Constructor and Description |
|---|
HtmlCompressorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCompress()
Test compress.
|
void |
testCompressCss()
Test compress css.
|
void |
testCompressJavaScriptClosure()
Test compress java script closure.
|
void |
testCompressJavaScriptYui()
Test compress java script yui.
|
void |
testEnabled()
Test enabled.
|
void |
testPreserveLineBreaks()
Test preserve line breaks.
|
void |
testPreservePatterns()
Test preserve patterns.
|
void |
testRemoveComments()
Test remove comments.
|
void |
testRemoveFormAttributes()
Test remove form attributes.
|
void |
testRemoveHttpProtocol()
Test remove http protocol.
|
void |
testRemoveHttpsProtocol()
Test remove https protocol.
|
void |
testRemoveInputAttributes()
Test remove input attributes.
|
void |
testRemoveIntertagSpaces()
Test remove intertag spaces.
|
void |
testRemoveJavaScriptProtocol()
Test remove java script protocol.
|
void |
testRemoveLinkAttributes()
Test remove link attributes.
|
void |
testRemoveMultiSpaces()
Test remove multi spaces.
|
void |
testRemoveQuotes()
Test remove quotes.
|
void |
testRemoveScriptAttributes()
Test remove script attributes.
|
void |
testRemoveSpacesInsideTags()
Test remove spaces inside tags.
|
void |
testRemoveStyleAttributes()
Test remove style attributes.
|
void |
testSimpleDoctype()
Test simple doctype.
|
void |
testSurroundingSpaces()
Test surrounding spaces.
|
public void testEnabled()
throws Exception
Exception - the exceptionpublic void testRemoveSpacesInsideTags()
throws Exception
Exception - the exceptionpublic void testRemoveComments()
throws Exception
Exception - the exceptionpublic void testRemoveQuotes()
throws Exception
Exception - the exceptionpublic void testRemoveMultiSpaces()
throws Exception
Exception - the exceptionpublic void testRemoveIntertagSpaces()
throws Exception
Exception - the exceptionpublic void testPreservePatterns()
throws Exception
Exception - the exceptionpublic void testCompressJavaScriptYui()
throws Exception
Exception - the exceptionpublic void testCompressJavaScriptClosure()
throws Exception
Exception - the exceptionpublic void testCompressCss()
throws Exception
Exception - the exceptionpublic void testCompress()
throws Exception
Exception - the exceptionpublic void testSimpleDoctype()
throws Exception
Exception - the exceptionpublic void testRemoveScriptAttributes()
throws Exception
Exception - the exceptionpublic void testRemoveStyleAttributes()
throws Exception
Exception - the exceptionpublic void testRemoveLinkAttributes()
throws Exception
Exception - the exceptionpublic void testRemoveFormAttributes()
throws Exception
Exception - the exceptionpublic void testRemoveInputAttributes()
throws Exception
Exception - the exceptionpublic void testRemoveJavaScriptProtocol()
throws Exception
Exception - the exceptionpublic void testRemoveHttpProtocol()
throws Exception
Exception - the exceptionpublic void testRemoveHttpsProtocol()
throws Exception
Exception - the exceptionpublic void testPreserveLineBreaks()
throws Exception
Exception - the exceptionCopyright © 2009–2016 Jeremy Landis. All rights reserved.