Inherited by attrcreatedocumentfragment, attrcreatetextnode, attrcreatetextnode2, attrdefaultvalue, attreffectivevalue, attrentityreplacement, attrname, attrnextsiblingnull, attrnotspecifiedvalue, attrparentnodenull, attrprevioussiblingnull, attrsetvaluenomodificationallowederr, attrsetvaluenomodificationallowederrEE, attrspecifiedvalue, attrspecifiedvaluechanged, attrspecifiedvalueremove, cdatasectiongetdata, cdatasectionnormalize, characterdataappenddata, characterdataappenddatagetdata, characterdataappenddatanomodificationallowederr, characterdataappenddatanomodificationallowederrEE, characterdatadeletedatabegining, characterdatadeletedataend, characterdatadeletedataexceedslength, characterdatadeletedatagetlengthanddata, characterdatadeletedatamiddle, characterdatadeletedatanomodificationallowederr, characterdatadeletedatanomodificationallowederrEE, characterdatagetdata, characterdatagetlength, characterdataindexsizeerrdeletedatacountnegative, characterdataindexsizeerrdeletedataoffsetgreater, characterdataindexsizeerrdeletedataoffsetnegative, characterdataindexsizeerrinsertdataoffsetgreater, characterdataindexsizeerrinsertdataoffsetnegative, characterdataindexsizeerrreplacedatacountnegative, characterdataindexsizeerrreplacedataoffsetgreater, characterdataindexsizeerrreplacedataoffsetnegative, characterdataindexsizeerrsubstringcountnegative, characterdataindexsizeerrsubstringnegativeoffset, characterdataindexsizeerrsubstringoffsetgreater, characterdatainsertdatabeginning, characterdatainsertdataend, characterdatainsertdatamiddle, characterdatainsertdatanomodificationallowederr, characterdatainsertdatanomodificationallowederrEE, characterdatareplacedatabegining, characterdatareplacedataend, characterdatareplacedataexceedslengthofarg, characterdatareplacedataexceedslengthofdata, characterdatareplacedatamiddle, characterdatareplacedatanomodificationallowederr, characterdatareplacedatanomodificationallowederrEE, characterdatasetdatanomodificationallowederr, characterdatasetdatanomodificationallowederrEE, characterdatasetnodevalue, characterdatasubstringexceedsvalue, characterdatasubstringvalue, commentgetcomment, documentcreateattribute, documentcreatecdatasection, documentcreatecomment, documentcreatedocumentfragment, documentcreateelement, documentcreateelementcasesensitive, documentcreateelementdefaultattr, documentcreateentityreference, documentcreateentityreferenceknown, documentcreateprocessinginstruction, documentcreatetextnode, documentgetdoctype, documentgetdoctypenodtd, documentgetelementsbytagnamelength, documentgetelementsbytagnametotallength, documentgetelementsbytagnamevalue, documentgetimplementation, documentgetrootnode, documentinvalidcharacterexceptioncreateattribute, documentinvalidcharacterexceptioncreateelement, documentinvalidcharacterexceptioncreateentref, documentinvalidcharacterexceptioncreatepi, documenttypegetdoctype, documenttypegetentities, documenttypegetentitieslength, documenttypegetentitiestype, documenttypegetnotations, documenttypegetnotationstype, domimplementationfeaturenoversion, domimplementationfeaturenull, domimplementationfeaturexml, elementaddnewattribute, elementassociatedattribute, elementchangeattributevalue, elementcreatenewattribute, elementgetattributenode, elementgetattributenodenull, elementgetelementempty, elementgetelementsbytagname, elementgetelementsbytagnameaccessnodelist, elementgetelementsbytagnamenomatch, elementgetelementsbytagnamespecialvalue, elementgettagname, elementinuseattributeerr, elementinvalidcharacterexception, elementnormalize, elementnotfounderr, elementremoveattribute, elementremoveattributeaftercreate, elementremoveattributenode, elementremoveattributenodenomodificationallowederr, elementremoveattributenodenomodificationallowederrEE, elementremoveattributenomodificationallowederr, elementremoveattributenomodificationallowederrEE, elementremoveattributerestoredefaultvalue, elementreplaceattributewithself, elementreplaceexistingattribute, elementreplaceexistingattributegevalue, elementretrieveallattributes, elementretrieveattrvalue, elementretrievetagname, elementsetattributenodenomodificationallowederr, elementsetattributenodenomodificationallowederrEE, elementsetattributenodenull, elementsetattributenomodificationallowederr, elementsetattributenomodificationallowederrEE, elementwrongdocumenterr, entitygetentityname, entitygetpublicid, entitygetpublicidnull, namednodemapchildnoderange, namednodemapgetnameditem, namednodemapinuseattributeerr, namednodemapnotfounderr, namednodemapnumberofnodes, namednodemapremovenameditem, namednodemapremovenameditemgetvalue, namednodemapremovenameditemreturnnodevalue, namednodemapreturnattrnode, namednodemapreturnfirstitem, namednodemapreturnlastitem, namednodemapreturnnull, namednodemapsetnameditem, namednodemapsetnameditemreturnvalue, namednodemapsetnameditemthatexists, namednodemapsetnameditemwithnewvalue, namednodemapwrongdocumenterr, nodeappendchild, nodeappendchildchildexists, nodeappendchilddocfragment, nodeappendchildgetnodename, nodeappendchildinvalidnodetype, nodeappendchildnewchilddiffdocument, nodeappendchildnodeancestor, nodeappendchildnomodificationallowederr, nodeappendchildnomodificationallowederrEE, nodeattributenodeattribute, nodeattributenodename, nodeattributenodetype, nodeattributenodevalue, nodecdatasectionnodeattribute, nodecdatasectionnodename, nodecdatasectionnodetype, nodecdatasectionnodevalue, nodechildnodes, nodechildnodesappendchild, nodechildnodesempty, nodecloneattributescopied, nodeclonefalsenocopytext, nodeclonegetparentnull, nodeclonenodefalse, nodeclonenodetrue, nodeclonetruecopytext, nodecommentnodeattributes, nodecommentnodename, nodecommentnodetype, nodecommentnodevalue, nodedocumentfragmentnodename, nodedocumentfragmentnodetype, nodedocumentfragmentnodevalue, nodedocumentnodeattribute, nodedocumentnodename, nodedocumentnodetype, nodedocumentnodevalue, nodedocumenttypenodename, nodedocumenttypenodetype, nodedocumenttypenodevalue, nodeelementnodeattributes, nodeelementnodename, nodeelementnodetype, nodeelementnodevalue, nodeentitynodeattributes, nodeentitynodename, nodeentitynodetype, nodeentitynodevalue, nodeentityreferencenodeattributes, nodeentityreferencenodename, nodeentityreferencenodetype, nodeentityreferencenodevalue, nodeentitysetnodevalue, nodegetfirstchild, nodegetfirstchildnull, nodegetlastchild, nodegetlastchildnull, nodegetnextsibling, nodegetnextsiblingnull, nodegetownerdocument, nodegetownerdocumentnull, nodegetprevioussibling, nodegetprevioussiblingnull, nodehaschildnodes, nodehaschildnodesfalse, nodeinsertbefore, nodeinsertbeforedocfragment, nodeinsertbeforeinvalidnodetype, nodeinsertbeforenewchilddiffdocument, nodeinsertbeforenewchildexists, nodeinsertbeforenodeancestor, nodeinsertbeforenodename, nodeinsertbeforenomodificationallowederr, nodeinsertbeforenomodificationallowederrEE, nodeinsertbeforerefchildnonexistent, nodeinsertbeforerefchildnull, nodelistindexequalzero, nodelistindexgetlength, nodelistindexgetlengthofemptylist, nodelistindexnotzero, nodelistreturnfirstitem, nodelistreturnlastitem, nodelisttraverselist, nodenotationnodeattributes, nodenotationnodename, nodenotationnodetype, nodenotationnodevalue, nodeparentnode, nodeparentnodenull, nodeprocessinginstructionnodeattributes, nodeprocessinginstructionnodename, nodeprocessinginstructionnodetype, nodeprocessinginstructionnodevalue, nodeprocessinginstructionsetnodevalue, noderemovechild, noderemovechildgetnodename, noderemovechildnode, noderemovechildnomodificationallowederr, noderemovechildnomodificationallowederrEE, noderemovechildoldchildnonexistent, nodereplacechild, nodereplacechildinvalidnodetype, nodereplacechildnewchilddiffdocument, nodereplacechildnewchildexists, nodereplacechildnodeancestor, nodereplacechildnodename, nodereplacechildnomodificationallowederr, nodereplacechildnomodificationallowederrEE, nodereplacechildoldchildnonexistent, nodesetnodevaluenomodificationallowederr, nodesetnodevaluenomodificationallowederrEE, nodetextnodeattribute, nodetextnodename, nodetextnodetype, nodetextnodevalue, nodevalue01, nodevalue02, nodevalue03, nodevalue04, nodevalue05, nodevalue06, nodevalue07, nodevalue08, nodevalue09, notationgetnotationname, notationgetpublicid, notationgetpublicidnull, notationgetsystemid, notationgetsystemidnull, processinginstructiongetdata, processinginstructiongettarget, processinginstructionsetdatanomodificationallowederr, processinginstructionsetdatanomodificationallowederrEE, textindexsizeerrnegativeoffset, textindexsizeerroffsetoutofbounds, textparseintolistofelements, textsplittextfour, textsplittextnomodificationallowederr, textsplittextnomodificationallowederrEE, textsplittextone, textsplittextthree, textsplittexttwo, and textwithnomarkup.
Public Methods | |
| DOMTestCase () | |
| DOMTestCase (DOMTestDocumentBuilderFactory factory) | |
| abstract void | runTest () throws Throwable |
| void | setFramework (DOMTestFramework framework) |
| void | wait (int millisecond) |
| void | assertTrue (String assertID, boolean actual) |
| void | assertFalse (String assertID, boolean actual) |
| void | assertNull (String assertID, Object actual) |
| void | assertNotNull (String assertID, Object actual) |
| void | assertSame (String assertID, Object expected, Object actual) |
| void | assertInstanceOf (String assertID, Class cls, Object obj) |
| void | assertSize (String assertID, int expectedSize, NodeList collection) |
| void | assertSize (String assertID, int expectedSize, NamedNodeMap collection) |
| void | assertSize (String assertID, int expectedSize, Collection collection) |
| void | assertEqualsIgnoreCase (String assertID, String expected, String actual) |
| void | assertEqualsIgnoreCase (String assertID, Collection expected, Collection actual) |
| void | assertEqualsIgnoreCase (String assertID, List expected, List actual) |
| void | assertEquals (String assertID, String expected, String actual) |
| void | assertEquals (String assertID, int expected, int actual) |
| void | assertEquals (String assertID, double expected, double actual) |
| void | assertEquals (String assertID, Collection expected, NodeList actual) |
| void | assertEquals (String assertID, Collection expected, Collection actual) |
| void | assertNotEqualsIgnoreCase (String assertID, String expected, String actual) |
| void | assertNotEquals (String assertID, String expected, String actual) |
| void | assertNotEquals (String assertID, int expected, int actual) |
| void | assertNotEquals (String assertID, double expected, double actual) |
| void | assertURIEquals (String assertID, String scheme, String path, String host, String file, String query, String fragment, Boolean isAbsolute, String actual) throws java.net.MalformedURLException |
| boolean | same (Object expected, Object actual) |
| boolean | equalsIgnoreCase (String expected, String actual) |
| boolean | equalsIgnoreCase (Collection expected, Collection actual) |
| boolean | equalsIgnoreCase (List expected, List actual) |
| boolean | equals (String expected, String actual) |
| boolean | equals (int expected, int actual) |
| boolean | equals (double expected, double actual) |
| boolean | equals (Collection expected, Collection actual) |
| boolean | equals (List expected, List actual) |
| int | size (Collection collection) |
| int | size (NamedNodeMap collection) |
| int | size (NodeList collection) |
Static Public Methods | |
| void | doMain (Class testClass, String[] args) |
Definition at line 62 of file DOMTestCase.java.
|
|
This constructor is for DOMTestCase's that make specific demands for parser configuration. setFactory should be called before the end of the tests constructor to set the factory. Definition at line 71 of file DOMTestCase.java.
00071 {
00072 framework = null;
00073 }
|
|
|
This constructor is for DOMTestCase's that do not add any requirements for parser configuration. Definition at line 79 of file DOMTestCase.java.
00079 {
00080 super(factory);
00081 framework = null;
00082 }
|
|
||||||||||||||||
|
Definition at line 224 of file DOMTestCase.java. References DOMTestFramework::assertEquals().
00224 {
00225 framework.assertEquals(this, assertID,expected,actual);
00226 }
|
|
||||||||||||||||
|
Definition at line 215 of file DOMTestCase.java. References DOMTestFramework::assertEquals().
00215 {
00216 Collection actualList = new ArrayList();
00217 int actualLen = actual.getLength();
00218 for(int i = 0; i < actualLen; i++) {
00219 actualList.add(actual.item(i));
00220 }
00221 framework.assertEquals(this, assertID, expected,actualList);
00222 }
|
|
||||||||||||||||
|
Definition at line 211 of file DOMTestCase.java. References DOMTestFramework::assertEquals().
00211 {
00212 framework.assertEquals(this, assertID, expected,actual);
00213 }
|
|
||||||||||||||||
|
Definition at line 207 of file DOMTestCase.java. References DOMTestFramework::assertEquals().
00207 {
00208 framework.assertEquals(this, assertID, expected, actual);
00209 }
|
|
||||||||||||||||
|
||||||||||||||||
|
Definition at line 199 of file DOMTestCase.java. References DOMTestFramework::assertEqualsIgnoreCase().
00199 {
00200 framework.assertEqualsIgnoreCase(this, assertID, expected,actual);
00201 }
|
|
||||||||||||||||
|
Definition at line 195 of file DOMTestCase.java. References DOMTestFramework::assertEqualsIgnoreCase().
00195 {
00196 framework.assertEqualsIgnoreCase(this, assertID, expected,actual);
00197 }
|
|
||||||||||||||||
|
Definition at line 191 of file DOMTestCase.java. References DOMTestFramework::assertEqualsIgnoreCase().
00191 {
00192 framework.assertEqualsIgnoreCase(this, assertID, expected, actual);
00193 }
|
|
||||||||||||
|
Definition at line 158 of file DOMTestCase.java. References DOMTestFramework::assertFalse(). Referenced by nodehaschildnodesfalse::runTest(), namednodemapremovenameditem::runTest(), attrspecifiedvalueremove::runTest(), and attrnotspecifiedvalue::runTest().
00158 {
00159 framework.assertFalse(this,assertID,actual);
00160 }
|
|
||||||||||||||||
|
Definition at line 174 of file DOMTestCase.java. References DOMTestFramework::assertInstanceOf(). Referenced by namednodemapreturnattrnode::runTest().
00174 {
00175 framework.assertInstanceOf(this,assertID, obj,cls);
00176 }
|
|
||||||||||||||||
|
Definition at line 240 of file DOMTestCase.java. References DOMTestFramework::assertNotEquals().
00240 {
00241 framework.assertNotEquals(this, assertID,expected,actual);
00242 }
|
|
||||||||||||||||
|
Definition at line 236 of file DOMTestCase.java. References DOMTestFramework::assertNotEquals().
00236 {
00237 framework.assertNotEquals(this, assertID, expected,actual);
00238 }
|
|
||||||||||||||||
|
Definition at line 232 of file DOMTestCase.java. References DOMTestFramework::assertNotEquals().
00232 {
00233 framework.assertNotEquals(this, assertID,expected,actual);
00234 }
|
|
||||||||||||||||
|
Definition at line 228 of file DOMTestCase.java. References DOMTestFramework::assertNotEqualsIgnoreCase().
00228 {
00229 framework.assertNotEqualsIgnoreCase(this, assertID,expected,actual);
00230 }
|
|
||||||||||||
|
Definition at line 166 of file DOMTestCase.java. References DOMTestFramework::assertNotNull(). Referenced by elementcreatenewattribute::runTest(), and documentcreateentityreference::runTest().
00166 {
00167 framework.assertNotNull(this,assertID,actual);
00168 }
|
|
||||||||||||
|
||||||||||||||||
|
Definition at line 170 of file DOMTestCase.java. References DOMTestFramework::assertSame(). Referenced by nodereplacechildnewchildexists::runTest(), and elementreplaceattributewithself::runTest().
00170 {
00171 framework.assertSame(this,assertID, expected, actual);
00172 }
|
|
||||||||||||||||
|
Definition at line 187 of file DOMTestCase.java. References DOMTestFramework::assertSize().
00187 {
00188 framework.assertSize(this, assertID, expectedSize, collection);
00189 }
|
|
||||||||||||||||
|
Definition at line 183 of file DOMTestCase.java. References DOMTestFramework::assertSize().
00183 {
00184 framework.assertSize(this, assertID, expectedSize, collection);
00185 }
|
|
||||||||||||||||
|
Definition at line 179 of file DOMTestCase.java. References DOMTestFramework::assertSize(). Referenced by nodelistindexgetlengthofemptylist::runTest(), nodelistindexgetlength::runTest(), nodechildnodesempty::runTest(), nodechildnodesappendchild::runTest(), nodechildnodes::runTest(), elementretrieveallattributes::runTest(), elementgetelementsbytagnamenomatch::runTest(), elementgetelementsbytagname::runTest(), documenttypegetentitieslength::runTest(), documenttypegetentities::runTest(), documentgetelementsbytagnametotallength::runTest(), documentgetelementsbytagnamelength::runTest(), documentcreateentityreferenceknown::runTest(), and documentcreateelementdefaultattr::runTest().
00179 {
00180 framework.assertSize(this,assertID, expectedSize, collection);
00181 }
|
|
||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 244 of file DOMTestCase.java. References DOMTestFramework::assertURIEquals(). Referenced by notationgetsystemid::runTest(), and entitygetpublicid::runTest().
00244 {
00245 framework.assertURIEquals(this, assertID, scheme, path, host, file, query, fragment, isAbsolute, actual);
00246 }
|
|
||||||||||||
|
||||||||||||
|
Definition at line 281 of file DOMTestCase.java. References DOMTestFramework::equals().
00281 {
00282 return framework.equals(expected,actual);
00283 }
|
|
||||||||||||
|
Definition at line 277 of file DOMTestCase.java. References DOMTestFramework::equals().
00277 {
00278 return framework.equals(expected,actual);
00279 }
|
|
||||||||||||
|
Definition at line 273 of file DOMTestCase.java. References DOMTestFramework::equals().
00273 {
00274 return framework.equals(expected,actual);
00275 }
|
|
||||||||||||
|
Definition at line 269 of file DOMTestCase.java. References DOMTestFramework::equals().
00269 {
00270 return framework.equals(expected,actual);
00271 }
|
|
||||||||||||
|
Definition at line 265 of file DOMTestCase.java. References DOMTestFramework::equals(). Referenced by nodecommentnodevalue::runTest(), nodecommentnodetype::runTest(), nodecommentnodename::runTest(), namednodemapreturnlastitem::runTest(), namednodemapreturnfirstitem::runTest(), and commentgetcomment::runTest().
00265 {
00266 return framework.equals(expected,actual);
00267 }
|
|
||||||||||||
|
Definition at line 261 of file DOMTestCase.java. References DOMTestFramework::equalsIgnoreCase().
00261 {
00262 return framework.equalsIgnoreCase(expected,actual);
00263 }
|
|
||||||||||||
|
Definition at line 257 of file DOMTestCase.java. References DOMTestFramework::equalsIgnoreCase().
00257 {
00258 return framework.equalsIgnoreCase(expected,actual);
00259 }
|
|
||||||||||||
|
Definition at line 253 of file DOMTestCase.java. References DOMTestFramework::equalsIgnoreCase().
00253 {
00254 return framework.equalsIgnoreCase(expected,actual);
00255 }
|
|
|
||||||||||||
|
Definition at line 249 of file DOMTestCase.java. References DOMTestFramework::same().
00249 {
00250 return framework.same(expected,actual);
00251 }
|
|
|
Definition at line 143 of file DOMTestCase.java.
00143 {
00144 this.framework = framework;
00145 }
|
|
|
Definition at line 293 of file DOMTestCase.java. References DOMTestFramework::size().
00293 {
00294 return framework.size(collection);
00295 }
|
|
|
Definition at line 289 of file DOMTestCase.java. References DOMTestFramework::size().
00289 {
00290 return framework.size(collection);
00291 }
|
|
|
Definition at line 285 of file DOMTestCase.java. References DOMTestFramework::size().
00285 {
00286 return framework.size(collection);
00287 }
|
|
|
Definition at line 149 of file DOMTestCase.java. References DOMTestFramework::wait().
00149 {
00150 framework.wait(millisecond);
00151 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001