added new failing test

This commit is contained in:
jez_higgins 2005-08-02 11:00:35 +00:00
parent 02bbe4c6e6
commit 50f169b1c7

View file

@ -120,6 +120,12 @@ class SAXTest : public TestCase
DOM::Attr<std::string> attr = elem.getAttributeNode("attr");
assertEquals(false, attr.hasNamespaceURI());
} // test9
void test10()
{
DOM::Document<std::string> d = parse("<elem stuff:attr='something' poop:attr='fail' xmlns:stuff='http://example.com/stuff'/>");
assert(d == 0);
} // test10
};
TestSuite* SAXTest_suite()
@ -134,6 +140,7 @@ TestSuite* SAXTest_suite()
suiteOfTests->addTest(new TestCaller<SAXTest>("test7", &SAXTest::test7));
suiteOfTests->addTest(new TestCaller<SAXTest>("test8", &SAXTest::test8));
suiteOfTests->addTest(new TestCaller<SAXTest>("test9", &SAXTest::test9));
suiteOfTests->addTest(new TestCaller<SAXTest>("test10", &SAXTest::test10));
return suiteOfTests;
} // MathTest_suite