mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-20 14:02:38 +02:00
submitted 1.2.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// ActiveTest.cpp
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/ActiveTest.cpp#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/ActiveTest.cpp#1 $
|
||||
//
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "ActiveTest.h"
|
||||
|
||||
|
||||
CppUnit_BEGIN
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
// Spawn a thread to a test
|
||||
@@ -40,5 +40,5 @@ UINT ActiveTest::threadFunction(LPVOID thisInstance)
|
||||
}
|
||||
|
||||
|
||||
CppUnit_END
|
||||
} // namespace CppUnit
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// ActiveTest.h
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/ActiveTest.h#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/ActiveTest.h#1 $
|
||||
//
|
||||
|
||||
|
||||
@@ -9,16 +9,12 @@
|
||||
#define ActiveTest_INCLUDED
|
||||
|
||||
|
||||
#ifndef CppUnit_CppUnit_INCLUDED
|
||||
#include "CppUnit/CppUnit.h"
|
||||
#endif
|
||||
#ifndef CppUnit_TestDecorator_INCLUDED
|
||||
#include "CppUnit/TestDecorator.h"
|
||||
#endif
|
||||
#include <afxmt.h>
|
||||
|
||||
|
||||
CppUnit_BEGIN
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
/* A Microsoft-specific active test
|
||||
@@ -85,7 +81,7 @@ inline void ActiveTest::run()
|
||||
}
|
||||
|
||||
|
||||
CppUnit_END
|
||||
} // namespace CppUnit
|
||||
|
||||
|
||||
#endif // ActiveTest_INCLUDED
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// DLLMain.cpp
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/DLLMain.cpp#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/DLLMain.cpp#1 $
|
||||
//
|
||||
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// GUITestResult.cpp
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/GUITestResult.cpp#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/GUITestResult.cpp#1 $
|
||||
//
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "GUITestResult.h"
|
||||
|
||||
|
||||
CppUnit_BEGIN
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
void GUITestResult::addError(Test *test, CppUnitException *e)
|
||||
@@ -39,5 +39,5 @@ void GUITestResult::endTest(Test *test)
|
||||
}
|
||||
|
||||
|
||||
CppUnit_END
|
||||
} // namespace CppUnit
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// GUITestResult.h
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/GUITestResult.h#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/GUITestResult.h#1 $
|
||||
//
|
||||
|
||||
|
||||
@@ -9,16 +9,12 @@
|
||||
#define GuiTestResult_INCLUDED
|
||||
|
||||
|
||||
#ifndef CppUnit_CppUnit_INCLUDED
|
||||
#include "CppUnit/CppUnit.h"
|
||||
#endif
|
||||
#ifndef CppUnit_TestResult_INCLUDED
|
||||
#include "CppUnit/TestResult.h"
|
||||
#endif
|
||||
#include <afxmt.h>
|
||||
|
||||
|
||||
CppUnit_BEGIN
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
class TestRunnerDlg;
|
||||
@@ -80,7 +76,7 @@ inline void GUITestResult::stop()
|
||||
}
|
||||
|
||||
|
||||
CppUnit_END
|
||||
} // namespace CppUnit
|
||||
|
||||
|
||||
#endif // GuiTestResult_INCLUDED
|
||||
|
@@ -1,14 +1,14 @@
|
||||
//
|
||||
// ProgressBar.cpp
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/ProgressBar.cpp#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/ProgressBar.cpp#1 $
|
||||
//
|
||||
|
||||
|
||||
#include "ProgressBar.h"
|
||||
|
||||
|
||||
CppUnit_BEGIN
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
// Paint the progress bar in response to a paint message
|
||||
@@ -137,4 +137,4 @@ void ProgressBar::reset ()
|
||||
}
|
||||
|
||||
|
||||
CppUnit_END
|
||||
} // namespace CppUnit
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// ProgressBar.h
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/ProgressBar.h#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/ProgressBar.h#1 $
|
||||
//
|
||||
|
||||
|
||||
@@ -9,13 +9,11 @@
|
||||
#define ProgressBar_INCLUDED
|
||||
|
||||
|
||||
#ifndef CppUnit_CppUnit_INCLUDED
|
||||
#include "CppUnit/CppUnit.h"
|
||||
#endif
|
||||
#include <afxwin.h>
|
||||
|
||||
|
||||
CppUnit_BEGIN
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
/* A Simple ProgressBar for test execution display
|
||||
@@ -70,7 +68,7 @@ inline COLORREF ProgressBar::getStatusColor()
|
||||
}
|
||||
|
||||
|
||||
CppUnit_END
|
||||
} // namespace CppUnit
|
||||
|
||||
|
||||
#endif // ProgressBar_INCLUDED
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// TestRunnerDlg.cpp
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/TestRunnerDlg.cpp#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/TestRunnerDlg.cpp#1 $
|
||||
//
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "TestRunnerDlg.h"
|
||||
|
||||
|
||||
CppUnit_BEGIN
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
TestRunnerDlg::TestRunnerDlg(CWnd* pParent): CDialog(TestRunnerDlg::IDD, pParent)
|
||||
@@ -421,4 +421,4 @@ void TestRunnerDlg::addTest(Test* pTest, int level)
|
||||
}
|
||||
|
||||
|
||||
CppUnit_END
|
||||
} // namespace CppUnit
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// TestRunnerDlg.h
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/TestRunnerDlg.h#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/TestRunnerDlg.h#1 $
|
||||
//
|
||||
|
||||
|
||||
@@ -9,27 +9,16 @@
|
||||
#define TestRunnerDlg_INCLUDED
|
||||
|
||||
|
||||
#ifndef CppUnit_CppUnit_INCLUDED
|
||||
#include "CppUnit/CppUnit.h"
|
||||
#endif
|
||||
#ifndef CppUnit_CppUnitException_INCLUDED
|
||||
#include "CppUnit/CppUnitException.h"
|
||||
#endif
|
||||
#ifndef ActiveTest_INCLUDED
|
||||
#include "ActiveTest.h"
|
||||
#endif
|
||||
#ifndef STD_VECTOR_INCLUDED
|
||||
#include <vector>
|
||||
#define STD_VECTOR_INCLUDED
|
||||
#endif
|
||||
#ifndef IDD_DIALOG_TESTRUNNER
|
||||
#include "../res/Resource.h"
|
||||
#endif
|
||||
#include <afxwin.h>
|
||||
#include "afxwin.h"
|
||||
|
||||
|
||||
CppUnit_BEGIN
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
class ProgressBar;
|
||||
@@ -96,7 +85,7 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
CppUnit_END
|
||||
} // namespace CppUnit
|
||||
|
||||
|
||||
#endif // TestRunnerDlg_INCLUDED
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// WinTestRunner.cpp
|
||||
//
|
||||
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/WinTestRunner.cpp#1 $
|
||||
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/WinTestRunner.cpp#1 $
|
||||
//
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "TestRunnerDlg.h"
|
||||
|
||||
|
||||
CppUnit_BEGIN
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
WinTestRunner::WinTestRunner()
|
||||
@@ -61,4 +61,4 @@ void WinTestRunnerApp::TestMain()
|
||||
}
|
||||
|
||||
|
||||
CppUnit_END
|
||||
} // namespace CppUnit
|
||||
|
Reference in New Issue
Block a user