• R/O
  • SSH

Commit

Tags
Keine 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

Revisionfe214034347165c756203e869fab47828298ab86 (tree)
Zeit2020-01-23 12:51:08
AutorKaz Nishimura <kazssym@linu...>
CommiterKaz Nishimura

Log Message

Add new class 'TestContext'

Ändern Zusammenfassung

Diff

diff -r ef05e65052ae -r fe2140343471 libcppunitx/bits/cppunitx/driver.h
--- a/libcppunitx/bits/cppunitx/driver.h Thu Jan 23 12:38:19 2020 +0900
+++ b/libcppunitx/bits/cppunitx/driver.h Thu Jan 23 12:51:08 2020 +0900
@@ -25,6 +25,16 @@
2525
2626 namespace cppunitx
2727 {
28+ /// Test context.
29+ class _CPPUNITX_PUBLIC TestContext
30+ {
31+ public:
32+ TestContext();
33+
34+ public:
35+ virtual ~TestContext();
36+ };
37+
2838 /// Test driver.
2939 class _CPPUNITX_PUBLIC TestDriver
3040 {
diff -r ef05e65052ae -r fe2140343471 libcppunitx/driver.cpp
--- a/libcppunitx/driver.cpp Thu Jan 23 12:38:19 2020 +0900
+++ b/libcppunitx/driver.cpp Thu Jan 23 12:51:08 2020 +0900
@@ -39,6 +39,16 @@
3939 const int SKIP = 77;
4040 const int ERROR = 99;
4141
42+// Class 'TestContext' implementation.
43+
44+TestContext::TestContext()
45+{
46+}
47+
48+TestContext::~TestContext()
49+{
50+}
51+
4252 // Class 'TestDriver' implementation.
4353
4454 shared_ptr<TestDriver> TestDriver::getInstance()