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
Martin Demberger
35336a0827
Suppress nested NonDisposingStream
2022-06-19 22:05:52 +02: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
87a1440382
Decouple UseReader from VerifyFiles
2018-07-11 16:49:49 -07:00
Matt Kotsenas
44dc36af48
Update ReaderTests base class to validate Dispose
...
Update the `ReaderTests` base class to validate that `Dispose` is
called appropriately in both the close and the leave open cases.
2018-07-11 16:21:19 -07:00
Matt Kotsenas
c6cf0d40ee
Simplify ReaderTests
...
The `IEnumerable<string>` version of `ReaderTests` is unused, so delete
it to simplify the code.
2018-07-11 16:21:19 -07:00
Matt Kotsenas
6ae715b153
Move the TestStream and ForwardOnlyStream to Mocks folder
...
Move the `TestStream` and `ForwardOnlyStream` to Mocks/ to separate them
from the test classes.
2018-07-10 12:07:32 -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
3f94c1a50d
Remove lingering uses of non disposing stream
2018-05-08 14:10:49 +01:00
Adam Hathcock
68a5e474a6
More testing of file handling
2018-04-22 11:19:11 +01:00
Adam Hathcock
ee64670755
Move test folder to be tests
2017-05-19 09:19:37 +01:00