-
Notifications
You must be signed in to change notification settings - Fork 196
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
Suppress classes causing test failures #1724
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1724 +/- ##
==========================================
+ Coverage 71.06% 71.09% +0.02%
==========================================
Files 226 226
Lines 16016 16036 +20
==========================================
+ Hits 11381 11400 +19
- Misses 3810 3811 +1
Partials 825 825
Continue to review full report at Codecov.
|
return false | ||
} | ||
|
||
// Check for types that we need to suppress - these are ARM types that don't currently round trip because they're |
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.
Might make sense to put this comment by the specific classes suppressions, and not here in the generic suppression handling?
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.
In case there are other reasons for suppression that aren't due to OneOf
What this PR does / why we need it:
A very small number of ARM State classes representing OneOf conditions can't currently round trip as they override marshaling to JSON without overriding marshaling from JSON (See #1721 #1722)
We want to revisit these and fix things up as a part of implementing diff'ing (#1366), so I took a very simple approach to suppressing the test failures.
Also included, some improvements to the way the output of property tests is formatted (the default uses a 75 column wordwrap which is a bit narrow for our use).
How does this PR make you feel: