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