Inheritance Hierarchy
DeltaEngine.Content.Disk.Tests MetaDataCreatorTests
Namespace: DeltaEngine.Content.Disk.Tests
Assembly: DeltaEngine.Content.Disk.Tests (in DeltaEngine.Content.Disk.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MetaDataCreatorTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MetaDataCreatorTests | Initializes a new instance of the MetaDataCreatorTests class |
Methods
Name | Description | |
---|---|---|
DisposeContentLoader | ||
IfNamesAreJustNumbersDoNotCreateSequence | ||
TryCreatingAnimationFromFiles |
Examples
[Test, Ignore] public void TryCreatingAnimationFromFiles() { File.Delete(Path.Combine("Content", "ContentMetaData.xml")); ContentLoader.Use<DiskContentLoader>(); Assert.IsTrue(ContentLoader.Exists("ImageAnimation", ContentType.ImageAnimation)); }
[Test] public void IfNamesAreJustNumbersDoNotCreateSequence() { ContentDiskTestsExtensions.CreateImage(Path.Combine("Content", "1.png"), Size.One); ContentDiskTestsExtensions.CreateImage(Path.Combine("Content", "2.png"), Size.One); ContentDiskTestsExtensions.CreateImage(Path.Combine("Content", "3.png"), Size.One); Assert.DoesNotThrow(ContentLoader.Use<DiskContentLoader>); }
See Also