mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Consolidate error number enumerations.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
using System.IO;
|
||||
using Aaru.Checksums;
|
||||
using Aaru.CommonTypes.Enums;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
using Aaru.CommonTypes.Structs;
|
||||
using Aaru.Filters;
|
||||
@@ -94,7 +95,7 @@ namespace Aaru.Tests.Filters
|
||||
public void Test()
|
||||
{
|
||||
IFilter filter = new MacBinary();
|
||||
Assert.AreEqual(Errno.NoError, filter.Open(_location));
|
||||
Assert.AreEqual(ErrorNumber.NoError, filter.Open(_location));
|
||||
Assert.AreEqual(737280, filter.DataForkLength);
|
||||
Assert.AreNotEqual(null, filter.GetDataForkStream());
|
||||
Assert.AreEqual(286, filter.ResourceForkLength);
|
||||
|
||||
Reference in New Issue
Block a user