Add missfile ParseFile test; add notes

This commit is contained in:
Matt Nadareski
2025-02-14 14:49:48 -05:00
parent e4b6bb86fd
commit 2056afacb9
3 changed files with 9 additions and 0 deletions

View File

@@ -1196,6 +1196,13 @@ namespace SabreTools.DatFiles.Test
Assert.True(actual.SequenceEqual(AllTypes));
}
[Fact]
public void Missfile_ParseFile_Throws()
{
var datFile = new Missfile(null);
Assert.Throws<NotImplementedException>(() => datFile.ParseFile("path", 0, true));
}
#endregion
#region OfflineList

View File

@@ -15,6 +15,7 @@ namespace SabreTools.DatFiles.Formats
/// <summary>
/// Represents parsing and writing of a reference SabreDAT JSON
/// </summary>
/// TODO: Transform this into direct serialization and deserialization of the Metadata type
public sealed class SabreJSON : DatFile
{
/// <inheritdoc/>

View File

@@ -12,6 +12,7 @@ namespace SabreTools.DatFiles.Formats
/// <summary>
/// Represents parsing and writing of a SabreDAT XML
/// </summary>
/// TODO: Transform this into direct serialization and deserialization of the Metadata type
public sealed class SabreXML : DatFile
{
/// <inheritdoc/>