-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using ATL.AudioData; | ||
|
||
namespace ATL.test.IO.MetaData | ||
{ | ||
[TestClass] | ||
public class OPUS : MetaIOTest | ||
{ | ||
public OPUS() | ||
{ | ||
emptyFile = "OPUS/empty.opus"; | ||
notEmptyFile = "OPUS/opus.opus"; | ||
tagType = MetaDataIOFactory.TagType.NATIVE; | ||
|
||
testData.Conductor = null; | ||
testData.Date = DateTime.Parse("1997-06-20"); | ||
testData.PublishingDate = DateTime.Parse("1998-07-21"); | ||
testData.CatalogNumber = "44887733"; | ||
} | ||
|
||
[TestMethod] | ||
public void TagIO_R_OPUS_simple() | ||
{ | ||
new ConsoleLogger(); | ||
|
||
string location = TestUtils.GetResourceLocationRoot() + notEmptyFile; | ||
AudioDataManager theFile = new AudioDataManager(AudioDataIOFactory.GetInstance().GetFromPath(location)); | ||
|
||
readExistingTagsOnFile(theFile); | ||
} | ||
|
||
[TestMethod] | ||
public void TagIO_RW_OPUS_Empty() | ||
{ | ||
test_RW_Empty(emptyFile, true, true, true, false); | ||
} | ||
|
||
[TestMethod] | ||
public void tagIO_RW_OPUS_Existing() | ||
{ | ||
test_RW_Existing(notEmptyFile, 2); | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters