• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscapheguic翻訳omegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

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


Commit MetaInfo

Revisãofe214034347165c756203e869fab47828298ab86 (tree)
Hora2020-01-23 12:51:08
AutorKaz Nishimura <kazssym@linu...>
CommiterKaz Nishimura

Mensagem de Log

Add new class 'TestContext'

Mudança Sumário

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()