Skip to content

Commit 8dd641b

Browse files
committed
Use OVERRIDE in test
1 parent 792419a commit 8dd641b

56 files changed

Lines changed: 63 additions & 63 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/test64bit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Test64BitPortability : public TestFixture {
3131
private:
3232
Settings settings;
3333

34-
void run() override {
34+
void run() OVERRIDE {
3535
settings.addEnabled("portability");
3636

3737
TEST_CASE(novardecl);

test/testassert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class TestAssert : public TestFixture {
4444
checkAssert.runSimplifiedChecks(&tokenizer, &settings, this);
4545
}
4646

47-
void run() override {
47+
void run() OVERRIDE {
4848
settings.addEnabled("warning");
4949

5050
TEST_CASE(assignmentInAssert);

test/testastutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class TestAstUtils : public TestFixture {
3232

3333
private:
3434

35-
void run() override {
35+
void run() OVERRIDE {
3636
TEST_CASE(findLambdaEndToken);
3737
TEST_CASE(isReturnScope);
3838
TEST_CASE(isVariableChanged);

test/testautovariables.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class TestAutoVariables : public TestFixture {
5555
}
5656
}
5757

58-
void run() override {
58+
void run() OVERRIDE {
5959
settings.addEnabled("warning");
6060
settings.addEnabled("style");
6161
LOAD_LIB_2(settings.library, "std.cfg");

test/testbool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TestBool : public TestFixture {
3131
private:
3232
Settings settings;
3333

34-
void run() override {
34+
void run() OVERRIDE {
3535
settings.addEnabled("style");
3636
settings.addEnabled("warning");
3737
settings.inconclusive = true;

test/testboost.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TestBoost : public TestFixture {
3131
private:
3232
Settings settings;
3333

34-
void run() override {
34+
void run() OVERRIDE {
3535
settings.addEnabled("style");
3636
settings.addEnabled("performance");
3737

test/testbufferoverrun.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class TestBufferOverrun : public TestFixture {
7373
checkBufferOverrun.runSimplifiedChecks(&tokenizer, &settings, this);
7474
}
7575

76-
void run() override {
76+
void run() OVERRIDE {
7777
LOAD_LIB_2(settings0.library, "std.cfg");
7878

7979
settings0.addEnabled("warning");

test/testcharvar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class TestCharVar : public TestFixture {
3232
private:
3333
Settings settings;
3434

35-
void run() override {
35+
void run() OVERRIDE {
3636
settings.platform(Settings::Unspecified);
3737
settings.addEnabled("warning");
3838
settings.addEnabled("portability");

test/testclass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TestClass : public TestFixture {
3434
Settings settings0;
3535
Settings settings1;
3636

37-
void run() override {
37+
void run() OVERRIDE {
3838
settings0.addEnabled("style");
3939
settings1.addEnabled("warning");
4040

test/testcmdlineparser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class TestCmdlineParser : public TestFixture {
4242
Settings settings;
4343
CmdLineParser defParser;
4444

45-
void run() override {
45+
void run() OVERRIDE {
4646
TEST_CASE(nooptions);
4747
TEST_CASE(helpshort);
4848
TEST_CASE(helplong);

0 commit comments

Comments
 (0)