org.w3c.domts.level2.core
Class hc_namednodemapinvalidtype1

java.lang.Object
  extended byorg.w3c.domts.DOMTest
      extended byorg.w3c.domts.DOMTestCase
          extended byorg.w3c.domts.level2.core.hc_namednodemapinvalidtype1

public final class hc_namednodemapinvalidtype1
extends DOMTestCase

Attempt to insert an element into an attribute list, should raise a HIERARCHY_REQUEST_ERR.

See Also:
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='HIERARCHY_REQUEST_ERR']), http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1025163788, http://www.w3.org/2000/11/DOM-Level-2-errata#core-4

Constructor Summary
hc_namednodemapinvalidtype1(DOMTestDocumentBuilderFactory factory)
          Constructor.
 
Method Summary
 java.lang.String getTargetURI()
          Gets URI that identifies the test.
static void main(java.lang.String[] args)
          Runs this test from the command line.
 void runTest()
          Runs the test case.
 
Methods inherited from class org.w3c.domts.DOMTestCase
assertEqualAutoCase, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsAutoCase, assertEqualsAutoCase, assertEqualsIgnoreCase, assertEqualsIgnoreCase, assertEqualsIgnoreCase, assertFalse, assertFalse, assertInstanceOf, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEqualsAutoCase, assertNotEqualsIgnoreCase, assertNotNull, assertNull, assertSame, assertSize, assertSize, assertSize, assertTrue, assertTrue, assertURIEquals, doMain, equals, equals, equals, equals, equals, equalsAutoCase, equalsAutoCase, equalsAutoCase, equalsIgnoreCase, equalsIgnoreCase, equalsIgnoreCase, fail, same, setFramework, size, size, size, wait
 
Methods inherited from class org.w3c.domts.DOMTest
createStream, createTempURI, createXPathEvaluator, getContentType, getFactory, getImplementation, getMutationCount, getResourceURI, hasFeature, hasSetting, isCoalescing, isExpandEntityReferences, isHasNullString, isIgnoringElementContentWhitespace, isNamespaceAware, isSigned, isValidating, load, preload, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

hc_namednodemapinvalidtype1

public hc_namednodemapinvalidtype1(DOMTestDocumentBuilderFactory factory)
                            throws DOMTestIncompatibleException
Constructor.

Parameters:
factory - document factory, may not be null
Throws:
DOMTestIncompatibleException - Thrown if test is not compatible with parser configuration
Method Detail

runTest

public void runTest()
             throws java.lang.Throwable
Runs the test case.

Specified by:
runTest in class DOMTestCase
Throws:
java.lang.Throwable - Any uncaught exception causes test to fail

getTargetURI

public java.lang.String getTargetURI()
Gets URI that identifies the test.

Specified by:
getTargetURI in class DOMTest
Returns:
uri identifier of test

main

public static void main(java.lang.String[] args)
Runs this test from the command line.

Parameters:
args - command line arguments