public void ThirdGenerationData() { // Act Hashtable data = XmlDataSource.GetDataBlock(typeof(XmlDataSourceTest), "XmlDataSource.xml", "currentaddress"); // Assert AssertCurrentAddress(data); }
public void SecondGenerationData() { // Act Hashtable data = XmlDataSource.GetDataBlock(typeof(XmlDataSourceTest), "XmlDataSource.xml", "dateofbirth"); // Assert AssertDateOfBirth(data); }
public void FirstGenerationData() { // Act Hashtable data = XmlDataSource.GetDataBlock(typeof(XmlDataSourceTest), "XmlDataSource.xml", "name"); // Assert AssertName(data); }
public void OverriddenData() { // Act Hashtable data = XmlDataSource.GetDataBlock(typeof(XmlDataSourceTest), "XmlDataSource.xml", "motorcyclewithsidecar"); // Assert Assert.AreEqual("3", data["numberofwheels"]); }
public void InvalidId() { // Act XmlDataSource.GetDataBlock(typeof(XmlDataSourceTest), "XmlDataSource.xml", "invalidid"); }
public void InvalidDataSource() { // Act XmlDataSource.GetDataBlock(typeof(XmlDataSourceTest), "InvalidFileName.xml", "indifferent"); }