Commit Graph

122 Commits

Author SHA1 Message Date
5863664dbf Update copyright year. 2024-12-19 10:45:18 +00:00
debb7b9f0e Fix some minor problems detected by the analyzers. 2024-05-06 04:34:43 +01:00
47cc43aa29 Update NUnit. 2024-05-02 03:40:35 +01:00
134ce7041e [Refactor] Use collection expressions. 2024-05-01 04:43:37 +01:00
f7ca79b09e Update copyright year. 2024-05-01 04:17:32 +01:00
e46d21bde6 General refactor and cleanup. 2024-05-01 04:05:22 +01:00
b27d0c1f03 [Plugin system] Initialize plugin base in tests. 2023-10-05 16:00:38 +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
8b9d4408ea Join declarations and assignments. 2023-10-04 08:44:14 +01:00
ac79d1e94e Convert into primary constructor. 2023-10-04 08:30:03 +01:00
1f36ef2424 [Aaru.Tests] Reformat and cleanup. 2023-10-03 23:44:33 +01:00
3becc0833c Replace ReadDir method with one that uses IDirNode. 2022-12-21 20:03:24 +00:00
b4b2868c22 Replace Read method with ReadFile method that uses the file node in IFileSystem. 2022-12-19 11:03:51 +00:00
dc26b85c2f Move filesystem metadata to GetInformation method for information only plugins. 2022-12-17 22:41:56 +00:00
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +00:00
5fb23f1024 Move plugin registers to source generator. 2022-12-14 20:56:25 +00:00
10d9720d7e [UnitTest] Process partially read extended attributes as they seem to appear in some real images. 2022-12-11 15:50:50 +00:00
08178d3fd2 [UnitTest] When checking file timestamps if they differ 1 hour from the stored one consider them as equal, as some tests environments seem to have a 1 hour difference between local and UTC. 2022-12-11 12:26:28 +00:00
e0aaeaa60e [UnitTest] BuildDirectory method must be internal for commented code. 2022-12-09 13:30:51 +00:00
f9ace7b7d9 [UnitTests] Add code to generate extended attributes list and MD5s when building contents JSON for ReadOnlyFilesystemTest. 2022-12-08 14:16:35 +00:00
d214882b3e Update tests with new filesystem types. 2022-12-08 14:13:40 +00:00
f39d587bd5 Update tests with new filesystem types. 2022-12-07 22:00:19 +00:00
dfa9a62183 Stop at 256 levels of directory depth in filesystem unit tests contents builder to prevent a stack overflow. 2022-12-07 20:44:14 +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
805ebd4b42 Update copyright year. 2022-12-03 16:07:17 +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
bd3fe7bd4e General code style and feature fixes. 2022-11-15 01:35:15 +00:00
040b4eab4e More pattern matching. 2022-11-14 01:49:18 +00:00
bc362e5d4a Fix typos and add new words to dictionary. 2022-11-13 19:09:18 +00:00
8b5e23a693 Use proper mount point for test files. 2022-11-13 05:48:58 +00:00
b05dc45d09 Add null reference checks. 2022-03-17 00:46:26 +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
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
5e733abc8f Add support for byte addressable images to detection. 2021-11-14 03:52:44 +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
631eee916f Fix filesystem tests when readdir returns a null list. 2021-09-12 19:27:43 +01:00
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
fdff1d74c9 Use Array.Empty<T>. 2021-08-17 18:23:50 +01:00
bc03e3467f Fix namespaces. 2021-08-17 17:32:30 +01:00
da157fe16f When building filesystem contents test file also include symlinks. 2021-07-09 09:49:59 +01:00
966077c595 Test filesystems and contents in optical media image unit tests. 2021-07-07 04:14:10 +01:00
705f5a6db0 Add support for FAT32 volumes that uses sectors field in BPB. Fixes #580 2021-06-03 23:51:10 +01:00
b96ffe5e56 Fix clusters calculation in FAT12 and FAT16. 2021-06-03 23:32:36 +01:00
0964cf3ecb Fix volume serial number in Atari FAT unit tests. 2021-06-03 21:15:33 +01:00