1 2 /* 3 This Java source file was generated by test-to-java.xsl 4 and is a derived work from the source document. 5 The source document contained the following notice: 6 7 8 Copyright (c) 2001-2004 World Wide Web Consortium, 9 (Massachusetts Institute of Technology, Institut National de 10 Recherche en Informatique et en Automatique, Keio University). All 11 Rights Reserved. This program is distributed under the W3C's Software 12 Intellectual Property License. This program is distributed in the 13 hope that it will be useful, but WITHOUT ANY WARRANTY; without even 14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 15 PURPOSE. 16 See W3C License http://www.w3.org/Consortium/Legal/ for more details. 17 18 */ 19 20 package org.w3c.domts.level2.core; 21 22 import org.w3c.domts.DOMTestCase; 23 import org.w3c.domts.DOMTestSuite; 24 import org.w3c.domts.DOMTestSink; 25 import org.w3c.domts.DOMTestDocumentBuilderFactory; 26 27 28 /** 29 * 30 * @author DOM Test Suite Project 31 */ 32 public class alltests extends DOMTestSuite { 33 34 /** 35 * Constructor 36 * @param factory document factory, may not be null 37 * @throws Exception Thrown if test is not compatible with settings 38 */ alltests(DOMTestDocumentBuilderFactory factory)39 public alltests(DOMTestDocumentBuilderFactory factory) throws Exception { 40 super(factory); 41 42 setFactory(factory); 43 } 44 45 /** 46 * Build test suite by adding each test to the test sink 47 * @param sink test sink 48 */ build(DOMTestSink sink)49 public void build(DOMTestSink sink) { 50 // sink.addTest(attrgetownerelement01.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 51 sink.addTest(attrgetownerelement02.class); 52 sink.addTest(attrgetownerelement03.class); 53 sink.addTest(attrgetownerelement04.class); 54 sink.addTest(attrgetownerelement05.class); 55 sink.addTest(createAttributeNS01.class); 56 sink.addTest(createAttributeNS02.class); 57 sink.addTest(createAttributeNS03.class); 58 sink.addTest(createAttributeNS04.class); 59 sink.addTest(createAttributeNS05.class); 60 // sink.addTest(createAttributeNS06.class); 61 sink.addTest(createDocument01.class); 62 sink.addTest(createDocument02.class); 63 // sink.addTest(createDocument03.class); 64 // sink.addTest(createDocument04.class); 65 sink.addTest(createDocument05.class); 66 sink.addTest(createDocument06.class); 67 sink.addTest(createDocument07.class); 68 // sink.addTest(createDocument08.class); 69 sink.addTest(createDocumentType01.class); 70 sink.addTest(createDocumentType02.class); 71 sink.addTest(createDocumentType03.class); 72 // sink.addTest(createDocumentType04.class); 73 sink.addTest(createElementNS01.class); 74 sink.addTest(createElementNS02.class); 75 sink.addTest(createElementNS03.class); 76 sink.addTest(createElementNS04.class); 77 sink.addTest(createElementNS05.class); 78 sink.addTest(documentcreateattributeNS01.class); 79 sink.addTest(documentcreateattributeNS02.class); 80 sink.addTest(documentcreateattributeNS03.class); 81 sink.addTest(documentcreateattributeNS04.class); 82 sink.addTest(documentcreateattributeNS05.class); 83 sink.addTest(documentcreateattributeNS06.class); 84 sink.addTest(documentcreateattributeNS07.class); 85 sink.addTest(documentcreateelementNS01.class); 86 sink.addTest(documentcreateelementNS02.class); 87 sink.addTest(documentcreateelementNS05.class); 88 sink.addTest(documentcreateelementNS06.class); 89 sink.addTest(documentgetelementbyid01.class); 90 sink.addTest(documentgetelementsbytagnameNS01.class); 91 sink.addTest(documentgetelementsbytagnameNS02.class); 92 sink.addTest(documentgetelementsbytagnameNS03.class); 93 sink.addTest(documentgetelementsbytagnameNS04.class); 94 sink.addTest(documentgetelementsbytagnameNS05.class); 95 // sink.addTest(documentimportnode01.class); 96 sink.addTest(documentimportnode02.class); 97 // sink.addTest(documentimportnode03.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 98 // sink.addTest(documentimportnode04.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 99 sink.addTest(documentimportnode05.class); 100 sink.addTest(documentimportnode06.class); 101 sink.addTest(documentimportnode07.class); 102 sink.addTest(documentimportnode08.class); 103 sink.addTest(documentimportnode09.class); 104 sink.addTest(documentimportnode10.class); 105 sink.addTest(documentimportnode11.class); 106 sink.addTest(documentimportnode12.class); 107 sink.addTest(documentimportnode13.class); 108 // sink.addTest(documentimportnode14.class); 109 sink.addTest(documentimportnode15.class); 110 sink.addTest(documentimportnode17.class); 111 sink.addTest(documentimportnode18.class); 112 // sink.addTest(documentimportnode19.class); 113 // sink.addTest(documentimportnode20.class); 114 // sink.addTest(documentimportnode21.class); 115 // sink.addTest(documentimportnode22.class); 116 sink.addTest(documenttypeinternalSubset01.class); 117 sink.addTest(documenttypepublicid01.class); 118 sink.addTest(documenttypesystemid01.class); 119 sink.addTest(domimplementationcreatedocument03.class); 120 sink.addTest(domimplementationcreatedocument04.class); 121 sink.addTest(domimplementationcreatedocument05.class); 122 sink.addTest(domimplementationcreatedocument07.class); 123 sink.addTest(domimplementationcreatedocumenttype01.class); 124 sink.addTest(domimplementationcreatedocumenttype02.class); 125 sink.addTest(domimplementationcreatedocumenttype04.class); 126 sink.addTest(domimplementationfeaturecore.class); 127 sink.addTest(domimplementationfeaturexmlversion2.class); 128 sink.addTest(domimplementationhasfeature01.class); 129 sink.addTest(domimplementationhasfeature02.class); 130 sink.addTest(elementgetattributenodens01.class); 131 sink.addTest(elementgetattributenodens02.class); 132 // sink.addTest(elementgetattributenodens03.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 133 // sink.addTest(elementgetattributens02.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 134 sink.addTest(elementgetelementsbytagnamens02.class); 135 sink.addTest(elementgetelementsbytagnamens04.class); 136 sink.addTest(elementgetelementsbytagnamens05.class); 137 sink.addTest(elementhasattribute01.class); 138 // sink.addTest(elementhasattribute02.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 139 sink.addTest(elementhasattribute03.class); 140 sink.addTest(elementhasattribute04.class); 141 // sink.addTest(elementhasattributens01.class); 142 sink.addTest(elementhasattributens02.class); 143 sink.addTest(elementhasattributens03.class); 144 sink.addTest(elementremoveattributens01.class); 145 sink.addTest(elementsetattributenodens01.class); 146 sink.addTest(elementsetattributenodens02.class); 147 sink.addTest(elementsetattributenodens03.class); 148 sink.addTest(elementsetattributenodens04.class); 149 sink.addTest(elementsetattributenodens05.class); 150 // sink.addTest(elementsetattributenodens06.class); 151 sink.addTest(elementsetattributens01.class); 152 sink.addTest(elementsetattributens02.class); 153 sink.addTest(elementsetattributens03.class); 154 sink.addTest(elementsetattributens04.class); 155 sink.addTest(elementsetattributens05.class); 156 sink.addTest(elementsetattributens08.class); 157 sink.addTest(elementsetattributensurinull.class); 158 // sink.addTest(getAttributeNS01.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 159 sink.addTest(getAttributeNS02.class); 160 sink.addTest(getAttributeNS03.class); 161 sink.addTest(getAttributeNS04.class); 162 sink.addTest(getAttributeNS05.class); 163 sink.addTest(getAttributeNodeNS01.class); 164 sink.addTest(getAttributeNodeNS02.class); 165 // sink.addTest(getElementById01.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 166 sink.addTest(getElementById02.class); 167 // sink.addTest(getElementsByTagNameNS01.class); 168 sink.addTest(getElementsByTagNameNS02.class); 169 sink.addTest(getElementsByTagNameNS03.class); 170 sink.addTest(getElementsByTagNameNS04.class); 171 sink.addTest(getElementsByTagNameNS05.class); 172 sink.addTest(getElementsByTagNameNS06.class); 173 sink.addTest(getElementsByTagNameNS07.class); 174 sink.addTest(getElementsByTagNameNS08.class); 175 sink.addTest(getElementsByTagNameNS09.class); 176 sink.addTest(getElementsByTagNameNS10.class); 177 sink.addTest(getElementsByTagNameNS11.class); 178 sink.addTest(getElementsByTagNameNS12.class); 179 sink.addTest(getElementsByTagNameNS13.class); 180 sink.addTest(getElementsByTagNameNS14.class); 181 sink.addTest(getNamedItemNS01.class); 182 sink.addTest(getNamedItemNS02.class); 183 // sink.addTest(getNamedItemNS03.class); 184 // sink.addTest(getNamedItemNS04.class); 185 sink.addTest(hasAttribute01.class); 186 // sink.addTest(hasAttribute02.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 187 sink.addTest(hasAttribute03.class); 188 // sink.addTest(hasAttribute04.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 189 sink.addTest(hasAttributeNS01.class); 190 sink.addTest(hasAttributeNS02.class); 191 sink.addTest(hasAttributeNS03.class); 192 // sink.addTest(hasAttributeNS04.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 193 sink.addTest(hasAttributeNS05.class); 194 sink.addTest(hasAttributes01.class); 195 sink.addTest(hasAttributes02.class); 196 // sink.addTest(hc_entitiesremovenameditemns1.class); 197 // sink.addTest(hc_entitiessetnameditemns1.class); 198 sink.addTest(hc_namednodemapinvalidtype1.class); 199 sink.addTest(hc_nodedocumentfragmentnormalize1.class); 200 sink.addTest(hc_nodedocumentfragmentnormalize2.class); 201 // sink.addTest(hc_notationsremovenameditemns1.class); 202 // sink.addTest(hc_notationssetnameditemns1.class); 203 // sink.addTest(importNode01.class); 204 sink.addTest(importNode02.class); 205 sink.addTest(importNode03.class); 206 sink.addTest(importNode04.class); 207 // sink.addTest(importNode05.class); 208 // sink.addTest(importNode06.class); 209 // sink.addTest(importNode07.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 210 sink.addTest(importNode08.class); 211 // sink.addTest(importNode09.class); 212 sink.addTest(importNode10.class); 213 // sink.addTest(importNode11.class); 214 // sink.addTest(importNode12.class); 215 // sink.addTest(importNode13.class); 216 sink.addTest(importNode14.class); 217 sink.addTest(importNode15.class); 218 sink.addTest(importNode16.class); 219 sink.addTest(importNode17.class); 220 sink.addTest(internalSubset01.class); 221 sink.addTest(isSupported01.class); 222 sink.addTest(isSupported02.class); 223 sink.addTest(isSupported04.class); 224 sink.addTest(isSupported05.class); 225 sink.addTest(isSupported06.class); 226 sink.addTest(isSupported07.class); 227 sink.addTest(isSupported09.class); 228 sink.addTest(isSupported10.class); 229 sink.addTest(isSupported11.class); 230 sink.addTest(isSupported12.class); 231 sink.addTest(isSupported13.class); 232 sink.addTest(isSupported14.class); 233 sink.addTest(localName01.class); 234 sink.addTest(localName02.class); 235 sink.addTest(localName03.class); 236 sink.addTest(localName04.class); 237 // sink.addTest(namednodemapgetnameditemns01.class); 238 sink.addTest(namednodemapgetnameditemns02.class); 239 sink.addTest(namednodemapgetnameditemns03.class); 240 sink.addTest(namednodemapgetnameditemns04.class); 241 sink.addTest(namednodemapgetnameditemns05.class); 242 sink.addTest(namednodemapgetnameditemns06.class); 243 sink.addTest(namednodemapremovenameditemns01.class); 244 // sink.addTest(namednodemapremovenameditemns02.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 245 sink.addTest(namednodemapremovenameditemns03.class); 246 // sink.addTest(namednodemapremovenameditemns04.class); 247 // sink.addTest(namednodemapremovenameditemns05.class); 248 sink.addTest(namednodemapremovenameditemns06.class); 249 sink.addTest(namednodemapremovenameditemns07.class); 250 sink.addTest(namednodemapremovenameditemns08.class); 251 sink.addTest(namednodemapremovenameditemns09.class); 252 sink.addTest(namednodemapsetnameditemns01.class); 253 sink.addTest(namednodemapsetnameditemns02.class); 254 sink.addTest(namednodemapsetnameditemns03.class); 255 sink.addTest(namednodemapsetnameditemns04.class); 256 // sink.addTest(namednodemapsetnameditemns05.class); 257 sink.addTest(namednodemapsetnameditemns06.class); 258 sink.addTest(namednodemapsetnameditemns07.class); 259 sink.addTest(namednodemapsetnameditemns08.class); 260 // sink.addTest(namednodemapsetnameditemns09.class); 261 // sink.addTest(namednodemapsetnameditemns10.class); 262 // sink.addTest(namednodemapsetnameditemns11.class); 263 // sink.addTest(namespaceURI01.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 264 sink.addTest(namespaceURI02.class); 265 sink.addTest(namespaceURI03.class); 266 sink.addTest(namespaceURI04.class); 267 sink.addTest(nodegetlocalname03.class); 268 sink.addTest(nodegetnamespaceuri03.class); 269 sink.addTest(nodegetownerdocument01.class); 270 sink.addTest(nodegetownerdocument02.class); 271 sink.addTest(nodegetprefix03.class); 272 sink.addTest(nodehasattributes01.class); 273 sink.addTest(nodehasattributes02.class); 274 sink.addTest(nodehasattributes03.class); 275 sink.addTest(nodehasattributes04.class); 276 sink.addTest(nodeissupported01.class); 277 sink.addTest(nodeissupported02.class); 278 sink.addTest(nodeissupported03.class); 279 sink.addTest(nodeissupported04.class); 280 sink.addTest(nodeissupported05.class); 281 sink.addTest(nodenormalize01.class); 282 sink.addTest(nodesetprefix01.class); 283 sink.addTest(nodesetprefix02.class); 284 sink.addTest(nodesetprefix03.class); 285 // sink.addTest(nodesetprefix04.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 286 sink.addTest(nodesetprefix05.class); 287 sink.addTest(nodesetprefix06.class); 288 sink.addTest(nodesetprefix07.class); 289 sink.addTest(nodesetprefix08.class); 290 // sink.addTest(nodesetprefix09.class); 291 sink.addTest(normalize01.class); 292 sink.addTest(ownerDocument01.class); 293 sink.addTest(ownerElement01.class); 294 sink.addTest(ownerElement02.class); 295 sink.addTest(prefix01.class); 296 sink.addTest(prefix02.class); 297 sink.addTest(prefix03.class); 298 sink.addTest(prefix04.class); 299 sink.addTest(prefix05.class); 300 // sink.addTest(prefix06.class); 301 sink.addTest(prefix07.class); 302 // sink.addTest(prefix08.class); 303 // sink.addTest(prefix09.class); 304 sink.addTest(prefix10.class); 305 sink.addTest(prefix11.class); 306 sink.addTest(publicId01.class); 307 // sink.addTest(removeAttributeNS01.class); 308 // sink.addTest(removeAttributeNS02.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 309 sink.addTest(removeNamedItemNS01.class); 310 sink.addTest(removeNamedItemNS02.class); 311 // sink.addTest(removeNamedItemNS03.class); 312 sink.addTest(setAttributeNS01.class); 313 sink.addTest(setAttributeNS02.class); 314 // sink.addTest(setAttributeNS03.class); 315 sink.addTest(setAttributeNS04.class); 316 sink.addTest(setAttributeNS05.class); 317 sink.addTest(setAttributeNS06.class); 318 sink.addTest(setAttributeNS07.class); 319 sink.addTest(setAttributeNS09.class); 320 // sink.addTest(setAttributeNS10.class); 321 sink.addTest(setAttributeNodeNS01.class); 322 // sink.addTest(setAttributeNodeNS02.class); 323 sink.addTest(setAttributeNodeNS03.class); 324 sink.addTest(setAttributeNodeNS04.class); 325 sink.addTest(setAttributeNodeNS05.class); 326 sink.addTest(setNamedItemNS01.class); 327 sink.addTest(setNamedItemNS02.class); 328 sink.addTest(setNamedItemNS03.class); 329 // sink.addTest(setNamedItemNS04.class); 330 // sink.addTest(setNamedItemNS05.class); 331 sink.addTest(systemId01.class); 332 333 } 334 /** 335 * Gets URI that identifies the test suite 336 * @return uri identifier of test suite 337 */ getTargetURI()338 public String getTargetURI() { 339 return "http://www.w3.org/2001/DOM-Test-Suite/level2/core/alltests"; 340 } 341 342 /** 343 * Runs individual test 344 * @param args command line arguments 345 */ main(String[] args)346 public static void main(String[] args) { 347 DOMTestCase.doMain(alltests.class, args); 348 } 349 350 } 351