Example #1
0
        public void Gedcom2XMLParserConstructorTest()
        {
            SetupTestVariables();
            Gedcom2XMLParser target = new Gedcom2XMLParser(gedcomDocumentName, xmlDocumentName);

            Assert.IsNotNull(target);
        }
Example #2
0
        public void loadGedcomDataTest()
        {
            SetupTestVariables();
            Gedcom2XMLParser target = new Gedcom2XMLParser(gedcomDocumentName, xmlDocumentName);

            result = target.loadGedcomData();
            Assert.IsTrue(result);
        }
Example #3
0
        public void saveDocTest()
        {
            SetupTestVariables();
            Gedcom2XMLParser target = new Gedcom2XMLParser(gedcomDocumentName, xmlDocumentName);

            target.loadGedcomData();
            target.processGedcomDataToXML();
            result = target.saveDoc();
            Assert.IsTrue(result);
        }