Skip to content
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

Merged
merged 3 commits into from
Oct 14, 2023
Merged

Add some more filter tests #4897

merged 3 commits into from
Oct 14, 2023

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Oct 13, 2023

Description

This changes the make coverage function to use gcovr instead of lcov, and to have it generate an html file directly at coverage/index.html under the build directory

The only thing this changes, other than adding tests, is making the Expression class pure virtual. Every derived class should implement each of the functions

Copy link
Contributor

@github-actions github-actions bot left a 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{
Copy link
Contributor

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]

Suggested change
std::vector<TestCase> tests{
std::vector<TestCase> const tests{

Copy link
Member Author

@pajlada pajlada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@pajlada pajlada merged commit ab3b2d8 into master Oct 14, 2023
16 of 17 checks passed
@pajlada pajlada deleted the test/add-more-tests branch October 14, 2023 08:41
EXCLUDE "/usr/include/*"
EXCLUDE "build-*/*"
EXCLUDE "lib/*"
EXCLUDE "*/ui_*.h"
EXCLUDE "*/moc_*.cpp"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should also exclude */*.moc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants