-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Increase test coverage #4971
Merged
Merged
Increase test coverage #4971
Changes from 9 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
c7e0da5
Add coverage
thejohnfreeman c210ad4
Suppress warning: unused variable 'index'
HowardHinnant 779b381
Remove unused code.
HowardHinnant c688be6
Tests for AMMBid::preflight()
mtrippled f6b1f68
Test comparison of issued assets to cover STIssue.h.
mtrippled a8c0884
Increase unit tests coverage
Bronek 48ce399
update test coverage for AMMDeposit
mvadari faad55f
remove unreachable lines from codecov
mvadari 8975ddf
Fix formatting
thejohnfreeman 7f151fa
Disable wandalen/wretry for codecov upload
Bronek 87c8acd
AMMBid unit test: burn all LP tokens
ckeshava 51eaed5
Edit comments
thejohnfreeman 61d007e
Consolidate disabled amendment tests
thejohnfreeman a504e86
Convert most bid tests to use BidArg
thejohnfreeman 43a251c
Try to convert last bid tests
thejohnfreeman 2088454
Format code
thejohnfreeman 242b7ec
Finish bid tests
thejohnfreeman b8fdf58
Merge branch 'ckeshava/burnTest'
thejohnfreeman 1fa1581
Merge burn tests and eliminate non-BidArg overload
thejohnfreeman e13b7e5
Merge upstream 'develop'
thejohnfreeman c6128d1
Fix formatting
thejohnfreeman fcb4bdb
Address comments
thejohnfreeman 7ffdb33
Codecov coverage reporting fixes
Bronek 803033e
Enable github annotations
Bronek 0a308af
Set expected range and codecov rounding
Bronek bfa41d8
Merge bkozicki/feature/codecov-improvements
thejohnfreeman 62485c5
Merge upstream 'develop'
thejohnfreeman 3fedf64
Forgot return type specifier
thejohnfreeman 20e69b2
Merge upstream 'develop'
thejohnfreeman 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 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 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 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 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 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 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 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 |
---|---|---|
|
@@ -56,9 +56,6 @@ class STIssue final : public STBase, CountedObject<STIssue> | |
SerializedTypeID | ||
getSType() const override; | ||
|
||
std::string | ||
getText() const override; | ||
|
||
Json::Value getJson(JsonOptions) const override; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I love how this PR also contains the removal of dead code 🥇 |
||
|
||
void | ||
|
@@ -71,9 +68,6 @@ class STIssue final : public STBase, CountedObject<STIssue> | |
isDefault() const override; | ||
|
||
private: | ||
static std::unique_ptr<STIssue> | ||
construct(SerialIter&, SField const& name); | ||
|
||
STBase* | ||
copy(std::size_t n, void* buf) const override; | ||
STBase* | ||
|
This file contains 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 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.
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.
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 looked at the exclusions, and I'm OK with keeping them. I might feel differently if there were an excessive number of them, but there are relatively few and seem reasonably justified. I don't think we're in danger if we keep them.
I'm guessing we'll do another PR in the future with more exclusions. We may want to revisit some of these exclusions in that PR, but this is OK for now and also not the end of the world if we don't revisit in the future PR.