summaryrefslogtreecommitdiff
path: root/include/cppunit/ui
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-13 04:20:19 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-13 04:20:19 +0200
commitf8bd289315041e24853b74b601131f4745c3feb3 (patch)
tree620ae6141a01afefeaeac45044ce299b1fdd04a0 /include/cppunit/ui
parentde5eab33cb30f15f85ac8f197bd571b7695566a6 (diff)
downloadcppunit-f8bd289315041e24853b74b601131f4745c3feb3.tar.gz
remove also all references to mfc
Diffstat (limited to 'include/cppunit/ui')
-rw-r--r--include/cppunit/ui/Makefile.am2
-rw-r--r--include/cppunit/ui/mfc/Makefile.am5
-rw-r--r--include/cppunit/ui/mfc/MfcTestRunner.h76
-rw-r--r--include/cppunit/ui/mfc/TestRunner.h21
4 files changed, 1 insertions, 103 deletions
diff --git a/include/cppunit/ui/Makefile.am b/include/cppunit/ui/Makefile.am
index 24cd2a5..4c4ceea 100644
--- a/include/cppunit/ui/Makefile.am
+++ b/include/cppunit/ui/Makefile.am
@@ -1 +1 @@
-SUBDIRS = text mfc
+SUBDIRS = text
diff --git a/include/cppunit/ui/mfc/Makefile.am b/include/cppunit/ui/mfc/Makefile.am
deleted file mode 100644
index 534b8cb..0000000
--- a/include/cppunit/ui/mfc/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-libcppunitincludedir = $(includedir)/cppunit/ui/mfc
-
-libcppunitinclude_HEADERS = \
- TestRunner.h \
- MfcTestRunner.h
diff --git a/include/cppunit/ui/mfc/MfcTestRunner.h b/include/cppunit/ui/mfc/MfcTestRunner.h
deleted file mode 100644
index b2a7ed7..0000000
--- a/include/cppunit/ui/mfc/MfcTestRunner.h
+++ /dev/null
@@ -1,76 +0,0 @@
-#ifndef CPPUNITUI_MFC_MFCTESTRUNNER_H
-#define CPPUNITUI_MFC_MFCTESTRUNNER_H
-
-#if _MSC_VER >= 1000
-#pragma once
-#endif // _MSC_VER >= 1000
-
-#include <cppunit/Portability.h>
-#include <vector>
-
-/* Refer to MSDN documentation to know how to write and use MFC extension DLL:
- mk:@MSITStore:h:\DevStudio\MSDN\98VSa\1036\vcmfc.chm::/html/_mfcnotes_tn033.htm#_mfcnotes_how_to_write_an_mfc_extension_dll
-
- This can be found in the index with "mfc extension"
- The basic:
- Using:
- - your application must use MFC DLL
- - memory allocation is done using the same heap
- - you must define the symbol _AFX_DLL
-
- Building:
- - you must define the symbol _AFX_DLL and _AFX_EXT
- - export class using AFX_EXT_CLASS
- */
-
-CPPUNIT_NS_BEGIN
-
- class Test;
- class TestSuite;
-
-
-/*! \brief MFC test runner.
- * \ingroup ExecutingTest
- *
- * Use this to launch the MFC TestRunner. Usually called from you CWinApp subclass:
- *
- * \code
- * #include <cppunit/ui/mfc/MfcTestRunner.h>
- * #include <cppunit/extensions/TestFactoryRegistry.h>
- *
- * void
- * CHostAppApp::RunUnitTests()
- * {
- * CppUnit::MfcTestRunner runner;
- * runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() );
- *
- * runner.run();
- * }
- * \endcode
- * \see CppUnit::TextTestRunner, CppUnit::TestFactoryRegistry.
- */
-class AFX_EXT_CLASS MfcTestRunner
-{
-public:
- MfcTestRunner();
- virtual ~MfcTestRunner();
-
- void run();
-
- void addTest( Test *test );
-
- void addTests( const std::vector<Test *> &tests );
-
-protected:
- Test *getRootTest();
-
- TestSuite *m_suite;
-
- typedef std::vector<Test *> Tests;
- Tests m_tests;
-};
-
-
-CPPUNIT_NS_END
-
-#endif // CPPUNITUI_MFC_MFCTESTRUNNER_H
diff --git a/include/cppunit/ui/mfc/TestRunner.h b/include/cppunit/ui/mfc/TestRunner.h
deleted file mode 100644
index c4d6aff..0000000
--- a/include/cppunit/ui/mfc/TestRunner.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef CPPUNITUI_MFC_TESTRUNNER_H
-#define CPPUNITUI_MFC_TESTRUNNER_H
-
-#include <cppunit/ui/mfc/MfcTestRunner.h>
-
-CPPUNIT_NS_BEGIN
-
-#if defined(CPPUNIT_HAVE_NAMESPACES)
-namespace MfcUi
-{
- /*! Mfc TestRunner (DEPRECATED).
- * \deprecated Use CppUnit::MfcTestRunner instead.
- */
- typedef CPPUNIT_NS::MfcTestRunner TestRunner;
-}
-#endif // defined(CPPUNIT_HAVE_NAMESPACES)
-
-CPPUNIT_NS_END
-
-
-#endif // CPPUNITUI_MFC_TESTRUNNER_H