public void FileExtensionConvertedFromString() { XmlSchemaFileAssociation expectedSchemaAssociation = new XmlSchemaFileAssociation("ext", String.Empty); XmlSchemaFileAssociation schemaAssociation = XmlSchemaFileAssociation.ConvertFromString("ext||"); Assert.AreEqual(expectedSchemaAssociation, schemaAssociation); }
public void FileExtensionAndNamespaceUriConvertedFromString() { XmlSchemaFileAssociation expectedSchemaAssociation = new XmlSchemaFileAssociation("ext", "namespace-uri"); XmlSchemaFileAssociation schemaAssociation = XmlSchemaFileAssociation.ConvertFromString("ext|namespace-uri|"); Assert.AreEqual(expectedSchemaAssociation, schemaAssociation); }
public void EmpyStringConverted() { XmlSchemaFileAssociation expectedSchemaAssociation = new XmlSchemaFileAssociation(String.Empty, String.Empty); Assert.AreEqual(expectedSchemaAssociation, XmlSchemaFileAssociation.ConvertFromString(String.Empty)); }