Commit Graph

31 Commits

Author SHA1 Message Date
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +00:00
c8e468b194 [Unit test] Remove pregap also when checking for filesystems in track 0. 2022-12-15 01:47:56 +00:00
935fceb688 [UnitTest] Fix expected parameters for building filesystem contents JSON. 2022-12-09 13:33:32 +00:00
417a1a83d7 Do not use recursion and stop at 256 levels of directory depth in filesystem unit tests to prevent a stack overflow. 2022-12-07 20:43:25 +00:00
46077ed55f Use System.Text.Json instead of NewtonSoft.Json 2022-12-07 20:39:49 +00:00
d2962850e9 Move all localizable strings from Aaru.Tests project to resources. 2022-11-29 10:33:40 +00:00
2f9b7fe0a1 General code cleanup and style refactor. 2022-11-15 15:58:48 +00:00
040b4eab4e More pattern matching. 2022-11-14 01:49:18 +00:00
f0fa4d4320 Remove unused code. 2022-03-17 23:54:41 +00:00
5f14f0e79c Fix unused variables. 2022-03-16 00:31:33 +00:00
d4b1e63e96 Fix naming style. 2022-03-15 01:37:37 +00:00
762e3eb6d2 General cleanup and refactor. 2022-03-07 07:36:44 +00:00
0bc819feab Move to file scoped namespaces. 2022-03-06 13:29:38 +00:00
97c6b131b5 Refactor IOpticalMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-21 03:42:15 +01:00
bc8382e495 Refactor IOpticalMediaImage.ReadSector(s)Long to return error status instead of buffer. 2021-09-21 02:59:54 +01:00
b7fa638410 Refactor IOpticalMediaImage.ReadSector(s) to return error status instead of buffer. 2021-09-21 01:38:54 +01:00
34df6087ce Refactor IMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-20 20:52:18 +01:00
f51d414abd Refactor IMediaImage.ReadSector(s) to return error status instead of buffer. 2021-09-19 21:16:47 +01:00
ef2fc1788a Refactor IMediaImage.Open to return error status instead of boolean. 2021-09-16 19:10:39 +01:00
12a72a45e4 Consolidate error number enumerations. 2021-09-16 04:42:14 +01:00
cd41c8e59a Simplify some struct type names. 2021-09-14 21:18:28 +01:00
4c44c19d1d Move contents test in optical media image test to its own separate test. 2021-07-09 09:50:41 +01:00
966077c595 Test filesystems and contents in optical media image unit tests. 2021-07-07 04:14:10 +01:00
2c9ec24298 Test that no track ends after image last sector in optical media image unit tests. 2021-07-01 22:36:54 +01:00
4a725c5e7f Fix unit test of optical media track flags. Fixes #550 2021-06-05 15:25:31 +01:00
b5a6420ff7 Check if test file exists before proceeding with test. 2021-03-05 16:37:21 +00:00
a2804e4283 Fix checking number of tracks in optical media image. 2021-03-05 16:37:21 +00:00
30502885d7 Fix testing sector size in optical media image. 2021-03-05 16:37:21 +00:00
01ac233e86 Refactor unit tests. 2021-03-03 14:31:56 +00:00
274e3dfa62 Use struct to define all expected data for media image format tests. 2021-03-02 02:59:20 +00:00
bf746bdde0 Make image format tests inherit a single class. 2021-03-02 00:35:16 +00:00