Ejemplo n.º 1
0
 public void EnumHasValueAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(enumAttributes, "value"),
                   "Attribute value missing.");
 }
 public void RootChildElementIsBar()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(rootChildElements, "bar"),
                   "Should have a child element called bar.");
 }
Ejemplo n.º 3
0
 public void FileAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(attributes, "file"),
                   "Attribute file does not exist.");
 }
Ejemplo n.º 4
0
 public void NameAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeCompletionData, "name"),
                   "Attribute name does not exist.");
 }
Ejemplo n.º 5
0
 public void BaseTitleAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeCompletionData, "basetitle"),
                   "Attribute basetitle does not exist.");
 }
Ejemplo n.º 6
0
 public void SchemaChildElementIsImport()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(schemaChildElements, "import"),
                   "Should have a child element called import.");
 }
Ejemplo n.º 7
0
 public void FooHasClassAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(fooAttributes, "class"),
                   "Should have an attribute called class.");
 }
Ejemplo n.º 8
0
 public void MaxOccursAttributeHasValueUnbounded()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(maxOccursAttributeValues, "unbounded"),
                   "Attribute value 'unbounded' missing.");
 }
Ejemplo n.º 9
0
 public void AllElementHasElementChildElement()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(allElementChildElements, "xs:element"),
                   "Should have an child element called 'element'.");
 }
Ejemplo n.º 10
0
 public void FinalDefaultAttributeHasValueList()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(finalDefaultAttributeValues, "list"),
                   "Attribute value 'list' missing.");
 }
Ejemplo n.º 11
0
 public void MixedAttributeHasValueTrue()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(mixedAttributeValues, "true"),
                   "Attribute value 'true' missing.");
 }
Ejemplo n.º 12
0
 public void BlockDefaultAttributeHasValueExtension()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(blockDefaultAttributeValues, "extension"),
                   "Attribute value 'extension' missing.");
 }
Ejemplo n.º 13
0
 public void BlockDefaultAttributeHasValueAll()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(blockDefaultAttributeValues, "#all"),
                   "Attribute value '#all' missing.");
 }
Ejemplo n.º 14
0
 public void ElementFormDefaultAttributeHasValueQualified()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(elementFormDefaultAttributeValues, "qualified"),
                   "Attribute value 'qualified' missing.");
 }
Ejemplo n.º 15
0
 public void AppInfoHasIdAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(appInfoAttributes, "id"),
                   "Should have an attribute called id.");
 }
Ejemplo n.º 16
0
 public void AllElementAnnotationHasDocumentationChildElement()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(allElementAnnotationChildElements, "xs:documentation"),
                   "Should have documentation child element.");
 }
Ejemplo n.º 17
0
 public void SchemaChildElementIsInclude()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(schemaChildElements, "include"),
                   "Should have a child element called include.");
 }
Ejemplo n.º 18
0
 public void FileElementIsChildOfItemsElement()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(itemsElementChildren, "file"));
 }
Ejemplo n.º 19
0
 public void SchemaChildElementIsNotation()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(schemaChildElements, "notation"),
                   "Should have a child element called notation.");
 }
Ejemplo n.º 20
0
 public void FileElementHasAttributeNamedType()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(fileElementAttributes, "type"));
 }
Ejemplo n.º 21
0
 public void AnnotationHasIdAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(annotationAttributes, "id"),
                   "Should have an attribute called id.");
 }
Ejemplo n.º 22
0
 public void NoteChildElementIsTitle()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(noteChildElements, "title"),
                   "Should have a child element called title.");
 }
Ejemplo n.º 23
0
 public void IdAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeCompletionData, "id"),
                   "Attribute id does not exist.");
 }
Ejemplo n.º 24
0
 public void AnnotationChildElementIsAppInfo()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(annotationChildElements, "appinfo"),
                   "Should have a child element called appinfo.");
 }
 public void RootChildElementIsFoo()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(rootChildElements, "foo"),
                   "Should have a child element called foo.");
 }
Ejemplo n.º 26
0
 public void AnnotationChildElementIsDocumentation()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(annotationChildElements, "documentation"),
                   "Should have a child element called documentation.");
 }
 public void FooElementHasIdAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(fooAttributes, "id"),
                   "Should have an attribute called id.");
 }
Ejemplo n.º 28
0
 public void IncludeHasSchemaLocationAttribute()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(includeAttributes, "schemaLocation"),
                   "Should have an attribute called schemaLocation.");
 }
Ejemplo n.º 29
0
 public void BodyChildElementForm()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(childElements, "form"),
                   "Should have a child element called form.");
 }
Ejemplo n.º 30
0
 public void SimpleRestrictionTypeHasEnumChildElement()
 {
     Assert.IsTrue(SchemaTestFixtureBase.Contains(simpleEnumElements, "xs:enumeration"),
                   "enumeration element missing.");
 }