Beispiel #1
0
 public void IsValidFlagTest()
 {
     string xmlFile = XmlFile;
     string schemaFile = XmlSchemaFile;
     XmlValidator_Accessor target = new XmlValidator_Accessor(xmlFile, schemaFile);
     bool expected = true;
     bool actual;
     target.IsValidFlag = expected;
     actual = target.IsValidFlag;
     Assert.AreEqual(expected, actual);
 }
Beispiel #2
0
 public void XmlFileTest()
 {
     string xmlFile = XmlFile;
     string schemaFile = XmlSchemaFile;
     XmlValidator_Accessor target = new XmlValidator_Accessor(xmlFile, schemaFile);
     string expected = xmlFile;
     string actual;
     target.XmlFile = expected;
     actual = target.XmlFile;
     Assert.AreEqual(expected, actual);
 }