diff --git a/test/NodeListTest.vala b/test/NodeListTest.vala new file mode 100644 index 0000000000000000000000000000000000000000..d845289c069dbbd393e31231bd0fb180492482d5 --- /dev/null +++ b/test/NodeListTest.vala @@ -0,0 +1,22 @@ +/* -*- Mode: vala; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +using GXml.Dom; + +class NodeListTest { + private static Document get_doc () { + Document doc = null; + try { + doc = new Document.for_path ("test.xml"); + } catch (DomError e) { + } + return doc; + } + + private static Element get_elem (string name) { + return get_doc ().create_element (name); + } + + public static void add_tests () { + Test.add_func ("/gxml/nodelist/length", () => { + }); + } +}