mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-29 08:36:45 +01:00
added new failing test
This commit is contained in:
parent
02bbe4c6e6
commit
50f169b1c7
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue