|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.htmlparser.tests.ParserTestCase
org.htmlparser.tests.tagTests.LinkTagTest
Field Summary |
Fields inherited from class org.htmlparser.tests.ParserTestCase |
mLexer, node, nodeCount, parser |
Constructor Summary | |
LinkTagTest(java.lang.String name)
|
Method Summary | |
void |
_testLinkWithJSP()
Bug report by Cory Seefurth |
void |
testAccessKey()
|
void |
testBadImageInLinkBug()
|
void |
testBaseRefLink()
|
void |
testBrokenLink()
Test suggested by Cedric Rosa A really bad link tag sends parser into infinite loop |
void |
testCharacterReferenceInLink()
See bug #982175 False Positives on ® entity |
void |
testErroneousLinkBug()
|
void |
testErroneousLinkBugFromYahoo()
Test case based on a report by Raghavender Srimantula, of the parser giving out of memory exceptions. |
void |
testErroneousLinkBugFromYahoo2()
Test case based on a report by Raghavender Srimantula, of the parser giving out of memory exceptions. |
void |
testExtractLinkInvertedCommasBug2()
This is the reproduction of a bug which produces multiple text copies. |
void |
testFreshMeatBug()
A bug in the freshmeat page - really bad html tag - <A>Revision<\a> Reported by Mazlan Mat Note: Actually, this is completely legal HTML - Derrick |
void |
testFTPLink()
|
void |
testIrcIsNotAHTTPLink()
Bug #784767 irc://server/channel urls are HTTPLike? |
void |
testJavascriptLink()
|
void |
testLinkContainsEqualTo()
This is an attempt to reproduce bug 677874 reported by James Moliere. |
void |
testLinkDataContents()
|
void |
testLinkNodeBug()
The bug being reproduced is this : <BODY aLink=#ff0000 bgColor=#ffffff link=#0000cc onload=setfocus() text=#000000 vLink=#551a8b> The above line is incorrectly parsed in that, the BODY tag is not identified. |
void |
testLinkNodeBug2()
The bug being reproduced is this : <BODY aLink=#ff0000 bgColor=#ffffff link=#0000cc onload=setfocus() text=#000000 vLink=#551a8b> The above line is incorrectly parsed in that, the BODY tag is not identified. |
void |
testLinkNodeBug3()
The bug being reproduced is this : When a url ends with a slash, and the link begins with a slash,the parser puts two slashes This bug was submitted by Roget Kjensrud Creation date: (6/17/2001 4:01:06 PM) |
void |
testLinkNodeBug4()
The bug being reproduced is this : Simple url without index.html, doesent get appended to link This bug was submitted by Roget Kjensrud Creation date: (6/17/2001 4:01:06 PM) |
void |
testLinkNodeBug5()
|
void |
testLinkNodeBugNullPointerException()
This bug occurs when there is a null pointer exception thrown while scanning a tag using LinkScanner. |
void |
testLinkNodeMailtoBug()
This bug occurs when there is a null pointer exception thrown while scanning a tag using LinkScanner. |
void |
testLinkNodeSingleQuoteBug()
This bug occurs when there is a null pointer exception thrown while scanning a tag using LinkScanner. |
void |
testLinkSpacesBug()
Bug pointed out by Sam Joseph (sam@neurogrid.net) Links with spaces in them will get their spaces absorbed |
void |
testLinkTag()
The bug being reproduced is this : <BODY aLink=#ff0000 bgColor=#ffffff link=#0000cc onload=setfocus() text=#000000 vLink=#551a8b> The above line is incorrectly parsed in that, the BODY tag is not identified. |
void |
testLinkTagBug()
The bug being reproduced is this : <BODY aLink=#ff0000 bgColor=#ffffff link=#0000cc onload=setfocus() text=#000000 vLink=#551a8b> The above line is incorrectly parsed in that, the BODY tag is not identified. |
void |
testMailToIsNotAHTTPLink()
Test mail link. |
void |
testMailtoLink()
|
void |
testMultipleLineBug()
Bug reported by Raj Sharma,5-Apr-2002, upon parsing http://www.samachar.com, the entire page could not be picked up. |
void |
testNotFTPLink()
|
void |
testNotJavascriptLink()
|
void |
testNotMailtoLink()
|
void |
testNullTagBug()
The bug being reproduced is this : <A HREF=>Something<A> vLink=#551a8b> The above line is incorrectly parsed in that, the BODY tag is not identified. |
void |
testPlainText()
See bug #813838 links not parsed correctly |
void |
testQueryLink()
This is a reproduction of bug 617228, reported by Stephen J. |
void |
testRelativeLinkNotHTMLBug()
|
void |
testRelativeLinkScan()
|
void |
testRelativeLinkScan2()
|
void |
testRelativeLinkScan3()
|
void |
testRelativeTypeHttpLink()
|
void |
testScan()
Test scan with data which is of diff nodes type |
void |
testTagSymbolsInLinkText()
|
void |
testToHTML()
|
void |
testToPlainTextString()
|
void |
testTypeFtp()
|
void |
testTypeHttpLikeLink()
|
void |
testTypeHttpLink()
|
void |
testTypeHttps()
|
void |
testTypeJavaScript()
|
void |
testTypeNonHttp()
|
Methods inherited from class org.htmlparser.tests.ParserTestCase |
assertHiddenIDTagPresent, assertNodeCount, assertNodeCount, assertSameType, assertStringEquals, assertSuperType, assertTagEquals, assertType, assertXmlEquals, createParser, createParser, createParser, createParser, failWithMessage, getParser, main, parse, parseAndAssertNodeCount, parseNodes, removeEscapeCharacters, setParser |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LinkTagTest(java.lang.String name)
Method Detail |
public void testLinkNodeBug() throws ParserException
ParserException
public void testLinkNodeBug2() throws ParserException
ParserException
public void testLinkNodeBug3() throws ParserException
ParserException
public void testLinkNodeBug4() throws ParserException
ParserException
public void testLinkNodeBug5() throws ParserException
ParserException
public void testLinkNodeBugNullPointerException() throws ParserException
ParserException
public void testLinkNodeMailtoBug() throws ParserException
ParserException
public void testLinkNodeSingleQuoteBug() throws ParserException
ParserException
public void testLinkTag() throws ParserException
ParserException
public void testLinkTagBug() throws ParserException
ParserException
public void testNullTagBug() throws ParserException
ParserException
public void testToPlainTextString() throws ParserException
ParserException
public void testToHTML() throws ParserException
ParserException
public void testTypeHttps() throws ParserException
ParserException
public void testTypeFtp() throws ParserException
ParserException
public void testTypeJavaScript() throws ParserException
ParserException
public void testTypeHttpLink() throws ParserException
ParserException
public void testRelativeTypeHttpLink() throws ParserException
ParserException
public void testTypeNonHttp() throws ParserException
ParserException
public void testTypeHttpLikeLink() throws ParserException
ParserException
public void testMailToIsNotAHTTPLink() throws ParserException
ParserException
public void testIrcIsNotAHTTPLink() throws ParserException
ParserException
public void testAccessKey() throws ParserException
ParserException
public void testErroneousLinkBug() throws ParserException
ParserException
public void testErroneousLinkBugFromYahoo2() throws ParserException
ParserException
public void testErroneousLinkBugFromYahoo() throws ParserException
This is test
ParserException
public void testExtractLinkInvertedCommasBug2() throws ParserException
ParserException
public void testLinkSpacesBug() throws ParserException
ParserException
public void testMultipleLineBug() throws ParserException
ParserException
public void testRelativeLinkScan() throws ParserException
ParserException
public void testRelativeLinkScan2() throws ParserException
ParserException
public void testRelativeLinkScan3() throws ParserException
ParserException
public void testScan() throws ParserException
ParserException
public void testFreshMeatBug() throws ParserException
ParserException
public void testBrokenLink() throws ParserException
ParserException
public void testLinkDataContents() throws ParserException
ParserException
public void testBaseRefLink() throws ParserException
ParserException
public void testQueryLink() throws ParserException
ParserException
public void testNotMailtoLink() throws ParserException
ParserException
public void testMailtoLink() throws ParserException
ParserException
public void testJavascriptLink() throws ParserException
ParserException
public void testNotJavascriptLink() throws ParserException
ParserException
public void testFTPLink() throws ParserException
ParserException
public void testNotFTPLink() throws ParserException
ParserException
public void testRelativeLinkNotHTMLBug() throws ParserException
ParserException
public void testBadImageInLinkBug() throws ParserException
ParserException
public void testLinkContainsEqualTo() throws java.lang.Exception
Shoe bomber handed life sentence
is not parsed correctly. The second '=' sign in the link causes
the parser to treat it as a seperate attribute
java.lang.Exception
public void _testLinkWithJSP() throws java.lang.Exception
java.lang.Exception
public void testTagSymbolsInLinkText() throws java.lang.Exception
java.lang.Exception
public void testPlainText() throws java.lang.Exception
java.lang.Exception
public void testCharacterReferenceInLink() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |