Adam Hathcock
5bf789ac65
Update csharpier and reformat
2025-11-25 11:50:21 +00:00
Adam Hathcock
ccc8587e5f
review fixes
2025-10-31 10:55:33 +00:00
Adam Hathcock
a0c5b1cd9d
add archive tests
2025-10-29 09:08:08 +00:00
Adam Hathcock
8e7d959cf4
add async creations
2025-10-28 16:07:16 +00:00
Adam Hathcock
084fe72b02
Consolidate not null
2025-10-22 09:17:13 +01:00
Adam Hathcock
f1a80da34b
fix tests that use extract all wrongly
2025-10-21 09:56:29 +01:00
Adam Hathcock
88cd6bfd1a
Merge remote-tracking branch 'origin/master' into update-deps
2025-06-03 08:13:41 +01:00
Morilli
6e51967993
format
2025-05-14 11:42:52 +02:00
Morilli
7989ab2e28
modify now-broken test
...
This test tested that skipping over entries using the reader interface for an encrypted multi-volume rar archive worked.
However reading those entries doesn't work and the skipping was also not working properly so I believe it's fine to "break" this functionality.
2025-05-14 11:18:41 +02:00
Morilli
c0cd998836
add failing test
2025-05-14 10:27:30 +02:00
Adam Hathcock
e7417e35ba
Update dependencies and csharpier
2025-04-28 16:18:01 +01:00
Adam Hathcock
5bf3d6dc32
update csharpier
2025-01-14 09:07:40 +00:00
Adam Hathcock
e96366f489
Entry can be null and remove other ! usages
2024-04-18 13:24:03 +01:00
Adam Hathcock
94d1503c64
more clean up
2024-03-14 08:57:16 +00:00
Adam Hathcock
5f13e245f0
more clean up on tests
2024-03-14 08:53:08 +00:00
Adam Hathcock
0299232cb5
just using rider to clean up
2024-03-14 08:37:17 +00:00
Lars Vahlenberg
6c157def4b
set empty string if password not set
2024-01-04 21:16:07 +01:00
Lars Vahlenberg
8b02795d69
CSharpier
2024-01-02 21:25:40 +01:00
Lars Vahlenberg
388bbe047e
Blake2 Archive test OK
2024-01-02 20:46:55 +01:00
Lars Vahlenberg
d678275dee
Implement RAR5 decryption
2023-12-16 02:53:09 +01:00
Lars Vahlenberg
ca49176b97
Dont crash on reading rar5 comment
2023-12-04 20:19:11 +01:00
Lars Vahlenberg
18e8e6ee98
Sharpier
2023-06-06 22:43:12 +02:00
Lars Vahlenberg
6bf6e51740
Skip if we know the size, set blank password if not set for rar
2023-06-06 22:27:53 +02:00
Adam Hathcock
16e8dd447b
update csharpier
2023-03-21 13:14:08 +00:00
Twan van Dongen
8748314b5b
Fixed support for RAR 1.5 (algo15) and added test archive for unit testing. Rar 1.5 archive created using DOS version, which only supports uppercase characters, thus resulting in amending base class with 'UseCaseInsensitiveToVerify' toggle.
2023-02-21 21:28:38 +01:00
Adam Hathcock
b01e97b168
more clean up
2022-12-20 15:20:49 +00:00
Adam Hathcock
7da10795a1
csharpier
2022-12-20 15:14:22 +00:00
Adam Hathcock
959bbdcf1b
big clean up
2022-12-20 15:06:44 +00:00
Adam Hathcock
970e31a1b1
cleanup and run csharpier
2022-12-20 13:45:47 +00:00
Adam Hathcock
d6ac9a0363
Fix build
2022-12-20 13:09:16 +00:00
Nanook
4eb1fe0b80
RarArchive has Min/MaxVersion. RarEntry has Volumne Indexes. GZ CRC fix.
2022-07-15 21:15:10 +01:00
Craig
e424094fdf
7z encrypted filename exception with no password matches rar behaviour.
2022-05-04 01:35:58 +01:00
Craig
61c01ce9b0
Properly integrated zip multivolume and split support.
2022-04-30 19:35:40 +01:00
Craig
910aa1c22e
Corrected the Crc exception as it was within a #DEBUG define
2022-04-27 14:12:00 +01:00
Craig
71c8f3129f
RarStream Position fix, it was returning the file size. 7Zip CrcCheckStream always failed. Added a Solid Rar entry CRC test.
2022-04-27 13:16:05 +01:00
Craig
ec1999f73d
Added Split archive support with unit tests. Added ArchiveFactory.IsArchive() and minor refactor.
2022-04-21 00:12:26 +01:00
Craig
dab157bb71
Rar2 fix with new unit tests that fail on previous build.
2022-02-15 16:24:22 +00:00
Adam Hathcock
5357bd07c7
Let dotnet format do it’s thing
2021-01-09 13:33:34 +00:00
Dmitriy
81997fe1ba
rename test
2020-07-01 15:10:21 +05:00
Dmitriy
de6759a83f
- remove check of solid archive
...
- change tests
- add test on multi solid archive
2020-07-01 15:06:54 +05:00
Matt Kotsenas
138038b08f
Move RarReaderTests over to user ReaderFactory
...
- Refactor `RarReaderTests` to use `ReaderFactory`
- Update `ReaderTests.Read` to support Rar tests
2018-07-12 10:32:08 -07:00
Matt Kotsenas
e9a6fed607
FIXUP decouple UseReader from VerifyFiles
2018-07-11 16:53:34 -07:00
Matt Kotsenas
7d20ba5243
Simplify RarHeaderTests
2018-07-11 16:21:19 -07:00
Matt Kotsenas
0473ec1626
Open test archives as read
...
Update `RarHeaderFactoryTests` and `GZipArchiveTests` to open the test
readers as `FileAccess.Read` and `FileShare.Read` to prevent issues with
multiple test from trying to open exclusive access to files.
2018-07-11 16:21:19 -07:00
Matt Kotsenas
7b338511cc
Create unique scratch path per test
...
Tests fail in Visual Studio because they try to reuse the same scratch
working space, and each test is responsible for resetting the space. To
simplify the test code:
1. Make `TestBase` `IDisposable` and have it create the scratch space
2. Remove `ResetScratch()` as it is now handled by the base class
3. Add a unique ID to each scrach space folder to prevent collisions
2018-07-10 11:46:44 -07:00
Adam Hathcock
173a0fe659
Some naming clean up
2018-05-05 19:35:58 +01:00
Adam Hathcock
b43d2c3d95
Disabled decryption tests
2018-04-29 10:55:51 +01:00
Adam Hathcock
15534f466a
Add basic rar5 crypt header
2018-04-28 18:20:40 +01:00
Adam Hathcock
9d63dcb8d6
Uncommit some tests
2018-04-28 18:14:47 +01:00
Adam Hathcock
d38276e8cf
Fix solid and some other tests
2018-04-23 10:29:46 +01:00