Skip to content

Commit 1d3955b

Browse files
authored
renamed some files in the test folder (#4705)
1 parent 3ccc0ad commit 1d3955b

Some content is hidden

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

74 files changed

+164
-200
lines changed

.codacy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ exclude_paths:
44
- htmlreport/example.cc
55
- samples/**/bad.c
66
- samples/**/bad.cpp
7-
- test/test.cxx
87
- test/cfg/*.c
98
- test/cfg/*.cpp

Makefile

Lines changed: 72 additions & 72 deletions
Large diffs are not rendered by default.

cppcheck.cppcheck

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@
1818
</paths>
1919
<exclude>
2020
<path name="gui/temp/"/>
21-
<path name="test/test.cxx"/>
2221
</exclude>
2322
</project>

test/testsuite.cpp renamed to test/fixture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#include "testsuite.h"
19+
#include "fixture.h"
2020

2121
#include "color.h"
2222
#include "options.h"

test/testsuite.h renamed to test/fixture.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*/
1818

1919

20-
#ifndef testsuiteH
21-
#define testsuiteH
20+
#ifndef fixtureH
21+
#define fixtureH
2222

2323
#include "color.h"
2424
#include "config.h"
@@ -143,4 +143,4 @@ extern std::ostringstream output;
143143
} \
144144
} while (false)
145145

146-
#endif
146+
#endif // fixtureH

test/testutils.h renamed to test/helpers.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef TestUtilsH
20-
#define TestUtilsH
19+
#ifndef helpersH
20+
#define helpersH
2121

2222
#include "color.h"
2323
#include "errorlogger.h"
@@ -86,4 +86,4 @@ class ScopedFile {
8686
std::string mName;
8787
};
8888

89-
#endif // TestUtilsH
89+
#endif // helpersH

test/testrunner.cpp renamed to test/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include "options.h"
2020
#include "preprocessor.h"
21-
#include "testsuite.h"
21+
#include "fixture.h"
2222

2323
#include <cstdlib>
2424

test/precompiled.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
#pragma once
20-
#include "testsuite.h"
20+
#include "fixture.h"
2121
#include "settings.h"
2222
#include "tokenize.h"
2323
#include "library.h"

test/test.cxx

Lines changed: 0 additions & 34 deletions
This file was deleted.

test/test64bit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "check64bit.h"
2121
#include "errortypes.h"
2222
#include "settings.h"
23-
#include "testsuite.h"
23+
#include "fixture.h"
2424
#include "tokenize.h"
2525

2626
#include <sstream> // IWYU pragma: keep

0 commit comments

Comments
 (0)