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)); 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 #endregion
#region OfflineList #region OfflineList

View File

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

View File

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