Commit Graph

45 Commits

Author SHA1 Message Date
d29afd403a [Refactor] Use collection expression. 2025-11-24 03:08:01 +00:00
04c45e69fa [Refactor] Use static lambdas in LINQ queries for improved performance 2025-11-24 03:00:06 +00:00
69738f5f1a Add support for negative sectors to read and write sector calls in images. 2025-10-23 03:07:43 +01:00
0ac2a48fb6 Update ReadSector and ReadSectors methods to include sector status output 2025-10-22 14:28:58 +01:00
47cc43aa29 Update NUnit. 2024-05-02 03:40:35 +01:00
e46d21bde6 General refactor and cleanup. 2024-05-01 04:05:22 +01:00
696f3ffa9a [Plugin system] Move read-only filesystems to dependency injection. 2023-10-05 16:55:03 +01:00
b27d0c1f03 [Plugin system] Initialize plugin base in tests. 2023-10-05 16:00:38 +01:00
a50d892f2a Move most of PluginBase logic into Aaru.Commontypes. 2023-10-05 13:47:59 +01:00
7363a5d9c5 Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted.
This is now done with Rider-stable.
2023-10-04 17:36:20 +01:00
1f36ef2424 [Aaru.Tests] Reformat and cleanup. 2023-10-03 23:44:33 +01:00
dc26b85c2f Move filesystem metadata to GetInformation method for information only plugins. 2022-12-17 22:41:56 +00:00
7a2b37496b Make PluginBase a singleton. 2022-12-17 20:50:17 +00:00
0c1bf310f9 Use Type for filesystem plugin list. 2022-12-17 14:56:37 +00:00
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