public void AnnotationChildElementIsAppInfo() { Assert.IsTrue(SchemaTestFixtureBase.Contains(annotationChildElements, "appinfo"), "Should have a child element called appinfo."); }
public void AllElementHasElementChildElement() { Assert.IsTrue(SchemaTestFixtureBase.Contains(allElementChildElements, "xs:element"), "Should have an child element called 'element'."); }
public void FileElementIsChildOfItemsElement() { Assert.IsTrue(SchemaTestFixtureBase.Contains(itemsElementChildren, "file")); }
public void BlockDefaultAttributeHasValueExtension() { Assert.IsTrue(SchemaTestFixtureBase.Contains(blockDefaultAttributeValues, "extension"), "Attribute value 'extension' missing."); }
public void MixedAttributeHasValueTrue() { Assert.IsTrue(SchemaTestFixtureBase.Contains(mixedAttributeValues, "true"), "Attribute value 'true' missing."); }
public void SimpleRestrictionTypeHasEnumChildElement() { Assert.IsTrue(SchemaTestFixtureBase.Contains(simpleEnumElements, "xs:enumeration"), "enumeration element missing."); }
public void ElementFormDefaultAttributeHasValueQualified() { Assert.IsTrue(SchemaTestFixtureBase.Contains(elementFormDefaultAttributeValues, "qualified"), "Attribute value 'qualified' missing."); }
public void SchemaChildElementIsNotation() { Assert.IsTrue(SchemaTestFixtureBase.Contains(schemaChildElements, "notation"), "Should have a child element called notation."); }
public void FooHasClassAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(fooAttributes, "class"), "Should have an attribute called class."); }
public void SchemaChildElementIsInclude() { Assert.IsTrue(SchemaTestFixtureBase.Contains(schemaChildElements, "include"), "Should have a child element called include."); }
public void SchemaChildElementIsImport() { Assert.IsTrue(SchemaTestFixtureBase.Contains(schemaChildElements, "import"), "Should have a child element called import."); }
public void AppInfoHasIdAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(appInfoAttributes, "id"), "Should have an attribute called id."); }
public void IncludeHasSchemaLocationAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(includeAttributes, "schemaLocation"), "Should have an attribute called schemaLocation."); }
public void AnnotationChildElementIsDocumentation() { Assert.IsTrue(SchemaTestFixtureBase.Contains(annotationChildElements, "documentation"), "Should have a child element called documentation."); }
public void ElementNameAttributeAppearsOnce() { int nameAttributeCount = SchemaTestFixtureBase.GetItemCount(elementAttributes, "name"); Assert.AreEqual(1, nameAttributeCount, "Should be only one name attribute."); }
public void AnnotationHasIdAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(annotationAttributes, "id"), "Should have an attribute called id."); }
public void ElementHasIdAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(elementAttributes, "id"), "id attribute missing."); }
public void IdAttributeHasValueOne() { Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeValues, "one"), "Missing attribute value 'one'"); }
public void EnumHasValueAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(enumAttributes, "value"), "Attribute value missing."); }
public void IdAttributeHasValueTwo() { Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeValues, "two"), "Missing attribute value 'two'"); }
public void BlockDefaultAttributeHasValueAll() { Assert.IsTrue(SchemaTestFixtureBase.Contains(blockDefaultAttributeValues, "#all"), "Attribute value '#all' missing."); }
public void BarAttributeExists() { Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeCompletionData, "bar"), "Attribute bar does not exist."); }
public void FinalDefaultAttributeHasValueList() { Assert.IsTrue(SchemaTestFixtureBase.Contains(finalDefaultAttributeValues, "list"), "Attribute value 'list' missing."); }
public void ChoiceHasMaxOccursAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(choiceAttributes, "maxOccurs"), "Attribute maxOccurs missing."); }
public void MaxOccursAttributeHasValueUnbounded() { Assert.IsTrue(SchemaTestFixtureBase.Contains(maxOccursAttributeValues, "unbounded"), "Attribute value 'unbounded' missing."); }
public void ChoiceDoesNotHaveNameAttribute() { Assert.IsFalse(SchemaTestFixtureBase.Contains(choiceAttributes, "name"), "Attribute name should not exist."); }
public void AllElementAnnotationHasDocumentationChildElement() { Assert.IsTrue(SchemaTestFixtureBase.Contains(allElementAnnotationChildElements, "xs:documentation"), "Should have documentation child element."); }
public void ChoiceDoesNotHaveRefAttribute() { Assert.IsFalse(SchemaTestFixtureBase.Contains(choiceAttributes, "ref"), "Attribute ref should not exist."); }
public void FileElementHasAttributeNamedType() { Assert.IsTrue(SchemaTestFixtureBase.Contains(fileElementAttributes, "type")); }
public void TitleAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeCompletionData, "title"), "Attribute title does not exist."); }