XmlMetaDataExtensionsTests ConvertMinimumContentMetaDataToXml Method Delta Engine Documentation

Namespace: DeltaEngine.Content.Xml.Tests
Assembly: DeltaEngine.Content.Xml.Tests (in DeltaEngine.Content.Xml.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ConvertMinimumContentMetaDataToXml()
Examples

[Test]
public void ConvertMinimumContentMetaDataToXml()
{
    ContentMetaData testMetaData = GetMinimumTestContentMetaData();
    Assert.IsEmpty(projectMetaData.Children);
    projectMetaData.AddMetaDataEntry(testMetaData);
    Assert.AreEqual(1, projectMetaData.Children.Count);
    AssertMinimumContentMetaData(projectMetaData.Children[0], testMetaData.Name,
        testMetaData.Type.ToString(), testMetaData.LastTimeUpdated);
}
See Also