public async Task HtmlXmlLangAttribute() { await Init(); Assert.IsTrue(SchemaTestFixtureBase.Contains(attributes, "xml:lang"), "Attribute xml:lang not found."); }
public async Task TextElementAttributeName() { var attributesCompletionData = await SchemaCompletionData.GetAttributeCompletionDataAsync(DummyCompletionSource.Instance, textElementPath, CancellationToken.None); Assert.IsTrue(SchemaTestFixtureBase.Contains(attributesCompletionData, "foo"), "Unexpected text attribute name."); }
public void HtmlChildElementBody() { Assert.IsTrue(SchemaTestFixtureBase.Contains(htmlChildElements, "body"), "Should have a child element called body."); }
public async Task HtmlDirAttribute() { await Init(); Assert.IsTrue(SchemaTestFixtureBase.Contains(attributes, "dir"), "Attribute dir not found."); }
public void BarAttributeValueDefaultDocumentation() { Assert.IsTrue(SchemaTestFixtureBase.ContainsDescription(barAttributeValuesCompletionData, "default", "Default attribute value info."), "Description for attribute value 'default' is incorrect."); }
public void HtmlChildElementHead() { Assert.IsTrue(SchemaTestFixtureBase.Contains(htmlChildElements, "head"), "Should have a child element called head."); }
public async Task FileElementIsChildOfItemsElement() { await Init(); Assert.IsTrue(SchemaTestFixtureBase.Contains(itemsElementChildren, "file")); }
public async Task FileElementHasAttributeNamedType() { await Init(); Assert.IsTrue(SchemaTestFixtureBase.Contains(fileElementAttributes, "type")); }
public void IdAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeCompletionData, "id"), "Attribute id does not exist."); }
public void BaseTitleAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeCompletionData, "basetitle"), "Attribute basetitle does not exist."); }
public void NameAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(attributeCompletionData, "name"), "Attribute name does not exist."); }
public async Task BodyAttributeName() { await Init(); Assert.IsTrue(SchemaTestFixtureBase.Contains(bodyAttributes, "id"), "Attribute id not found."); }
public void FooElementHasIdAttribute() { Assert.IsTrue(SchemaTestFixtureBase.Contains(fooAttributes, "id"), "Should have an attribute called id."); }
public void RootChildElementIsBar() { Assert.IsTrue(SchemaTestFixtureBase.Contains(rootChildElements, "bar"), "Should have a child element called bar."); }
public void RootChildElementIsFoo() { Assert.IsTrue(SchemaTestFixtureBase.Contains(rootChildElements, "foo"), "Should have a child element called foo."); }