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 --- .../tests/level2/core/elementhasattribute03.xml | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 test/testcases/tests/level2/core/elementhasattribute03.xml (limited to 'test/testcases/tests/level2/core/elementhasattribute03.xml') diff --git a/test/testcases/tests/level2/core/elementhasattribute03.xml b/test/testcases/tests/level2/core/elementhasattribute03.xml new file mode 100644 index 0000000..c86d2ab --- /dev/null +++ b/test/testcases/tests/level2/core/elementhasattribute03.xml @@ -0,0 +1,47 @@ + + + + + + + elementhasattribute03 + IBM + + The method hasAttribute returns true when an attribute with a given name is specified + on this element or has a default value, false otherwise. + + Create an element Node and an attribute Node. Invoke hasAttribute method + to verify that there is no attribute. Append the attribute node to the element node. + Invoke the hasAttribute method on the element and verify if it returns true. + + Neil Delima + 2002-04-28 + + + + + + + + + + + + + + + + -- cgit v1.2.3