From 8f547c7bd349e0dc905e0dc5f32edbf1e01061ce Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 30 Jul 2009 11:06:01 +0000 Subject: Merge DOMTS tests -- they're causing havoc with review diffs. svn path=/trunk/dom/; revision=8910 --- test/testcases/tests/level3/validation/.cvsignore | 3 + test/testcases/tests/level3/validation/CVS/Entries | 47 +++++++++++++++ .../tests/level3/validation/CVS/Repository | 1 + test/testcases/tests/level3/validation/CVS/Root | 1 + .../testcases/tests/level3/validation/CVS/Template | 0 .../tests/level3/validation/allowedAttributes.xml | 45 ++++++++++++++ .../tests/level3/validation/allowedChildren.xml | 46 +++++++++++++++ .../level3/validation/allowedFirstChildren.xml | 42 +++++++++++++ .../level3/validation/allowedNextSiblings.xml | 45 ++++++++++++++ .../tests/level3/validation/allowedParents.xml | 45 ++++++++++++++ .../level3/validation/allowedPreviousSiblings.xml | 44 ++++++++++++++ .../testcases/tests/level3/validation/alltests.xml | 69 ++++++++++++++++++++++ .../level3/validation/canAppendChildFalse.xml | 42 +++++++++++++ .../tests/level3/validation/canAppendChildTrue.xml | 42 +++++++++++++ .../tests/level3/validation/canAppendData.xml | 43 ++++++++++++++ .../tests/level3/validation/canDeleteData.xml | 43 ++++++++++++++ .../level3/validation/canInsertBeforeFalse.xml | 47 +++++++++++++++ .../level3/validation/canInsertBeforeTrue.xml | 51 ++++++++++++++++ .../tests/level3/validation/canInsertData.xml | 44 ++++++++++++++ .../level3/validation/canRemoveAttributeFalse.xml | 40 +++++++++++++ .../level3/validation/canRemoveAttributeNS.xml | 42 +++++++++++++ .../level3/validation/canRemoveAttributeNode.xml | 41 +++++++++++++ .../level3/validation/canRemoveAttributeTrue.xml | 40 +++++++++++++ .../level3/validation/canRemoveChildFalse.xml | 47 +++++++++++++++ .../tests/level3/validation/canRemoveChildTrue.xml | 46 +++++++++++++++ .../level3/validation/canReplaceChildFalse.xml | 46 +++++++++++++++ .../level3/validation/canReplaceChildTrue.xml | 47 +++++++++++++++ .../level3/validation/canReplaceDataFalse.xml | 43 ++++++++++++++ .../tests/level3/validation/canReplaceDataTrue.xml | 43 ++++++++++++++ .../level3/validation/canSetAttributeFalse.xml | 40 +++++++++++++ .../tests/level3/validation/canSetAttributeNS.xml | 42 +++++++++++++ .../level3/validation/canSetAttributeNode.xml | 42 +++++++++++++ .../level3/validation/canSetAttributeTrue.xml | 40 +++++++++++++ .../tests/level3/validation/canSetData.xml | 43 ++++++++++++++ .../tests/level3/validation/contentType.xml | 39 ++++++++++++ .../tests/level3/validation/defaultValue.xml | 42 +++++++++++++ .../tests/level3/validation/definedElements.xml | 42 +++++++++++++ .../tests/level3/validation/enumeratedValues.xml | 46 +++++++++++++++ .../tests/level3/validation/files/CVS/Entries | 3 + .../tests/level3/validation/files/CVS/Repository | 1 + .../tests/level3/validation/files/CVS/Root | 1 + .../tests/level3/validation/files/CVS/Template | 0 .../tests/level3/validation/files/book.xml | 10 ++++ .../tests/level3/validation/files/book.xsd | 52 ++++++++++++++++ .../tests/level3/validation/getFeature01.xml | 44 ++++++++++++++ .../tests/level3/validation/getFeature02.xml | 41 +++++++++++++ .../tests/level3/validation/hasFeature01.xml | 39 ++++++++++++ .../tests/level3/validation/hasFeature02.xml | 40 +++++++++++++ .../tests/level3/validation/hasFeature03.xml | 42 +++++++++++++ .../tests/level3/validation/hasFeature04.xml | 41 +++++++++++++ .../tests/level3/validation/isElementDefined.xml | 43 ++++++++++++++ .../tests/level3/validation/isElementDefinedNS.xml | 43 ++++++++++++++ .../testcases/tests/level3/validation/metadata.xml | 19 ++++++ .../tests/level3/validation/nodeValidity.xml | 39 ++++++++++++ .../tests/level3/validation/requiredAttributes.xml | 44 ++++++++++++++ .../tests/level3/validation/validateDocument.xml | 36 +++++++++++ 56 files changed, 2049 insertions(+) create mode 100644 test/testcases/tests/level3/validation/.cvsignore create mode 100644 test/testcases/tests/level3/validation/CVS/Entries create mode 100644 test/testcases/tests/level3/validation/CVS/Repository create mode 100644 test/testcases/tests/level3/validation/CVS/Root create mode 100644 test/testcases/tests/level3/validation/CVS/Template create mode 100644 test/testcases/tests/level3/validation/allowedAttributes.xml create mode 100644 test/testcases/tests/level3/validation/allowedChildren.xml create mode 100644 test/testcases/tests/level3/validation/allowedFirstChildren.xml create mode 100644 test/testcases/tests/level3/validation/allowedNextSiblings.xml create mode 100644 test/testcases/tests/level3/validation/allowedParents.xml create mode 100644 test/testcases/tests/level3/validation/allowedPreviousSiblings.xml create mode 100644 test/testcases/tests/level3/validation/alltests.xml create mode 100644 test/testcases/tests/level3/validation/canAppendChildFalse.xml create mode 100644 test/testcases/tests/level3/validation/canAppendChildTrue.xml create mode 100644 test/testcases/tests/level3/validation/canAppendData.xml create mode 100644 test/testcases/tests/level3/validation/canDeleteData.xml create mode 100644 test/testcases/tests/level3/validation/canInsertBeforeFalse.xml create mode 100644 test/testcases/tests/level3/validation/canInsertBeforeTrue.xml create mode 100644 test/testcases/tests/level3/validation/canInsertData.xml create mode 100644 test/testcases/tests/level3/validation/canRemoveAttributeFalse.xml create mode 100644 test/testcases/tests/level3/validation/canRemoveAttributeNS.xml create mode 100644 test/testcases/tests/level3/validation/canRemoveAttributeNode.xml create mode 100644 test/testcases/tests/level3/validation/canRemoveAttributeTrue.xml create mode 100644 test/testcases/tests/level3/validation/canRemoveChildFalse.xml create mode 100644 test/testcases/tests/level3/validation/canRemoveChildTrue.xml create mode 100644 test/testcases/tests/level3/validation/canReplaceChildFalse.xml create mode 100644 test/testcases/tests/level3/validation/canReplaceChildTrue.xml create mode 100644 test/testcases/tests/level3/validation/canReplaceDataFalse.xml create mode 100644 test/testcases/tests/level3/validation/canReplaceDataTrue.xml create mode 100644 test/testcases/tests/level3/validation/canSetAttributeFalse.xml create mode 100644 test/testcases/tests/level3/validation/canSetAttributeNS.xml create mode 100644 test/testcases/tests/level3/validation/canSetAttributeNode.xml create mode 100644 test/testcases/tests/level3/validation/canSetAttributeTrue.xml create mode 100644 test/testcases/tests/level3/validation/canSetData.xml create mode 100644 test/testcases/tests/level3/validation/contentType.xml create mode 100644 test/testcases/tests/level3/validation/defaultValue.xml create mode 100644 test/testcases/tests/level3/validation/definedElements.xml create mode 100644 test/testcases/tests/level3/validation/enumeratedValues.xml create mode 100644 test/testcases/tests/level3/validation/files/CVS/Entries create mode 100644 test/testcases/tests/level3/validation/files/CVS/Repository create mode 100644 test/testcases/tests/level3/validation/files/CVS/Root create mode 100644 test/testcases/tests/level3/validation/files/CVS/Template create mode 100644 test/testcases/tests/level3/validation/files/book.xml create mode 100644 test/testcases/tests/level3/validation/files/book.xsd create mode 100644 test/testcases/tests/level3/validation/getFeature01.xml create mode 100644 test/testcases/tests/level3/validation/getFeature02.xml create mode 100644 test/testcases/tests/level3/validation/hasFeature01.xml create mode 100644 test/testcases/tests/level3/validation/hasFeature02.xml create mode 100644 test/testcases/tests/level3/validation/hasFeature03.xml create mode 100644 test/testcases/tests/level3/validation/hasFeature04.xml create mode 100644 test/testcases/tests/level3/validation/isElementDefined.xml create mode 100644 test/testcases/tests/level3/validation/isElementDefinedNS.xml create mode 100644 test/testcases/tests/level3/validation/metadata.xml create mode 100644 test/testcases/tests/level3/validation/nodeValidity.xml create mode 100644 test/testcases/tests/level3/validation/requiredAttributes.xml create mode 100644 test/testcases/tests/level3/validation/validateDocument.xml (limited to 'test/testcases/tests/level3/validation') diff --git a/test/testcases/tests/level3/validation/.cvsignore b/test/testcases/tests/level3/validation/.cvsignore new file mode 100644 index 0000000..182530a --- /dev/null +++ b/test/testcases/tests/level3/validation/.cvsignore @@ -0,0 +1,3 @@ +dom3.dtd +dom3.xsd +test-to-html.xsl diff --git a/test/testcases/tests/level3/validation/CVS/Entries b/test/testcases/tests/level3/validation/CVS/Entries new file mode 100644 index 0000000..6b23816 --- /dev/null +++ b/test/testcases/tests/level3/validation/CVS/Entries @@ -0,0 +1,47 @@ +D/files//// +/.cvsignore/1.1/Fri Apr 3 02:47:58 2009// +/allowedAttributes.xml/1.6/Fri Apr 3 02:47:58 2009// +/allowedChildren.xml/1.6/Fri Apr 3 02:47:58 2009// +/allowedFirstChildren.xml/1.3/Fri Apr 3 02:47:58 2009// +/allowedNextSiblings.xml/1.5/Fri Apr 3 02:47:58 2009// +/allowedParents.xml/1.3/Fri Apr 3 02:47:58 2009// +/allowedPreviousSiblings.xml/1.5/Fri Apr 3 02:47:58 2009// +/alltests.xml/1.5/Fri Apr 3 02:47:58 2009// +/canAppendChildFalse.xml/1.4/Fri Apr 3 02:47:58 2009// +/canAppendChildTrue.xml/1.4/Fri Apr 3 02:47:58 2009// +/canAppendData.xml/1.4/Fri Apr 3 02:47:58 2009// +/canDeleteData.xml/1.4/Fri Apr 3 02:47:58 2009// +/canInsertBeforeFalse.xml/1.4/Fri Apr 3 02:47:58 2009// +/canInsertBeforeTrue.xml/1.4/Fri Apr 3 02:47:58 2009// +/canInsertData.xml/1.4/Fri Apr 3 02:47:58 2009// +/canRemoveAttributeFalse.xml/1.3/Fri Apr 3 02:47:58 2009// +/canRemoveAttributeNS.xml/1.4/Fri Apr 3 02:47:58 2009// +/canRemoveAttributeNode.xml/1.3/Fri Apr 3 02:47:58 2009// +/canRemoveAttributeTrue.xml/1.3/Fri Apr 3 02:47:58 2009// +/canRemoveChildFalse.xml/1.3/Fri Apr 3 02:47:58 2009// +/canRemoveChildTrue.xml/1.3/Fri Apr 3 02:47:58 2009// +/canReplaceChildFalse.xml/1.4/Fri Apr 3 02:47:58 2009// +/canReplaceChildTrue.xml/1.4/Fri Apr 3 02:47:58 2009// +/canReplaceDataFalse.xml/1.4/Fri Apr 3 02:47:58 2009// +/canReplaceDataTrue.xml/1.4/Fri Apr 3 02:47:58 2009// +/canSetAttributeFalse.xml/1.3/Fri Apr 3 02:47:58 2009// +/canSetAttributeNS.xml/1.4/Fri Apr 3 02:47:58 2009// +/canSetAttributeNode.xml/1.3/Fri Apr 3 02:47:58 2009// +/canSetAttributeTrue.xml/1.3/Fri Apr 3 02:47:58 2009// +/canSetData.xml/1.4/Fri Apr 3 02:47:58 2009// +/contentType.xml/1.3/Fri Apr 3 02:47:58 2009// +/defaultValue.xml/1.3/Fri Apr 3 02:47:58 2009// +/definedElements.xml/1.6/Fri Apr 3 02:47:58 2009// +/enumeratedValues.xml/1.5/Fri Apr 3 02:47:58 2009// +/getFeature01.xml/1.1/Fri Apr 3 02:47:58 2009// +/getFeature02.xml/1.1/Fri Apr 3 02:47:58 2009// +/hasFeature01.xml/1.1/Fri Apr 3 02:47:58 2009// +/hasFeature02.xml/1.1/Fri Apr 3 02:47:58 2009// +/hasFeature03.xml/1.2/Fri Apr 3 02:47:58 2009// +/hasFeature04.xml/1.1/Fri Apr 3 02:47:58 2009// +/isElementDefined.xml/1.3/Fri Apr 3 02:47:58 2009// +/isElementDefinedNS.xml/1.3/Fri Apr 3 02:47:58 2009// +/metadata.xml/1.1/Fri Apr 3 02:47:58 2009// +/nodeValidity.xml/1.4/Fri Apr 3 02:47:58 2009// +/requiredAttributes.xml/1.3/Fri Apr 3 02:47:58 2009// +/validateDocument.xml/1.3/Fri Apr 3 02:47:58 2009// diff --git a/test/testcases/tests/level3/validation/CVS/Repository b/test/testcases/tests/level3/validation/CVS/Repository new file mode 100644 index 0000000..180e30a --- /dev/null +++ b/test/testcases/tests/level3/validation/CVS/Repository @@ -0,0 +1 @@ +2001/DOM-Test-Suite/tests/level3/validation diff --git a/test/testcases/tests/level3/validation/CVS/Root b/test/testcases/tests/level3/validation/CVS/Root new file mode 100644 index 0000000..3c7177e --- /dev/null +++ b/test/testcases/tests/level3/validation/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/test/testcases/tests/level3/validation/CVS/Template b/test/testcases/tests/level3/validation/CVS/Template new file mode 100644 index 0000000..e69de29 diff --git a/test/testcases/tests/level3/validation/allowedAttributes.xml b/test/testcases/tests/level3/validation/allowedAttributes.xml new file mode 100644 index 0000000..ac6f9d1 --- /dev/null +++ b/test/testcases/tests/level3/validation/allowedAttributes.xml @@ -0,0 +1,45 @@ + + + + + + + + + +allowedAttributes +Kongyi Zhou + + The method getAllowedAttributes returns the NameList of allowed attributes for + the element. + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/allowedChildren.xml b/test/testcases/tests/level3/validation/allowedChildren.xml new file mode 100644 index 0000000..61769a6 --- /dev/null +++ b/test/testcases/tests/level3/validation/allowedChildren.xml @@ -0,0 +1,46 @@ + + + + + + + + +allowedChildren +Kongyi Zhou + + The method getAllowedChildren returns the NameList of allowed child elements. + should return NameList of length 7 + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/allowedFirstChildren.xml b/test/testcases/tests/level3/validation/allowedFirstChildren.xml new file mode 100644 index 0000000..4b7d941 --- /dev/null +++ b/test/testcases/tests/level3/validation/allowedFirstChildren.xml @@ -0,0 +1,42 @@ + + + + + + + +allowedFirstChildren +Kongyi Zhou + + The method getAllowedFirstChildren returns the NameList of allowed first child elements. + should return NameList containing name 'title'. + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/allowedNextSiblings.xml b/test/testcases/tests/level3/validation/allowedNextSiblings.xml new file mode 100644 index 0000000..9f9c55b --- /dev/null +++ b/test/testcases/tests/level3/validation/allowedNextSiblings.xml @@ -0,0 +1,45 @@ + + + + + + + +allowedNextSiblings +Kongyi Zhou + + The method getAllowedNextSiblings return the NameList of elements that may be + inserted, should return empty list. + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/testcases/tests/level3/validation/allowedParents.xml b/test/testcases/tests/level3/validation/allowedParents.xml new file mode 100644 index 0000000..7b16854 --- /dev/null +++ b/test/testcases/tests/level3/validation/allowedParents.xml @@ -0,0 +1,45 @@ + + + + + + + +allowedParents +Kongyi Zhou + + The method getAllowedParents returns the NameList of elements that may be the + the parent of current node + should return NameList containing name 'book'. + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/allowedPreviousSiblings.xml b/test/testcases/tests/level3/validation/allowedPreviousSiblings.xml new file mode 100644 index 0000000..8f6bb75 --- /dev/null +++ b/test/testcases/tests/level3/validation/allowedPreviousSiblings.xml @@ -0,0 +1,44 @@ + + + + + + + +allowedPreviousSiblings +Kongyi Zhou + + The method getAllowedPreviousSiblings return the NameList of elements that may be the + previous siblings, should return empty list. + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/testcases/tests/level3/validation/alltests.xml b/test/testcases/tests/level3/validation/alltests.xml new file mode 100644 index 0000000..417ec13 --- /dev/null +++ b/test/testcases/tests/level3/validation/alltests.xml @@ -0,0 +1,69 @@ + + + + + + + + + DOM Level 3 Validation Test Suite + DOM Test Suite Project + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canAppendChildFalse.xml b/test/testcases/tests/level3/validation/canAppendChildFalse.xml new file mode 100644 index 0000000..c2041d6 --- /dev/null +++ b/test/testcases/tests/level3/validation/canAppendChildFalse.xml @@ -0,0 +1,42 @@ + + + + + + + +canAppendChildFalse +Kongyi Zhou + + The method canAppendChild checks with schema to see if the child node can be appended + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/testcases/tests/level3/validation/canAppendChildTrue.xml b/test/testcases/tests/level3/validation/canAppendChildTrue.xml new file mode 100644 index 0000000..5f08832 --- /dev/null +++ b/test/testcases/tests/level3/validation/canAppendChildTrue.xml @@ -0,0 +1,42 @@ + + + + + + + +canAppendChildTrue +Kongyi Zhou + + The method canAppendChild checks with schema to see if the child node can be appended + should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/testcases/tests/level3/validation/canAppendData.xml b/test/testcases/tests/level3/validation/canAppendData.xml new file mode 100644 index 0000000..305fa69 --- /dev/null +++ b/test/testcases/tests/level3/validation/canAppendData.xml @@ -0,0 +1,43 @@ + + + + + + + +canAppendData +Kongyi Zhou + + This method checks if given charactors can be appended + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canDeleteData.xml b/test/testcases/tests/level3/validation/canDeleteData.xml new file mode 100644 index 0000000..c6ef93a --- /dev/null +++ b/test/testcases/tests/level3/validation/canDeleteData.xml @@ -0,0 +1,43 @@ + + + + + + + +canDeleteData +Kongyi Zhou + + This method checks if given characters can be deleted from exitsting text + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canInsertBeforeFalse.xml b/test/testcases/tests/level3/validation/canInsertBeforeFalse.xml new file mode 100644 index 0000000..b060309 --- /dev/null +++ b/test/testcases/tests/level3/validation/canInsertBeforeFalse.xml @@ -0,0 +1,47 @@ + + + + + + + +canInsertBeforeFalse +Kongyi Zhou + + The method canInsertBefore checks with schema to see if a new child can be inserted + before reference node + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canInsertBeforeTrue.xml b/test/testcases/tests/level3/validation/canInsertBeforeTrue.xml new file mode 100644 index 0000000..fb341a7 --- /dev/null +++ b/test/testcases/tests/level3/validation/canInsertBeforeTrue.xml @@ -0,0 +1,51 @@ + + + + + + + +canInsertBeforeTrue +Kongyi Zhou + + The method canInsertBefore checks with schema to see if a new child can be inserted + before reference node + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canInsertData.xml b/test/testcases/tests/level3/validation/canInsertData.xml new file mode 100644 index 0000000..ef17ce3 --- /dev/null +++ b/test/testcases/tests/level3/validation/canInsertData.xml @@ -0,0 +1,44 @@ + + + + + + + +canInsertData +Kongyi Zhou + + This method checks if given characters can be inserted into exitsting text + at given position + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canRemoveAttributeFalse.xml b/test/testcases/tests/level3/validation/canRemoveAttributeFalse.xml new file mode 100644 index 0000000..b4e86c9 --- /dev/null +++ b/test/testcases/tests/level3/validation/canRemoveAttributeFalse.xml @@ -0,0 +1,40 @@ + + + + + + + +canRemoveAttributeFalse +Kongyi Zhou + + The method canSteAttribute checks if the 'inStock' attribute can be removed + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canRemoveAttributeNS.xml b/test/testcases/tests/level3/validation/canRemoveAttributeNS.xml new file mode 100644 index 0000000..80e5606 --- /dev/null +++ b/test/testcases/tests/level3/validation/canRemoveAttributeNS.xml @@ -0,0 +1,42 @@ + + + + + + + +canRemoveAttributeNS +Kongyi Zhou + + This method checks if the attribute with given namesapce and name can be removed + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canRemoveAttributeNode.xml b/test/testcases/tests/level3/validation/canRemoveAttributeNode.xml new file mode 100644 index 0000000..892668c --- /dev/null +++ b/test/testcases/tests/level3/validation/canRemoveAttributeNode.xml @@ -0,0 +1,41 @@ + + + + + + + +canRemoveAttribute +Kongyi Zhou + + The method canRemoveAttributeNode checks if given attribute node can be removed + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canRemoveAttributeTrue.xml b/test/testcases/tests/level3/validation/canRemoveAttributeTrue.xml new file mode 100644 index 0000000..3468828 --- /dev/null +++ b/test/testcases/tests/level3/validation/canRemoveAttributeTrue.xml @@ -0,0 +1,40 @@ + + + + + + + +canRemoveAttributeTrue +Kongyi Zhou + + The method canSteAttribute checks if the 'price' attribute can be removed + should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canRemoveChildFalse.xml b/test/testcases/tests/level3/validation/canRemoveChildFalse.xml new file mode 100644 index 0000000..6bd0966 --- /dev/null +++ b/test/testcases/tests/level3/validation/canRemoveChildFalse.xml @@ -0,0 +1,47 @@ + + + + + + + +canRemoveChildFalse +Kongyi Zhou + + The method canRemoveChild checks if schema allows the child to be removed + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canRemoveChildTrue.xml b/test/testcases/tests/level3/validation/canRemoveChildTrue.xml new file mode 100644 index 0000000..0fcbe59 --- /dev/null +++ b/test/testcases/tests/level3/validation/canRemoveChildTrue.xml @@ -0,0 +1,46 @@ + + + + + + + +canRemoveChildTrue +Kongyi Zhou + + The method canRemoveChild checks if schema allows the child to be removed + should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canReplaceChildFalse.xml b/test/testcases/tests/level3/validation/canReplaceChildFalse.xml new file mode 100644 index 0000000..1b47e9f --- /dev/null +++ b/test/testcases/tests/level3/validation/canReplaceChildFalse.xml @@ -0,0 +1,46 @@ + + + + + + + +canReplaceChildFalse +Kongyi Zhou + + The method canReplaceChild checks with schema to see if new child 'editor' can replace + old child title + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/testcases/tests/level3/validation/canReplaceChildTrue.xml b/test/testcases/tests/level3/validation/canReplaceChildTrue.xml new file mode 100644 index 0000000..a74d93a --- /dev/null +++ b/test/testcases/tests/level3/validation/canReplaceChildTrue.xml @@ -0,0 +1,47 @@ + + + + + + + +canReplaceChildTrue +Kongyi Zhou + + The method canReplaceChild checks with schema to see if new child 'editor' can replace + old child 'author' + should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/testcases/tests/level3/validation/canReplaceDataFalse.xml b/test/testcases/tests/level3/validation/canReplaceDataFalse.xml new file mode 100644 index 0000000..2f91b83 --- /dev/null +++ b/test/testcases/tests/level3/validation/canReplaceDataFalse.xml @@ -0,0 +1,43 @@ + + + + + + + +canReplaceDataFalse +Kongyi Zhou + + This method checks if given characters can replace exitsting text + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canReplaceDataTrue.xml b/test/testcases/tests/level3/validation/canReplaceDataTrue.xml new file mode 100644 index 0000000..7400e7b --- /dev/null +++ b/test/testcases/tests/level3/validation/canReplaceDataTrue.xml @@ -0,0 +1,43 @@ + + + + + + + +canReplaceDataTrue +Kongyi Zhou + + This method checks if given characters can replace exitsting text + should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canSetAttributeFalse.xml b/test/testcases/tests/level3/validation/canSetAttributeFalse.xml new file mode 100644 index 0000000..c2c9d17 --- /dev/null +++ b/test/testcases/tests/level3/validation/canSetAttributeFalse.xml @@ -0,0 +1,40 @@ + + + + + + + +canSetAttributeFalse +Kongyi Zhou + + The method canSetAttribute checks if a new attribute 'attr' can be set + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canSetAttributeNS.xml b/test/testcases/tests/level3/validation/canSetAttributeNS.xml new file mode 100644 index 0000000..d060237 --- /dev/null +++ b/test/testcases/tests/level3/validation/canSetAttributeNS.xml @@ -0,0 +1,42 @@ + + + + + + + +canSetAttributeNS +Kongyi Zhou + + The method canSetAttributeNS checks if an attribute with given namespace and name can be set + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canSetAttributeNode.xml b/test/testcases/tests/level3/validation/canSetAttributeNode.xml new file mode 100644 index 0000000..f713bf2 --- /dev/null +++ b/test/testcases/tests/level3/validation/canSetAttributeNode.xml @@ -0,0 +1,42 @@ + + + + + + + +canSetAttributeNode +Kongyi Zhou + + The method canSteAttribute checks if a new attribute node 'attname' can be set + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canSetAttributeTrue.xml b/test/testcases/tests/level3/validation/canSetAttributeTrue.xml new file mode 100644 index 0000000..863ec84 --- /dev/null +++ b/test/testcases/tests/level3/validation/canSetAttributeTrue.xml @@ -0,0 +1,40 @@ + + + + + + + +canSetAttributeTrue +Kongyi Zhou + + The method canSetAttribute checks if value attribute 'inStock' can be set + should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/canSetData.xml b/test/testcases/tests/level3/validation/canSetData.xml new file mode 100644 index 0000000..e345140 --- /dev/null +++ b/test/testcases/tests/level3/validation/canSetData.xml @@ -0,0 +1,43 @@ + + + + + + + +canSetData +Kongyi Zhou + + This method checks if given characters can be set as the content of element 'edition' + should return VAL_FALSE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/contentType.xml b/test/testcases/tests/level3/validation/contentType.xml new file mode 100644 index 0000000..ba23531 --- /dev/null +++ b/test/testcases/tests/level3/validation/contentType.xml @@ -0,0 +1,39 @@ + + + + + + + +contentType +Kongyi Zhou + + get the content type of element, should return VAL_ELEMENTS_CONTENTTYPE + should return 4 + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + \ No newline at end of file diff --git a/test/testcases/tests/level3/validation/defaultValue.xml b/test/testcases/tests/level3/validation/defaultValue.xml new file mode 100644 index 0000000..5ebb43e --- /dev/null +++ b/test/testcases/tests/level3/validation/defaultValue.xml @@ -0,0 +1,42 @@ + + + + + + + +defaultValue +Kongyi Zhou + + This method returns the default value of the element. + Should return null + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/definedElements.xml b/test/testcases/tests/level3/validation/definedElements.xml new file mode 100644 index 0000000..9feae1f --- /dev/null +++ b/test/testcases/tests/level3/validation/definedElements.xml @@ -0,0 +1,42 @@ + + + + + + + +definedElements +Kongyi Zhou + + This method retrieves all element declarations defined by schema + should return a NameList of length 8 + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/enumeratedValues.xml b/test/testcases/tests/level3/validation/enumeratedValues.xml new file mode 100644 index 0000000..22b907e --- /dev/null +++ b/test/testcases/tests/level3/validation/enumeratedValues.xml @@ -0,0 +1,46 @@ + + + + + + + +enumeratedValuess +Kongyi Zhou + + The method enumeratedValues returns a DOMStringList of enumerated values for + the element. + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/files/CVS/Entries b/test/testcases/tests/level3/validation/files/CVS/Entries new file mode 100644 index 0000000..04dec85 --- /dev/null +++ b/test/testcases/tests/level3/validation/files/CVS/Entries @@ -0,0 +1,3 @@ +/book.xml/1.1/Fri Apr 3 02:47:58 2009// +/book.xsd/1.1/Fri Apr 3 02:47:58 2009// +D diff --git a/test/testcases/tests/level3/validation/files/CVS/Repository b/test/testcases/tests/level3/validation/files/CVS/Repository new file mode 100644 index 0000000..edccdc4 --- /dev/null +++ b/test/testcases/tests/level3/validation/files/CVS/Repository @@ -0,0 +1 @@ +2001/DOM-Test-Suite/tests/level3/validation/files diff --git a/test/testcases/tests/level3/validation/files/CVS/Root b/test/testcases/tests/level3/validation/files/CVS/Root new file mode 100644 index 0000000..3c7177e --- /dev/null +++ b/test/testcases/tests/level3/validation/files/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/test/testcases/tests/level3/validation/files/CVS/Template b/test/testcases/tests/level3/validation/files/CVS/Template new file mode 100644 index 0000000..e69de29 diff --git a/test/testcases/tests/level3/validation/files/book.xml b/test/testcases/tests/level3/validation/files/book.xml new file mode 100644 index 0000000..b999b98 --- /dev/null +++ b/test/testcases/tests/level3/validation/files/book.xml @@ -0,0 +1,10 @@ + + +Compilers: Principles, Techniques, and Tools +Alfred V.Aho, Ravi Sethi, Jeffrey D. Ullman +0-201-10088-6 +Second +Addison Wesley + + diff --git a/test/testcases/tests/level3/validation/files/book.xsd b/test/testcases/tests/level3/validation/files/book.xsd new file mode 100644 index 0000000..1f395cd --- /dev/null +++ b/test/testcases/tests/level3/validation/files/book.xsd @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/getFeature01.xml b/test/testcases/tests/level3/validation/getFeature01.xml new file mode 100644 index 0000000..dc1ab17 --- /dev/null +++ b/test/testcases/tests/level3/validation/getFeature01.xml @@ -0,0 +1,44 @@ + + + + + + + + + getFeature01 + Curt Arnold + Call DOMImplementation.getFeature("Validation", "3.0"). + Not sure what should happen. Have requested clarification from WG. + 2004-01-05 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/getFeature02.xml b/test/testcases/tests/level3/validation/getFeature02.xml new file mode 100644 index 0000000..c30f2a0 --- /dev/null +++ b/test/testcases/tests/level3/validation/getFeature02.xml @@ -0,0 +1,41 @@ + + + + + + + + + getFeature02 + Curt Arnold + Call DOMImplementation.getFeature("+vAlIdAtIoN", "3.0"). + 2004-01-05 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/hasFeature01.xml b/test/testcases/tests/level3/validation/hasFeature01.xml new file mode 100644 index 0000000..e0f0831 --- /dev/null +++ b/test/testcases/tests/level3/validation/hasFeature01.xml @@ -0,0 +1,39 @@ + + + + + + + + + hasFeature01 + Curt Arnold + Implementations should return true for hasFeature("vAlIdAtIoN", "3.0"). + 2004-01-05 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/hasFeature02.xml b/test/testcases/tests/level3/validation/hasFeature02.xml new file mode 100644 index 0000000..08cb26d --- /dev/null +++ b/test/testcases/tests/level3/validation/hasFeature02.xml @@ -0,0 +1,40 @@ + + + + + + + + + HasFeature02 + Curt Arnold + Implementations should return true for hasFeature("vAlIdAtIoN", null). + 2004-01-05 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/hasFeature03.xml b/test/testcases/tests/level3/validation/hasFeature03.xml new file mode 100644 index 0000000..1fb2615 --- /dev/null +++ b/test/testcases/tests/level3/validation/hasFeature03.xml @@ -0,0 +1,42 @@ + + + + + + + + + hasFeature03 + Curt Arnold + Implementations should return true for hasFeature("cOrE", "2.0") and hasFeature("cOrE", null). + 2004-01-05 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/hasFeature04.xml b/test/testcases/tests/level3/validation/hasFeature04.xml new file mode 100644 index 0000000..f63ec01 --- /dev/null +++ b/test/testcases/tests/level3/validation/hasFeature04.xml @@ -0,0 +1,41 @@ + + + + + + + + + hasFeature04 + Curt Arnold + Implementations should return true for hasFeature("+vAlIdAtIoN", "3.0"). + 2003-12-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/isElementDefined.xml b/test/testcases/tests/level3/validation/isElementDefined.xml new file mode 100644 index 0000000..54cbc01 --- /dev/null +++ b/test/testcases/tests/level3/validation/isElementDefined.xml @@ -0,0 +1,43 @@ + + + + + + + +isElementDefined +Kongyi Zhou + + This method checks if element with given name is defined or not + should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/isElementDefinedNS.xml b/test/testcases/tests/level3/validation/isElementDefinedNS.xml new file mode 100644 index 0000000..d97190e --- /dev/null +++ b/test/testcases/tests/level3/validation/isElementDefinedNS.xml @@ -0,0 +1,43 @@ + + + + + + + +isElementDefinedNS +Kongyi Zhou + + This method checks if element with given namespace and name is defined or not + should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/metadata.xml b/test/testcases/tests/level3/validation/metadata.xml new file mode 100644 index 0000000..c3c6e71 --- /dev/null +++ b/test/testcases/tests/level3/validation/metadata.xml @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/test/testcases/tests/level3/validation/nodeValidity.xml b/test/testcases/tests/level3/validation/nodeValidity.xml new file mode 100644 index 0000000..d115ccb --- /dev/null +++ b/test/testcases/tests/level3/validation/nodeValidity.xml @@ -0,0 +1,39 @@ + + + + + + + +nodeValidity +Kongyi Zhou + + check node validity, should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/requiredAttributes.xml b/test/testcases/tests/level3/validation/requiredAttributes.xml new file mode 100644 index 0000000..acfa3c8 --- /dev/null +++ b/test/testcases/tests/level3/validation/requiredAttributes.xml @@ -0,0 +1,44 @@ + + + + + + + +requiredAttributes +Kongyi Zhou + + The method requiredAttributes returns the NameList of required attributes for + the element. + +Oracle Corp. +2003-03-01 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level3/validation/validateDocument.xml b/test/testcases/tests/level3/validation/validateDocument.xml new file mode 100644 index 0000000..dd8b380 --- /dev/null +++ b/test/testcases/tests/level3/validation/validateDocument.xml @@ -0,0 +1,36 @@ + + + + + + + +validateDocument +Kongyi Zhou + + validate the document, should return VAL_TRUE + +Oracle Corp. +2003-03-01 + + + + + + + + + + -- cgit v1.2.3