Skip to content

Commit

Permalink
TestFixture: added SettingsBuilder::normal()
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Apr 11, 2024
1 parent 357261d commit d2127cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/fixture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,11 @@ void TestFixture::setTemplateFormat(const std::string &templateFormat)
}
}

TestFixture::SettingsBuilder& TestFixture::SettingsBuilder::normal() {
settings.setCheckLevelNormal();
return *this;
}

TestFixture::SettingsBuilder& TestFixture::SettingsBuilder::exhaustive() {
settings.setCheckLevelExhaustive();
return *this;
Expand Down
2 changes: 2 additions & 0 deletions test/fixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ class TestFixture : public ErrorLogger {

SettingsBuilder& exhaustive();

SettingsBuilder& normal();

SettingsBuilder& library(const char lib[]);

SettingsBuilder& libraryxml(const char xmldata[], std::size_t len);
Expand Down

0 comments on commit d2127cb

Please sign in to comment.