mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Remove PassesFilter placeholder
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using SabreTools.Core.Filter;
|
||||
using SabreTools.DatItems.Formats;
|
||||
using Xunit;
|
||||
|
||||
@@ -27,6 +28,21 @@ namespace SabreTools.DatItems.Test
|
||||
|
||||
#endregion
|
||||
|
||||
private static readonly FilterRunner _filterRunner;
|
||||
|
||||
static DatItemTests()
|
||||
{
|
||||
FilterObject[] filters =
|
||||
[
|
||||
new FilterObject("header.author", "auth", Operation.Equals),
|
||||
new FilterObject("machine.description", "desc", Operation.Equals),
|
||||
new FilterObject("item.name", "name", Operation.Equals),
|
||||
new FilterObject("rom.crc", "crc", Operation.Equals),
|
||||
];
|
||||
|
||||
_filterRunner = new FilterRunner(filters);
|
||||
}
|
||||
|
||||
#region CopyMachineInformation
|
||||
|
||||
[Fact]
|
||||
@@ -572,14 +588,6 @@ namespace SabreTools.DatItems.Test
|
||||
|
||||
#endregion
|
||||
|
||||
#region PassesFilter
|
||||
|
||||
// TODO: Implement PassesFilter tests
|
||||
// Does this need a test? Filter functionality
|
||||
// is already covered pretty thoroughly...
|
||||
|
||||
#endregion
|
||||
|
||||
#region GetKey
|
||||
|
||||
// TODO: Implement GetKey tests
|
||||
|
||||
Reference in New Issue
Block a user