-
Notifications
You must be signed in to change notification settings - Fork 392
SystemIOFile Adapter #550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MarcoRossignoli
merged 25 commits into
coverlet-coverage:master
from
daveMueller:543_SystemIoFileAdapter
Sep 21, 2019
Merged
SystemIOFile Adapter #550
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a6e0687
Merge pull request #1 from tonerdo/master
daveMueller 84c0aff
Merge pull request #2 from tonerdo/master
daveMueller 5b4e316
Merge pull request #3 from tonerdo/master
daveMueller 45075e1
Merge pull request #4 from tonerdo/master
daveMueller 23aeb1c
extended SystemIoFileAdapter and interface
daveMueller 7ca75f2
removed IFileHelper and used IFileSystem instead + refactorings
daveMueller 71af4de
File adapter on Program.cs
daveMueller 8ec57c1
File adapter on Coverage.cs + refactorings
daveMueller 8a4a1f8
File adapter for CoverageResultTask + refactorings
daveMueller 3875965
File adapter on InstumenterHelper
daveMueller c889d15
File adapter on RemoteExecutor
daveMueller 202f965
changes to CoverletCoverageDataCollectorTests
daveMueller c58508b
changes to collector
daveMueller 5c11795
changed Test
daveMueller ef7d0b0
Merge pull request #5 from tonerdo/master
daveMueller 669f042
Merge branch 'master' into 543_SystemIoFileAdapter
daveMueller 2af6fe2
reverted changes to coverlet.collector
daveMueller b1bf6c9
code review
daveMueller 00de202
adapted failing test
daveMueller 4dca604
updates
MarcoRossignoli 33c7e40
remove not used copy method
95ca53d
code review changes
f8ec589
code review
daveMueller d87ea07
code review; changed parameter order
daveMueller 690d6dc
some nits
MarcoRossignoli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,23 @@ | ||
| namespace Coverlet.Core.Abstracts | ||
| using System.IO; | ||
|
|
||
| namespace Coverlet.Core.Abstracts | ||
| { | ||
| internal interface IFileSystem | ||
| public interface IFileSystem | ||
| { | ||
| bool Exists(string path); | ||
|
|
||
| void WriteAllText(string path, string contents); | ||
|
|
||
| string ReadAllText(string path); | ||
|
|
||
| Stream OpenRead(string path); | ||
|
|
||
| void Copy(string sourceFileName, string destFileName, bool overwrite); | ||
|
|
||
| void Delete(string path); | ||
|
|
||
| Stream NewFileStream(string path, FileMode mode); | ||
|
|
||
| Stream NewFileStream(string path, FileMode mode, FileAccess access); | ||
MarcoRossignoli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.