-
-
Notifications
You must be signed in to change notification settings - Fork 889
Use stylecop in Test project #1090
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
JimBobSquarePants
merged 18 commits into
SixLabors:master
from
brianpopow:feature/stylecopTests
Feb 2, 2020
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
43cbdab
Fix stylecop warnings in the test project
brianpopow 38454f8
Use using declarations to reduce nesting
brianpopow bb42df5
Merge remote-tracking branch 'upstream/master' into feature/stylecopT…
brianpopow 6c40593
Remove regions
brianpopow f897ab6
Change WithTestPatternImageAttribute to WithTestPatternImagesAttribute
brianpopow 94dc54b
Rename method names again to be the same as in the reference implemen…
brianpopow 715de4c
Defining the tmp vars in a single line again
brianpopow 8a6797c
Move ITestImageProvider to a separate file
brianpopow d59ca98
Revert comment as it was before, add exception for SA1115
brianpopow 32bc422
Merge remote-tracking branch 'upstream/master' into feature/stylecopT…
brianpopow 076a2bc
Update external for the changed test ruleset
brianpopow 6f0e6e9
Fix some leftover stylecop warnings
brianpopow 9f181a3
Change InternalsVisibleTo from SixLabors.ImageSharp.Sandbox46 to Imag…
brianpopow 5ff7bb7
Revert "Change InternalsVisibleTo from SixLabors.ImageSharp.Sandbox46…
brianpopow 0bce7af
Remove including tests into the profiling sandbox
brianpopow 2c7e253
Merge branch 'master' into feature/stylecopTests
brianpopow 15a7a55
Revert `using` declaration changes for until we establish guidelines.
JimBobSquarePants 1f3311b
Add more rule exemptions and prevent blanket using recommendations
JimBobSquarePants 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this your breaking change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have added this because i was getting more than 2k errors of
Error CS0122 '...' is inaccessible due to its protection levelThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's because you're including all the files from the test project in the sandbox.
https://github.com/SixLabors/ImageSharp/pull/1090/files#diff-791cc76ca5e2665ba784771043fd9123R17
We don't do that anymore. The sandbox project simply references the test one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great, thank you! I was not aware of that. I have the removed the tests from the profiling sandbox, now it work works. See: commit: 0bce7af