Home
last modified time | relevance | path

Searched refs:doc2 (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_minidom.py567 doc2 = doc.cloneNode(0)
568 self.confirm(doc2 is None,
579 doc2 = doc.cloneNode(1)
580 self.confirm(not (doc.isSameNode(doc2) or doc2.isSameNode(doc)),
582 self.confirm(len(doc.childNodes) == len(doc2.childNodes),
584 self.confirm(doc2.documentElement.nodeType == Node.ELEMENT_NODE,
586 self.confirm(doc2.documentElement.ownerDocument.isSameNode(doc2),
588 self.confirm(not doc.documentElement.isSameNode(doc2.documentElement),
592 self.confirm(doc2.doctype.nodeType == Node.DOCUMENT_TYPE_NODE,
594 self.confirm(doc2.doctype.ownerDocument.isSameNode(doc2))
[all …]
Dtest_exceptions.py615 doc2 = "This is a test docstring."
628 error2 = _testcapi.make_exception_with_doc("_testcapi.error2", doc2)
629 self.assertEqual(error2.__doc__, doc2)
/external/python/cpython3/Lib/test/
Dtest_minidom.py633 doc2 = dom2.documentElement
634 self.assertFalse(doc2.hasChildNodes())
693 doc2 = doc.cloneNode(0)
694 self.confirm(doc2 is None,
705 doc2 = doc.cloneNode(1)
706 self.confirm(not (doc.isSameNode(doc2) or doc2.isSameNode(doc)),
708 self.confirm(len(doc.childNodes) == len(doc2.childNodes),
710 self.confirm(doc2.documentElement.nodeType == Node.ELEMENT_NODE,
712 self.confirm(doc2.documentElement.ownerDocument.isSameNode(doc2),
714 self.confirm(not doc.documentElement.isSameNode(doc2.documentElement),
[all …]
Dtest_exceptions.py1122 doc2 = "This is a test docstring."
1135 error2 = _testcapi.make_exception_with_doc("_testcapi.error2", doc2)
1136 self.assertEqual(error2.__doc__, doc2)
/external/tinyxml2/
Dxmltest.cpp553 XMLDocument doc2; in main() local
554 doc2.LoadFile( "resources/out/dreamout.xml" ); in main()
555 XMLTest( "Load dreamout.xml", false, doc2.Error() ); in main()
557 doc2.FirstChild()->ToDeclaration()->Value() ); in main()
558 XMLTest( "Dream-out", true, doc2.FirstChild()->NextSibling()->ToUnknown() != 0 ); in main()
560 doc2.FirstChild()->NextSibling()->ToUnknown()->Value() ); in main()
562 doc2.LastChild()->LastChild()->LastChild()->LastChild()->LastChildElement()->GetText() ); in main()
1443 XMLDocument doc2; in main() local
1458 XMLNode* root = doc.RootElement()->DeepClone(&doc2); in main()
1459 doc2.InsertFirstChild(root); in main()
[all …]
/external/libxml2/result/HTML/
Ddoc2.htm.err1 ./test/HTML/doc2.htm:10: HTML parser error : Misplaced DOCTYPE declaration
/external/llvm/unittests/Support/
DYAMLIOTest.cpp1462 FooBarMap doc2; in TEST() local
1463 doc2.foo = 257; in TEST()
1464 doc2.bar = 0; in TEST()
1467 docList.push_back(doc2); in TEST()
1685 FlowFooBarDoc doc2; in TEST() local
1686 yin >> doc2; in TEST()
1689 EXPECT_EQ(doc2.attribute.foo, 42); in TEST()
1690 EXPECT_EQ(doc2.attribute.bar, 907); in TEST()
1691 EXPECT_EQ(doc2.seq.size(), 3UL); in TEST()
1692 EXPECT_EQ(doc2.seq[0].foo, 1); in TEST()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/sym/
DTestByteBasedSymbols.java47 String doc2 = createDoc(FIELD_NAMES, false); in testSharedSymbols() local
52 JsonParser jp2 = createParser(jf, doc2); in testSharedSymbols()
/external/fonttools/Tests/designspaceLib/
Ddesignspace_test.py743 doc2 = DesignSpaceDocument()
744 doc2.read(testDocPath)
745 assert doc2.rulesProcessingLast
746 assert len(doc2.axes) == 2
747 assert len(doc2.rules) == 1
748 assert len(doc2.rules[0].conditionSets) == 2
749 doc2.write(testDocPath2)
/external/llvm-project/llvm/unittests/Support/
DYAMLIOTest.cpp1654 FooBarMap doc2; in TEST() local
1655 doc2.foo = 257; in TEST()
1656 doc2.bar = 0; in TEST()
1659 docList.push_back(doc2); in TEST()
1877 FlowFooBarDoc doc2; in TEST() local
1878 yin >> doc2; in TEST()
1881 EXPECT_EQ(doc2.attribute.foo, 42); in TEST()
1882 EXPECT_EQ(doc2.attribute.bar, 907); in TEST()
1883 EXPECT_EQ(doc2.seq.size(), 3UL); in TEST()
1884 EXPECT_EQ(doc2.seq[0].foo, 1); in TEST()
[all …]
/external/expat/tests/
Druntests.c7484 const char *const doc2 = "<doc><elem/></doc>"; in START_TEST() local
7493 result = XML_Parse(parser, doc2, (int)strlen(doc2), 1); in START_TEST()
/external/libxml2/
DChangeLog1533 * result/HTML/doc2.htm.sax result/HTML/doc3.htm.sax
16321 * result/HTML/doc2.htm result/HTML/doc3.htm result/HTML/fp40.htm