[Libreoffice-commits] cppunit.git: configure.ac include/cppunit include/msvc6

Markus Mohrhard markus.mohrhard at googlemail.com
Thu Apr 13 02:20:56 UTC 2017


 configure.ac                           |    1 
 include/cppunit/ui/Makefile.am         |    2 
 include/cppunit/ui/mfc/Makefile.am     |    5 --
 include/cppunit/ui/mfc/MfcTestRunner.h |   76 ---------------------------------
 include/cppunit/ui/mfc/TestRunner.h    |   21 ---------
 include/msvc6/testrunner/TestRunner.h  |   17 -------
 6 files changed, 1 insertion(+), 121 deletions(-)

New commits:
commit f8bd289315041e24853b74b601131f4745c3feb3
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Thu Apr 13 04:20:19 2017 +0200

    remove also all references to mfc

diff --git a/configure.ac b/configure.ac
index e7b4617..b34947a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,7 +130,6 @@ AC_CONFIG_FILES([
 	include/cppunit/portability/Makefile
 	include/cppunit/tools/Makefile
 	include/cppunit/ui/Makefile
-	include/cppunit/ui/mfc/Makefile
 	include/cppunit/ui/text/Makefile
 	doc/Makefile
 	doc/Doxyfile
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
diff --git a/include/msvc6/testrunner/TestRunner.h b/include/msvc6/testrunner/TestRunner.h
deleted file mode 100644
index 0bee97a..0000000
--- a/include/msvc6/testrunner/TestRunner.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef CPPUNIT_MSVC_TESTRUNNER_H
-#define CPPUNIT_MSVC_TESTRUNNER_H
-
-
-#if _MSC_VER >= 1000
-#pragma once
-#endif // _MSC_VER >= 1000
-
-#include <cppunit/ui/mfc/MfcTestRunner.h>
-
-/*! \brief MFC test runner (DEPRECATED)
- * \ingroup ExecutingTest
- * \deprecated Use CppUnit::MfcUi::TestRunner instead.
- */
-typedef CPPUNIT_NS::MfcTestRunner TestRunner;
-
-#endif  // CPPUNIT_MSVC_TESTRUNNER_H


More information about the Libreoffice-commits mailing list