Files
dotnet-runtime/src/libraries/System.IO.FileSystem/tests/FileStream
Jeremy Kuhne b4d25f5103 FileStream SafeHandle ctor negative test fix (dotnet/corefx#20798)
* FileStream SafeHandle ctor negative test fix

The tests were intermittently failing on desktop as the
constructor was closing the handle when it got finalized.

- Moved the negative tests into a new class (they were running redundantly with no changes)
- Stopped creating files where it wasn't needed
- Added specific test for checking handle state and disabled for desktop with active issue

* Was looking at the redundancy as functional at the end point, not that they were calling different constructors. Putting them back in the derived classes to avoid introducing constructor overload regressions.


Commit migrated from https://github.com/dotnet/corefx/commit/dbd01e7691932235e007e454a1b7d7934b582de9
2017-06-08 15:57:53 -07:00
..
2016-01-27 08:02:28 -08:00
2016-01-27 08:02:28 -08:00
2016-01-27 08:02:28 -08:00
2016-01-27 08:02:28 -08:00
2016-01-27 08:02:28 -08:00
2016-01-27 08:02:28 -08:00
2016-01-27 08:02:28 -08:00
2016-01-27 08:02:28 -08:00
2016-01-27 08:02:28 -08:00