Commit Graph

31 Commits

Author SHA1 Message Date
47cc43aa29 Update NUnit. 2024-05-02 03:40:35 +01:00
e46d21bde6 General refactor and cleanup. 2024-05-01 04:05:22 +01:00
9572abf86d [Plugin system] Move byte addressable media images to dependency injection. 2023-10-06 00:46:36 +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
27a8366ecb [Unit tests] Close contents JSON after serializing it in block media image tests. 2022-12-19 11:04:12 +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
935fceb688 [UnitTest] Fix expected parameters for building filesystem contents JSON. 2022-12-09 13:33:32 +00:00
1bdaf241e4 [UnitTest] Include fields when marshalling JSON in filesystem tests. 2022-12-09 13:33:15 +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
d686e59cb7 Use Array.Empty 2022-03-17 00:02:08 +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
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
d9368801ca Add more information when testing block media images. 2021-07-15 13:54:21 +01:00
a5772fb6da Reorganize block media image contents test. 2021-07-12 19:17:58 +01:00
96830bcc96 Add test to check for contents of block media images. 2021-07-12 19:02:57 +01:00
b5a6420ff7 Check if test file exists before proceeding with test. 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