-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
Add some more filter tests #4897
Conversation
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.
clang-tidy made some suggestions
}; | ||
|
||
// clang-format off | ||
std::vector<TestCase> tests{ |
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.
warning: variable 'tests' of type 'std::vector' can be declared 'const' [misc-const-correctness]
std::vector<TestCase> tests{ | |
std::vector<TestCase> const tests{ |
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.
EXCLUDE "/usr/include/*" | ||
EXCLUDE "build-*/*" | ||
EXCLUDE "lib/*" | ||
EXCLUDE "*/ui_*.h" | ||
EXCLUDE "*/moc_*.cpp" |
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.
Should also exclude */*.moc
.
Description
This changes the
make coverage
function to usegcovr
instead oflcov
, and to have it generate an html file directly atcoverage/index.html
under the build directoryThe only thing this changes, other than adding tests, is making the
Expression
class pure virtual. Every derived class should implement each of the functions