public void FooElementHasIdAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(fooAttributes, "id"), "Should have an attribute called id."); }
public void ShipOrderAttributeName() { Assert.IsTrue(SchemaTestFixtureBase.Contains(shipOrderAttributes, "id"), "Incorrect shiporder attribute name."); }
public void BarElementDocumentation() { Assert.IsTrue(SchemaTestFixtureBase.ContainsDescription(fooChildElementCompletionData, "bar", "Documentation for bar element."), "Missing documentation for bar element"); }
public void RootChildElementIsBar() { Assert.IsTrue(SchemaTestFixtureBase.Contains(rootChildElements, "bar"), "Should have a child element called bar."); }
public void FileElementIsChildOfItemsElement() { Assert.IsTrue(SchemaTestFixtureBase.Contains(itemsElementChildren, "file")); }
public void TextElementAttributeName() { ICompletionData[] attributesCompletionData = SchemaCompletionData.GetAttributeCompletionData(textElementPath); Assert.IsTrue(SchemaTestFixtureBase.Contains(attributesCompletionData, "foo"), "Unexpected text attribute name."); }
public void SchemaChildElementIsInclude() { Assert.IsTrue(SchemaTestFixtureBase.Contains(schemaChildElements, "include"), "Should have a child element called include."); }
public void ShipToHasAddressChildElement() { ICompletionData[] data = SchemaCompletionData.GetChildElementCompletionData(shipToPath); Assert.IsTrue(SchemaTestFixtureBase.Contains(data, "address"), "Incorrect child element name."); }
public void IncludeHasSchemaLocationAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(includeAttributes, "schemaLocation"), "Should have an attribute called schemaLocation."); }
public void AppInfoHasIdAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(appInfoAttributes, "id"), "Should have an attribute called id."); }
public void AnnotationChildElementIsDocumentation() { Assert.IsTrue(SchemaTestFixtureBase.Contains(annotationChildElements, "documentation"), "Should have a child element called documentation."); }
public void AnnotationChildElementIsAppInfo() { Assert.IsTrue(SchemaTestFixtureBase.Contains(annotationChildElements, "appinfo"), "Should have a child element called appinfo."); }
public void AnnotationHasIdAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(annotationAttributes, "id"), "Should have an attribute called id."); }
public void ShipToAttributeName() { Assert.IsTrue(SchemaTestFixtureBase.Contains(shipToAttributes, "address"), "Incorrect shipto attribute name."); }
public void SchemaChildElementIsImport() { Assert.IsTrue(SchemaTestFixtureBase.Contains(schemaChildElements, "import"), "Should have a child element called import."); }
public void ShipOrderHasShipToChildElement() { ICompletionData[] data = SchemaCompletionData.GetChildElementCompletionData(shipOrderPath); Assert.IsTrue(SchemaTestFixtureBase.Contains(data, "shipto"), "Incorrect child element name."); }
public void SchemaChildElementIsNotation() { Assert.IsTrue(SchemaTestFixtureBase.Contains(schemaChildElements, "notation"), "Should have a child element called notation."); }
public void BarAttributeExists() { Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeCompletionData, "bar"), "Attribute bar does not exist."); }
public void FooHasClassAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(fooAttributes, "class"), "Should have an attribute called class."); }
public void FileElementHasAttributeNamedType() { Assert.IsTrue(SchemaTestFixtureBase.Contains(fileElementAttributes, "type")); }
public void RootChildElementIsFoo() { Assert.IsTrue(SchemaTestFixtureBase.Contains(rootChildElements, "foo"), "Should have a child element called foo."); }
public void BarAttributeValueDefaultDocumentation() { Assert.IsTrue(SchemaTestFixtureBase.ContainsDescription(barAttributeValuesCompletionData, "default", "Default attribute value info."), "Description for attribute value 'default' is incorrect."); }
public void NoteChildElementIsTitle() { Assert.IsTrue(SchemaTestFixtureBase.Contains(noteChildElements, "title"), "Should have a child element called title."); }