• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A lambda-based C++ unit-testing framework.


Commit MetaInfo

Revisãobd7ed395052012dc6f179bb9d087831347a42127 (tree)
Hora2020-01-19 20:51:20
AutorKaz Nishimura <kazssym@linu...>
CommiterKaz Nishimura

Mensagem de Log

Move <cppunits/bits/engine.h> to <bits/cppunits/driver.h>

Mudança Sumário

Diff

diff -r b3fe7cd90e1e -r bd7ed3950520 libcppunitx/Makefile.am
--- a/libcppunitx/Makefile.am Sun Jan 19 19:19:48 2020 +0900
+++ b/libcppunitx/Makefile.am Sun Jan 19 20:51:20 2020 +0900
@@ -4,8 +4,8 @@
44
55 nobase_include_HEADERS = cppunitx/framework cppunitx/engine cppunitx/module \
66 bits/cppunitx.h bits/cppunitx/registry.h bits/cppunitx/test.h \
7-bits/cppunitx/module.h \
8-cppunitx/bits/engine.h cppunitx/bits/test_runner.h cppunitx/bits/base.h
7+bits/cppunitx/module.h bits/cppunitx/driver.h \
8+cppunitx/bits/test_runner.h cppunitx/bits/base.h
99
1010 libcppunitx_la_LDFLAGS = -version-info 0:0:0 $(LTLDFLAGS)
1111 libcppunitx_la_SOURCES = registry.cpp test.cpp \
diff -r b3fe7cd90e1e -r bd7ed3950520 libcppunitx/bits/cppunitx/driver.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/libcppunitx/bits/cppunitx/driver.h Sun Jan 19 20:51:20 2020 +0900
@@ -0,0 +1,27 @@
1+// cppunitx/bits/engine.h
2+// Copyright (C) 2018 Kaz Nishimura
3+//
4+// This program is free software: you can redistribute it and/or modify it
5+// under the terms of the GNU General Public License as published by the Free
6+// Software Foundation, either version 3 of the License, or (at your option)
7+// any later version.
8+//
9+// This program is distributed in the hope that it will be useful, but WITHOUT
10+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11+// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12+// more details.
13+//
14+// You should have received a copy of the GNU General Public License along with
15+// this program. If not, see <http://www.gnu.org/licenses/>.
16+//
17+// SPDX-License-Identifier: GPL-3.0-or-later
18+
19+#ifndef _CPPUNITX_BITS_ENGINE_H
20+#define _CPPUNITX_BITS_ENGINE_H 1
21+
22+namespace cppunitx
23+{
24+ extern int main(int argc, char *argv[]);
25+}
26+
27+#endif
diff -r b3fe7cd90e1e -r bd7ed3950520 libcppunitx/cppunitx/bits/engine.h
--- a/libcppunitx/cppunitx/bits/engine.h Sun Jan 19 19:19:48 2020 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
1-// cppunitx/bits/engine.h
2-// Copyright (C) 2018 Kaz Nishimura
3-//
4-// This program is free software: you can redistribute it and/or modify it
5-// under the terms of the GNU General Public License as published by the Free
6-// Software Foundation, either version 3 of the License, or (at your option)
7-// any later version.
8-//
9-// This program is distributed in the hope that it will be useful, but WITHOUT
10-// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11-// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12-// more details.
13-//
14-// You should have received a copy of the GNU General Public License along with
15-// this program. If not, see <http://www.gnu.org/licenses/>.
16-//
17-// SPDX-License-Identifier: GPL-3.0-or-later
18-
19-#ifndef _CPPUNITX_BITS_ENGINE_H
20-#define _CPPUNITX_BITS_ENGINE_H 1
21-
22-namespace cppunitx
23-{
24- extern int main(int argc, char *argv[]);
25-}
26-
27-#endif
diff -r b3fe7cd90e1e -r bd7ed3950520 libcppunitx/cppunitx/engine
--- a/libcppunitx/cppunitx/engine Sun Jan 19 19:19:48 2020 +0900
+++ b/libcppunitx/cppunitx/engine Sun Jan 19 20:51:20 2020 +0900
@@ -19,7 +19,6 @@
1919 #ifndef _CPPUNITX_ENGINE
2020 #define _CPPUNITX_ENGINE 1
2121
22-#include <cppunitx/bits/base.h>
23-#include <cppunitx/bits/engine.h>
22+#include <bits/cppunitx/driver.h>
2423
2524 #endif
diff -r b3fe7cd90e1e -r bd7ed3950520 libcppunitx/engine.cpp
--- a/libcppunitx/engine.cpp Sun Jan 19 19:19:48 2020 +0900
+++ b/libcppunitx/engine.cpp Sun Jan 19 20:51:20 2020 +0900
@@ -19,7 +19,8 @@
1919 #if HAVE_CONFIG_H
2020 #include <config.h>
2121 #endif
22-#include <cppunitx/bits/engine.h>
22+
23+#include <bits/cppunitx/driver.h>
2324 #include <cstdlib>
2425
2526 int cppunitx::main(const int argc, char *argv[])