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.
|
@Test public void testEnabled() throws Exception
Exception
- the exception@Test public void testRemoveSpacesInsideTags() throws Exception
Exception
- the exception@Test public void testRemoveComments() throws Exception
Exception
- the exception@Test public void testRemoveQuotes() throws Exception
Exception
- the exception@Test public void testRemoveMultiSpaces() throws Exception
Exception
- the exception@Test public void testRemoveIntertagSpaces() throws Exception
Exception
- the exception@Test public void testPreservePatterns() throws Exception
Exception
- the exception@Test public void testCompressJavaScriptYui() throws Exception
Exception
- the exception@Test public void testCompressJavaScriptClosure() throws Exception
Exception
- the exception@Test public void testCompressCss() throws Exception
Exception
- the exception@Test public void testCompress() throws Exception
Exception
- the exception@Test public void testSimpleDoctype() throws Exception
Exception
- the exception@Test public void testRemoveScriptAttributes() throws Exception
Exception
- the exception@Test public void testRemoveStyleAttributes() throws Exception
Exception
- the exception@Test public void testRemoveLinkAttributes() throws Exception
Exception
- the exception@Test public void testRemoveFormAttributes() throws Exception
Exception
- the exception@Test public void testRemoveInputAttributes() throws Exception
Exception
- the exception@Test public void testRemoveJavaScriptProtocol() throws Exception
Exception
- the exception@Test public void testRemoveHttpProtocol() throws Exception
Exception
- the exception@Test public void testRemoveHttpsProtocol() throws Exception
Exception
- the exception@Test public void testPreserveLineBreaks() throws Exception
Exception
- the exceptionCopyright © 2009–2020 Jeremy Landis. All rights reserved.