public class HtmlFileListParserTest extends junit.framework.TestCase
Constructor and Description |
---|
HtmlFileListParserTest() |
Modifier and Type | Method and Description |
---|---|
void |
testParseCommonsLang()
Example showing jetty directory browsing of commons-lang
|
void |
testParseIbiblio() |
void |
testParseJetty()
Test of an html which is improperly formatted, and contains full host-specific paths to the resources.
|
void |
testParseJettyWithNonNormalizedBaseURI()
Test of an html which is improperly formatted, contains full host-specific paths to the resources and uses non-normalized base URI
|
void |
testParseMevenIde()
Using repository.codehaus.org output as an example.
|
void |
testParseMirror() |
void |
testParseNekoHtml()
Example of output from repo1.maven.org
This example is of nekohtml specifically.
|
void |
testParseNetSourceforge()
Example of detecting directories on repo1.maven.org
|
void |
testParseOrgCodehaus()
Another larger example of the directory link detection on repository.codehaus.org
|
void |
testParsePeopleApacheOrg()
Test the output found from apache httpd with fancy indexing and dav module.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public HtmlFileListParserTest()
public void testParseCommonsLang() throws TransferFailedException
TransferFailedException
public void testParseIbiblio() throws Exception
Exception
public void testParseJetty() throws Exception
Exception
public void testParseJettyWithNonNormalizedBaseURI() throws Exception
Exception
public void testParseMevenIde() throws TransferFailedException
TransferFailedException
public void testParseMirror() throws Exception
Exception
public void testParseNekoHtml() throws TransferFailedException
TransferFailedException
public void testParseNetSourceforge() throws TransferFailedException
TransferFailedException
public void testParseOrgCodehaus() throws TransferFailedException
TransferFailedException
public void testParsePeopleApacheOrg() throws TransferFailedException
TransferFailedException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.