|
|||||||||||
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.ImageTagTest
Field Summary |
Fields inherited from class org.htmlparser.tests.ParserTestCase |
mLexer, node, nodeCount, parser |
Constructor Summary | |
ImageTagTest(java.lang.String name)
|
Method Summary | |
ImageTag |
extractLinkImage(LinkTag link)
See bug #753003 |
void |
testDirectRelativeLinks()
|
void |
testDynamicRelativeImageScan()
|
void |
testEmptyStringElement()
Test empty attribute. |
void |
testExtractImageLocnInvertedCommasBug()
This is the reproduction of a bug which causes a null pointer exception |
void |
testImageTag()
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 |
testImageTagBug()
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 |
testImageTageBug2()
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 |
testImageTagOnMultipleLines()
This is the reproduction of a bug reported by Annette Doyle |
void |
testImageTagsFromYahoo()
Test case to reproduce bug reported by Annette |
void |
testImageTagsFromYahooWithAllScannersRegistered()
Test case to reproduce bug reported by Annette |
void |
testImageTagSingleQuoteBug()
This bug occurs when there is a null pointer exception thrown while scanning a tag using LinkScanner. |
void |
testImageWithNewLineChars()
|
void |
testImageWithSpaces()
Test image url which contains spaces in it. |
void |
testMapFollowImg()
See bug #753003 |
void |
testMissingEqualTo()
Based on a page submitted by Claude Duguay, the image tag has IMG SRC"somefile.jpg" - a missing equal to sign |
void |
testNullImageBug()
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 |
testPlaceHolderImageScan()
This test has been improved to check for params in the image tag, based on requirement by Annette Doyle. |
void |
testRelativeImageScan()
|
void |
testRelativeImageScan2()
|
void |
testRelativeImageScan3()
|
void |
testToHTML()
|
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 ImageTagTest(java.lang.String name)
Method Detail |
public void testImageTag() throws ParserException
ParserException
public void testImageTagBug() throws ParserException
ParserException
public void testImageTageBug2() throws ParserException
ParserException
public void testImageTagSingleQuoteBug() throws ParserException
ParserException
public void testNullImageBug() throws ParserException
ParserException
public void testToHTML() throws ParserException
ParserException
public ImageTag extractLinkImage(LinkTag link)
public void testMapFollowImg() throws ParserException
ParserException
public void testEmptyStringElement() throws ParserException
ParserException
public void testDynamicRelativeImageScan() throws ParserException
ParserException
public void testExtractImageLocnInvertedCommasBug() throws ParserException
ParserException
public void testPlaceHolderImageScan() throws ParserException
ParserException
public void testRelativeImageScan() throws ParserException
ParserException
public void testRelativeImageScan2() throws ParserException
ParserException
public void testRelativeImageScan3() throws ParserException
ParserException
public void testImageWithSpaces() throws ParserException
ParserException
public void testImageWithNewLineChars() throws ParserException
ParserException
public void testImageTagsFromYahoo() throws ParserException
ParserException
public void testImageTagsFromYahooWithAllScannersRegistered() throws ParserException
ParserException
public void testImageTagOnMultipleLines() throws ParserException
ParserException
public void testDirectRelativeLinks() throws ParserException
ParserException
public void testMissingEqualTo() throws ParserException
ParserException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |