[Libreoffice-commits] cppunit.git: contrib/bc5 contrib/msvc contrib/readme.txt doc/CppUnit-win.dox examples/examples2008.sln examples/examples.dsw examples/msvc6 examples/ReadMe.txt include/msvc6 INSTALL-WIN32.txt Makefile.am NEWS src/CppUnitLibraries2010.sln src/DllPlugInTester src/Makefile.am src/msvc6
Markus Mohrhard
markus.mohrhard at googlemail.com
Thu Apr 13 02:02:14 UTC 2017
INSTALL-WIN32.txt | 30
Makefile.am | 4
NEWS | 4
contrib/msvc/AddingUnitTestMethod.dsm | 170 -
contrib/msvc/CppUnit.WWTpl | 486 ----
contrib/msvc/CppUnitDev.WWTpl | 488 ----
contrib/msvc/readme.txt | 10
contrib/readme.txt | 18
dev/null |binary
doc/CppUnit-win.dox | 3
examples/ReadMe.txt | 3
examples/examples.dsw | 60
examples/examples2008.sln | 20
examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp | 81
examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp | 489 ----
examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsw | 80
examples/msvc6/CppUnitTestApp/CppUnitTestApp.h | 52
examples/msvc6/CppUnitTestApp/CppUnitTestApp.rc | 219 -
examples/msvc6/CppUnitTestApp/CppUnitTestApp.vcproj | 1164 ----------
examples/msvc6/CppUnitTestApp/CppUnitTestAppDlg.cpp | 170 -
examples/msvc6/CppUnitTestApp/CppUnitTestAppDlg.h | 49
examples/msvc6/CppUnitTestApp/ReadMe.txt | 88
examples/msvc6/CppUnitTestApp/Resource.h | 21
examples/msvc6/CppUnitTestApp/StdAfx.cpp | 8
examples/msvc6/CppUnitTestApp/StdAfx.h | 28
examples/msvc6/CppUnitTestApp/res/CppUnitTestApp.rc2 | 13
examples/msvc6/HostApp/ExampleTestCase.cpp | 45
examples/msvc6/HostApp/ExampleTestCase.h | 38
examples/msvc6/HostApp/HostApp.cpp | 174 -
examples/msvc6/HostApp/HostApp.dsp | 448 ---
examples/msvc6/HostApp/HostApp.dsw | 80
examples/msvc6/HostApp/HostApp.h | 53
examples/msvc6/HostApp/HostApp.rc | 389 ---
examples/msvc6/HostApp/HostApp.vcproj | 1115 ---------
examples/msvc6/HostApp/HostAppDoc.cpp | 80
examples/msvc6/HostApp/HostAppDoc.h | 56
examples/msvc6/HostApp/HostAppView.cpp | 105
examples/msvc6/HostApp/HostAppView.h | 66
examples/msvc6/HostApp/MainFrm.cpp | 107
examples/msvc6/HostApp/MainFrm.h | 57
examples/msvc6/HostApp/Makefile.am | 4
examples/msvc6/HostApp/Resource.h | 20
examples/msvc6/HostApp/StdAfx.cpp | 6
examples/msvc6/HostApp/StdAfx.h | 26
examples/msvc6/HostApp/res/HostApp.rc2 | 13
examples/msvc6/HostApp/res/Makefile.am | 4
examples/msvc6/Makefile.am | 2
include/msvc6/DSPlugin/TestRunnerDSPluginVC6.h | 190 -
include/msvc6/DSPlugin/TestRunnerDSPluginVC6_i.c | 50
include/msvc6/testrunner/TestPlugInInterface.h | 3
src/CppUnitLibraries2010.sln | 11
src/DllPlugInTester/DllPlugInTester.cpp | 2
src/Makefile.am | 3
src/msvc6/DSPlugIn/COMHelper.h | 111
src/msvc6/DSPlugIn/DSAddIn.cpp | 110
src/msvc6/DSPlugIn/DSAddIn.h | 59
src/msvc6/DSPlugIn/DSPlugIn.cpp | 170 -
src/msvc6/DSPlugIn/DSPlugIn.def | 11
src/msvc6/DSPlugIn/DSPlugIn.h | 23
src/msvc6/DSPlugIn/DSPlugIn.rc | 156 -
src/msvc6/DSPlugIn/DSPlugIn.rgs | 32
src/msvc6/DSPlugIn/ReadMe.txt | 96
src/msvc6/DSPlugIn/StdAfx.cpp | 7
src/msvc6/DSPlugIn/StdAfx.h | 76
src/msvc6/DSPlugIn/TestRunnerDSPlugin.idl | 43
src/msvc6/DSPlugIn/res/DSPlugIn.rc2 | 13
src/msvc6/DSPlugIn/resource.h | 19
src/msvc6/DllPlugInTester/DllPlugInTester.cpp | 194 -
src/msvc6/testpluginrunner/ReadMe.txt | 88
src/msvc6/testpluginrunner/Resource.h | 49
src/msvc6/testpluginrunner/StdAfx.cpp | 8
src/msvc6/testpluginrunner/StdAfx.h | 29
src/msvc6/testpluginrunner/TestPlugIn.cpp | 101
src/msvc6/testpluginrunner/TestPlugIn.h | 68
src/msvc6/testpluginrunner/TestPlugInException.cpp | 50
src/msvc6/testpluginrunner/TestPlugInException.h | 60
src/msvc6/testpluginrunner/TestPlugInRunner.rc | 268 --
src/msvc6/testpluginrunner/TestPlugInRunner.vcxproj | 435 ---
src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp | 76
src/msvc6/testpluginrunner/TestPlugInRunnerApp.h | 49
src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp | 197 -
src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h | 67
src/msvc6/testpluginrunner/TestPlugInRunnerModel.cpp | 77
src/msvc6/testpluginrunner/TestPlugInRunnerModel.h | 54
src/msvc6/testpluginrunner/res/TestPlugInRunner.rc2 | 13
src/msvc6/testrunner/ActiveTest.cpp | 89
src/msvc6/testrunner/ActiveTest.h | 47
src/msvc6/testrunner/Change-Diary-ResourceBugFix.txt | 111
src/msvc6/testrunner/DynamicWindow/SizeCBar.cpp | 1061 ---------
src/msvc6/testrunner/DynamicWindow/SizeCBar.h | 195 -
src/msvc6/testrunner/DynamicWindow/SizeCBar.html | 180 -
src/msvc6/testrunner/DynamicWindow/cdxCDynamicBar.cpp | 184 -
src/msvc6/testrunner/DynamicWindow/cdxCDynamicBar.h | 168 -
src/msvc6/testrunner/DynamicWindow/cdxCDynamicControlsManager.cpp | 779 ------
src/msvc6/testrunner/DynamicWindow/cdxCDynamicControlsManager.h | 615 -----
src/msvc6/testrunner/DynamicWindow/cdxCDynamicDialog.cpp | 98
src/msvc6/testrunner/DynamicWindow/cdxCDynamicDialog.h | 121 -
src/msvc6/testrunner/DynamicWindow/cdxCDynamicFormView.cpp | 94
src/msvc6/testrunner/DynamicWindow/cdxCDynamicFormView.h | 51
src/msvc6/testrunner/DynamicWindow/cdxCDynamicPropSheet.cpp | 278 --
src/msvc6/testrunner/DynamicWindow/cdxCDynamicPropSheet.h | 209 -
src/msvc6/testrunner/DynamicWindow/cdxCDynamicWnd.cpp | 747 ------
src/msvc6/testrunner/DynamicWindow/cdxCDynamicWnd.h | 694 -----
src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp | 327 --
src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.h | 72
src/msvc6/testrunner/DynamicWindow/cdxCSizeIconCtrl.cpp | 148 -
src/msvc6/testrunner/DynamicWindow/cdxCSizeIconCtrl.h | 95
src/msvc6/testrunner/DynamicWindow/doc/cdxCDynamicWnd-DOC.html | 301 --
src/msvc6/testrunner/ListCtrlFormatter.cpp | 70
src/msvc6/testrunner/ListCtrlFormatter.h | 71
src/msvc6/testrunner/ListCtrlSetter.cpp | 122 -
src/msvc6/testrunner/ListCtrlSetter.h | 90
src/msvc6/testrunner/MfcSynchronizationObject.h | 39
src/msvc6/testrunner/MfcTestRunner.cpp | 79
src/msvc6/testrunner/MostRecentTests.cpp | 70
src/msvc6/testrunner/MostRecentTests.h | 50
src/msvc6/testrunner/MsDevCallerListCtrl.cpp | 236 --
src/msvc6/testrunner/MsDevCallerListCtrl.h | 56
src/msvc6/testrunner/ProgressBar.cpp | 185 -
src/msvc6/testrunner/ProgressBar.h | 71
src/msvc6/testrunner/Resource.h | 47
src/msvc6/testrunner/ResourceLoaders.cpp | 42
src/msvc6/testrunner/ResourceLoaders.h | 7
src/msvc6/testrunner/StdAfx.cpp | 6
src/msvc6/testrunner/StdAfx.h | 43
src/msvc6/testrunner/SynchronizedTestResult.h | 106
src/msvc6/testrunner/TestResultDecorator.h | 102
src/msvc6/testrunner/TestRunner.def | 7
src/msvc6/testrunner/TestRunner.rc | 217 -
src/msvc6/testrunner/TestRunner.vcxproj | 725 ------
src/msvc6/testrunner/TestRunnerApp.cpp | 56
src/msvc6/testrunner/TestRunnerApp.h | 19
src/msvc6/testrunner/TestRunnerDlg.cpp | 677 -----
src/msvc6/testrunner/TestRunnerDlg.h | 170 -
src/msvc6/testrunner/TestRunnerModel.cpp | 230 -
src/msvc6/testrunner/TestRunnerModel.h | 87
src/msvc6/testrunner/TreeHierarchyDlg.cpp | 208 -
src/msvc6/testrunner/TreeHierarchyDlg.h | 81
src/msvc6/testrunner/res/TestRunner.rc2 | 13
139 files changed, 7 insertions(+), 20353 deletions(-)
New commits:
commit 6456f18a9aa00cbf9d90075786122075dc8f3141
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Thu Apr 13 04:01:32 2017 +0200
remove more msvc specific code and bc5 stuff
diff --git a/INSTALL-WIN32.txt b/INSTALL-WIN32.txt
index 76c5e46..cef4083 100644
--- a/INSTALL-WIN32.txt
+++ b/INSTALL-WIN32.txt
@@ -9,10 +9,6 @@ Quick Steps to compile & run a sample using the GUI TestRunner:
VC7 will ask you if you want to convert, anwser 'yes to all'.
- Make HostApp the Active project
- Compile
-- For Visual Studio 6 only:
- - in VC++, Tools/Customize.../Add-ins and macro files/Browse...
- - select the file lib/TestRunnerDSPlugIn.dll and press ok to register
- the add-ins (double-click on failure = open file in VC++).
- Run the project
@@ -32,11 +28,6 @@ Use this to test DLL in your post-build step, or debug them.
* TestRunner (testrunner.dll) : a MFC extension DLL to run and browser unit
tests from a GUI.
-* DSPlugIn (lib/TestRunnerDSPlugIn.dll) : a VC++ 6.0 add-in used by
-testrunner.dll. If you double-click on a failure in the MFC TestRunner,
-a running instance of VC++ will open the file and highlight the line.
-This add-ins is not required for Visual Studio 7.
-
* TestPlugInRunner : (Warning: experimental) a VC++
application to run test plug-in. A test plug-in is a DLL that publish a
specified interface. This application is still incomplete (the auto-reload
@@ -122,7 +113,6 @@ testrunneru.dll : MFC Unicode TestRunner dynamic library (DLL) "Multithreaded
testrunneru.lib : MFC Unicode TestRunner import library "Multithreaded DLL"
testrunnerud.dll : MFC Unicode TestRunner dynamic library (DLL) "Debug Multithreaded DLL"
testrunnerud.lib : MFC Unicode TestRunner import library "Debug Multithreaded DLL"
-TestRunnerDSPlugIn.dll : The add-in you register in VC++.
Notes that when you are using CppUnit DLL (cppunit*_dll.dll), you must link
against the associated import library and define the pre-processor symbol
@@ -181,23 +171,3 @@ Using CppUnit:
- link lib/cppunitXX.lib and lib/testrunnerXX.lib
- include/ must be in the include search path
- lib/testrunnerXX.dll must be available to run your project
-
-* Using the DSPlugIn:
- You must register the plug-in with VC++. This is done in
- Tools/Customize/Add-ins and Macro files, selecting browse and
- selecting lib/TestRunnerDSPlugIn.dll (you can register the release
- or the debug version, both work).
-
- If an instance of VC++ is running and you double-click on a failure,
- VC++ will open the file and select the failure line.
-
-* Using the Test Plug In Runner:
- Your DLL must export a function that implement the interface
-defined in include/msvc6/testrunner/TestPlugInInterface.h.
-See examples/msvc6/TestPlugIn/TestPlugInInterfaceImpl.* for an example.
-Be warned, that runner is still experimental and have not been tested
-much.
-
- If you did a batch build, run TestPlugInRunnerd.exe and choose dll
- examples/cppunittest/DebugPlugIn/CppUnitTestPlugInd.dll, or
- examples/simple/DebugPlugIn/simple_plugind.dll to test it out.
diff --git a/Makefile.am b/Makefile.am
index fc5a645..89a9988 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,9 +40,7 @@ m4internal = \
m4/bb_enable_doxygen.m4 \
m4/README
-unusedfolders = \
- src/msvc6 \
- include/msvc6
+unusedfolders =
EXTRA_DIST = \
autogen.sh \
diff --git a/NEWS b/NEWS
index a59dd83..b1e0759 100644
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,10 @@
- QT test runner
+ - msvc6 test runners
+
+ - msvc6 plugin
+
New in CppUnit 1.13.2:
---------------------
diff --git a/contrib/bc5/bcc-makefile.zip b/contrib/bc5/bcc-makefile.zip
deleted file mode 100644
index 8be8d7b..0000000
Binary files a/contrib/bc5/bcc-makefile.zip and /dev/null differ
diff --git a/contrib/msvc/AddingUnitTestMethod.dsm b/contrib/msvc/AddingUnitTestMethod.dsm
deleted file mode 100644
index c95ba5a..0000000
--- a/contrib/msvc/AddingUnitTestMethod.dsm
+++ /dev/null
@@ -1,170 +0,0 @@
-'Made by bloodchen
-'bloodchen at hotmail.com
-Sub NewTestClass
-On Error Resume Next
-dim proj_path,ext,pos,proj_dir,MyCppFile,MyCppName,MyHFile,MyHName,ClassName,HText,CPPText
-proj_path = ActiveProject.fullname
-ext = ""
-pos = len (proj_path)
-Do While ext <> "\"
-ext = Mid(proj_path, pos, 1)
-pos = pos -1
-Loop
-proj_dir = left(proj_path, pos+1)
-ClassName=InputBox("Enter the class name:", "Class Name")
-if ActiveProject.Type <> "Build" then
-MsgBox "This project is not valid. Ending macro."
-Exit Sub
-end if
-if (len(ClassName) <= 0) then
-MsgBox "Invalid class name. Ending macro."
-Exit Sub
-end if
-
-' ClassName="CTest"
-MyCppName=proj_dir+ClassName+".cpp"
-MyHName=proj_dir+ClassName+".h"
-ActiveProject.AddFile MyCppName
-ActiveProject.AddFile MyHName
-Documents.Add "Text"
-ActiveDocument.Selection.StartOfDocument
-
-HText= "#ifndef "+ClassName+"DEF"+VbCrLf& _
-"#define "+ClassName+"DEF"+VbCrLf& _
-""+VbCrLf& _
-"#include <cppunit\testcase.h>"+VbCrLf& _
-"#include <cppunit\extensions\HelperMacros.h>"+VbCrLf& _
-"class "+ClassName+":public CppUnit::TestCase"+VbCrLf& _
-"{"+VbCrLf& _
-" CPPUNIT_TEST_SUITE( "+ClassName+" );"+VbCrLf& _
-" CPPUNIT_TEST_SUITE_END();"+VbCrLf& _
-"public:"+VbCrLf& _
-" "+ClassName+"();"+VbCrLf& _
-" virtual ~"+ClassName+"();"+VbCrLf& _
-"};"+VbCrLf& _
-"#endif"+VbCrLf
-ActiveDocument.Selection = HText
-ActiveDocument.Save MyHName
-' WriteFile MyHName,HText
-Documents.Add "Text"
-ActiveDocument.Selection.StartOfDocument
-CPPText = "#include "+chr(34)+"stdafx.h"+chr(34)+VbCrLf& _
-"#include "+chr(34)+ClassName+".h"+chr(34)+VbCrLf& _
-""+VbCrLf& _
-""+VbCrLf& _
-"CPPUNIT_TEST_SUITE_REGISTRATION( "+ClassName+ " );"+VbCrLf& _
-""+VbCrLf& _
-""+VbCrLf& _
-ClassName+"::"+ClassName+"()"+VbCrLf& _
-"{"+VbCrLf& _
-"}"+VbCrLf& _
-""+VbCrLf& _
-""+VbCrLf& _
-ClassName+"::~"+ClassName+"()"+VbCrLf& _
-"{"+VbCrLf& _
-"}"
-' WriteFile MyCppName,CPPText
-ActiveDocument.Selection = CPPText
-ActiveDocument.Save MyCppName
-
-End Sub
-
-
-Sub ToggleHandCPP()
-'DESCRIPTION: Opens the .cpp or .h file for the current document.
-'Toggles between the .cpp & .h file
-ext = ActiveDocument.FullName
-If ext = "" Then
-msgbox ("Error, not a .cpp or .h file")
-exit sub
-End If
-DocName = UCase(ext)
-
-If Right(DocName,4) = ".CPP" Then
-fn = left(DocName, Len(DocName)-3) & "h"
-ElseIf Right(DocName,2) = ".H" Then
-fn = Left(DocName, Len(DocName)-1) & "cpp"
-Else
-msgbox ("Error, not a .cpp or a .h file")
-exit sub
-End If
-'msgbox (fn)
-on error resume next
-Documents.Open (fn)
-End Sub
-
-Sub ADDTestMethod()
-strHpt = ActiveDocument.FullName
-if right(strHpt,3) = "CPP" Or right (strHpt,3) = "cpp" Then
-ActiveDocument.Selection.SelectLine
-strText = ActiveDocument.Selection.Text
-if (Instr(strText, "::" ) = 0) Then
-MsgBox("Line not valid !!")
-Exit Sub
-End If
-else exit sub
-end if
-
-pos = Instr(strText, "::")
-strName = Right(strText, (Len(strText) - (pos+1)))
-pos = Instr(strName,"(")
-strName = Left(strName,pos-1)
-strClass = Left(strText,pos - 1)
-while (instr(strClass, " ") > 0)
-pos = instr(strClass, " ")
-strTyp = strTyp & Left(strClass, pos)
-strClass = Right(strClass, Len(strClass) - (pos) )
-wend
-ToggleHandCPP
-
-ActiveDocument.Selection.SelectAll
-strHead = ActiveDocument.Selection.Text
-
-if (instr(strHead,strClass) = 0) Then
-MsgBox(" Can't find class " & strClass & " !!")
-ToggleHandCPP
-Exit Sub
-End If
-ActiveDocument.Selection.EndOfDocument
-lineBottom = ActiveDocument.Selection.CurrentLine
-
-ActiveDocument.Selection.StartOfDocument
-ActiveDocument.Selection.StartOfLine
-ActiveDocument.Selection.SelectLine
-strLine = ActiveDocument.Selection.Text
-while (instr(strLine, strName) = 0 And ActiveDocument.Selection.CurrentLine <> lineBottom)
-ActiveDocument.Selection.StartOfLine
-ActiveDocument.Selection.LineDown dsMove
-ActiveDocument.Selection.SelectLine
-strLine = ActiveDocument.Selection.Text
-Wend
-if (ActiveDocument.Selection.CurrentLine < lineBottom) Then
-if( instr(strLine, "CPPUNIT_TEST" ) <> 0 )Then
-ToggleHandCPP
-Exit Sub
-end if
-End If
-
-ActiveDocument.Selection.StartOfDocument
-ActiveDocument.Selection.StartOfLine
-ActiveDocument.Selection.SelectLine
-strLine = ActiveDocument.Selection.Text
-while (instr(strLine, " CPPUNIT_TEST_SUITE_END();" ) = 0 And ActiveDocument.Selection.CurrentLine <> lineBottom)
-ActiveDocument.Selection.StartOfLine
-ActiveDocument.Selection.LineDown dsMove
-ActiveDocument.Selection.SelectLine
-strLine = ActiveDocument.Selection.Text
-Wend
-if (ActiveDocument.Selection.CurrentLine < lineBottom) Then
-ActiveDocument.Selection.EndOfLine
-ActiveDocument.Selection.LineUp
-ActiveDocument.Selection.EndOfLine
-ActiveDocument.Selection.NewLine
-ActiveDocument.Selection = "CPPUNIT_TEST( "&strName&" );"
-else
-MsgBox("CPPUNIT_TEST_SUITE_END not found")
-end if
-ToggleHandCPP
-
-End Sub
-
\ No newline at end of file
diff --git a/contrib/msvc/CppUnit.WWTpl b/contrib/msvc/CppUnit.WWTpl
deleted file mode 100644
index fbdf748..0000000
--- a/contrib/msvc/CppUnit.WWTpl
+++ /dev/null
@@ -1,486 +0,0 @@
-Baptiste Lepilleur's template file.
-(@)Copyright 2001, Baptiste Lepilleur <gaiacrtn at free.fr>.
-
-
-
-[-ExtractPath]
-!!Memo
-Extract the path from a full filename.
-path is the filename we need to extract the path from.
-returns: extracted path.
-Algo: we iterates the filename from the end until we found a character '\'.
-!!End
-
-!!Params
-path @@(ProjectPath)@@
-!!End
-
-!!Code
-Input path: "@@path@@"
-!!Set index @@(Strlen @@path@@)@@
-!!//
-!!Set finalpath
-!!Label LoopExtractPath
-!!Sub index 1
-!!If @@index@@ < 0
-!!Goto EndExtractPath
-!!Endif
-!!//
-!!Set lastchar @@(StrSub @@path@@ @@index@@ 1)@@
-!!If @@lastchar@@ != "\"
-!!Goto LoopExtractPath
-!!Endif
-!!//
-!!Add index 1
-!!Set finalpath @@(StrSub @@path@@ 0 @@index@@)@@
-!!//
-!!Label EndExtractPath
-!!Return @@finalpath@@
-!!End
-
-
-
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
-[+01 Create Class in file]
-!!Memo
-Creates a new class in new files (.h/.cpp) and adds them to the project.
-!!End
-
-!!Params
-classname Ttr
-parentclassname =
-classdesc This class represents
-objectkind Reference Object
-hasserialize 0
-isrefobj 0
-inlinectordtor 0
-createfile 1
-isunittest 0
-!!End
-
-!!Dialog
-<html><body>
-Class name: <input type=text id=classname size=40><br>
-Brief description: <input type=text id=classdesc size=68><br>
-Object Kind:
- <select name="Object Kind" id=objectkind>
- <option>Default Value Object</option>
- <option>Explicit Value Object</option>
- <option>Reference Object</option>
- </select><br>
-
-Parent class name: <input type=text id=parentclassname size=40><br>
-
-<input type=checkbox id=createfile>
- Create a new file ? (otherwise Insert in current file).<br>
-<br>
-<input type=checkbox id=hasserialize>
- Has: virtual void Serialize( CArchive &ar )<br>
-<input type=checkbox id=isrefobj>
- Is a reference counted object (inherit ERefObj)<br>
-<input type=checkbox id=inlinectordtor>
- Inline ctor/dtor, copy ctor/operator.<br>
-<input type=checkbox id=isunittest>
- Is a CppUnit unit test.<br>
-
-<!--Base filename: <input type=text id=classbasepath size=64><br> -->
-
-
-<!--<p>Filename: <input type=file id=classhfn accept="*.h" size=40></p> -->
-<!--<p>Filename: <input type=file id=classcppfn accept="*.h" size=40></p> -->
-</body></html>
-!!End
-
-!!Code
-!!// Set variable that indicates the kind of object we are working on.
-!!Set defvalobject 0
-!!If @@objectkind@@ == "Default Value Object"
-!!Set defvalobject 1
-!!Endif
-!!//
-!!Set valobject 0
-!!If @@objectkind@@ == "Explicit Value Object"
-!!Set valobject 1
-!!Endif
-!!//
-!!Set refobject 0
-!!If @@objectkind@@ == "Reference Object"
-!!Set refobject 1
-!!Endif
-!!//
-!!// Set class filename (relative to dsp)
-!!Set headerfn @@classname@@.h
-!!Set implfn @@classname@@.cpp
-!!Set headerdefine @@(String @@(Call -MakeHeaderDefined fn @@headerfn@@)@@:U)@@
-!!//
-!!// hasparentclass indicates if a parent class has been defined.
-!!Set hasparentclass 0
-!!If @@parentclassname@@ != =
-!!Set hasparentclass 1
-!!Else
-!!If @@isunittest@@
-!!Set parentclassname CppUnit::TestFixture
-!!Set hasparentclass 1
-!!Endif
-!!Endif
-!!//
-!!// hasparent is set to 1 if the class has some parent (ERefObj or parentclass).
-!!Set hasparent @@hasparentclass@@
-!!If @@isrefobj@@
-!!Set hasparent 1
-!!Endif
-!!//
-!!//
-!!// All variables are set, we can now generates the class.
-!!//
-!!//
-!!//
-!!//
-!!// ----------------------------------------------------------------------------
-!!// ------------------------------ header file ---------------------------------
-!!// ----------------------------------------------------------------------------
-!!//
-!!//
-!!//
-!!If @@createfile@@
-!!FileNew @@headerfn@@ dsp
-!!Set headerpath @@(FilePath)@@
-// //////////////////////////////////////////////////////////////////////////
-// Header file @@headerfn@@ for class @@classname@@
-// (c)Copyright 2000, Baptiste Lepilleur.
-// Created: @@(Date "yyyy/MM/dd")@@
-// //////////////////////////////////////////////////////////////////////////
-#ifndef @@headerdefine@@
-#define @@headerdefine@@
-!!Else
-// //////////////////////////////////////////////////////////////////////////
-// //////////////////////////////////////////////////////////////////////////
-// Definition of class @@classname@@
-// //////////////////////////////////////////////////////////////////////////
-// //////////////////////////////////////////////////////////////////////////
-!!Endif
-!!If @@hasparentclass@@
-
-!!If @@isunittest@@
-#include <cppunit/extensions/HelperMacros.h>
-!!Else
-#include "@@parentclassname@@.h"
-!!Endif
-!!Endif
-
-
-!!If @@isrefobj@@
-/*! Declare @@classname@@Ref as a reference pointer on @@classname@@.
- */
-EDECL_REF( @@classname@@ );
-
-
-
-!!Endif
-/*! \class @@classname@@
- * \brief @@classdesc@@
- */
-class @@classname@@@@\
-!!// Write inherited class list (parent class first, then ERefObj if inherited).
-!!If @@hasparent@@
- : @@\
-!!// xpos contains the indentation level for inheritance declarations...
-!!GetPos xpos ypos
-!!Sub xpos 1
-public @@\
-!!Else
-
-!!Endif
-!!If @@hasparentclass@@
-@@parentclassname@@@@\
-!!If @@isrefobj@@
-,
-@@(Call -MakeFiller filler " " count @@xpos@@)@@@@\
-public @@\
-!!Else
-
-!!Endif
-!!Endif
-!!If @@isrefobj@@
-ERefObj
-!!Endif
-{
-!!//
-!!//
-!!// ------------ Done with inheritance, declare the class body... ----------
-!!//
-!!//
-!!If @@isunittest@@
- CPPUNIT_TEST_SUITE( @@classname@@ );
- CPPUNIT_TEST( putTestMethodNameHere );
- CPPUNIT_TEST_SUITE_END();
-
-!!Endif
-public:
-!!If !@@defvalobject@@
- /*! Constructs a @@classname@@ object.
- */
- @@classname@@();
-
-!!Endif
-!!If @@valobject@@
- /*! Copy constructor.
- * @param copy Object to copy.
- */
- @@classname@@( const @@classname@@ © );
-
-!!Endif
- /// Destructor.
- virtual ~@@classname@@();
-!!If @@valobject@@
-
- /*! Copy operator.
- * @param copy Object to copy.
- * @return Reference on this object.
- */
- @@classname@@ &operator =( const @@classname@@ © );
-!!Endif
-!!If @@isunittest@@
-
- void setUp();
- void tearDown();
-!!Endif
-!!// Private for methods
-!!If @@refobject@@
-
-private:
- /// Prevents the use of the copy constructor.
- @@classname@@( const @@classname@@ © );
-
- /// Prevents the use of the copy operator.
- void operator =( const @@classname@@ © );
-!!Endif
-!!// Private for member datas
-
-private:
-};
-
-
-
-!!If @@createfile@@
-// Inlines methods for @@classname@@:@@\
-!!GetPos xpos ypos
-!!Sub xpos 4
-
-// @@(Call -MakeFiller filler - count @@xpos@@)@@
-!!Endif //@@createfile@@
-!!If @@inlinectordtor@@
-!!If !@@defvalobject@@
-
-
-inline
-@@classname@@::@@classname@@()@@\
-!!If @@hasparentclass@@
- :
- @@parentclassname@@()
-!!Else
-
-!!Endif
-{
-}
-!!Endif //!@@defvalobject@@
-!!If @@valobject@@
-
-
-inline
-@@classname@@::@@classname@@( const @@classname@@ © )@@\
-!!If @@hasparentclass@@
- :
- @@parentclassname@@( copy )
-!!Else
-
-!!Endif
-!!Endif //@@valobject@@
-
-
-inline
-@@classname@@::~@@classname@@()
-{
-}
-!!If @@valobject@@
-
-
-inline @@classname@@ &
-@@classname@@::operator =( const @@classname@@ © )
-{
-
- return *this;
-}
-!!Endif //@@valobject@@
-!!Endif //@@inlinectordtor@@
-
-
-!!If @@createfile@@
-
-#endif // @@headerdefine@@
-!!FileSave
-!!ProjectFileAdd
-!!Endif
-!!//
-!!//
-!!//
-!!// ----------------------------------------------------------------------------
-!!// -------------------------- Implementation file -----------------------------
-!!// ----------------------------------------------------------------------------
-!!//
-!!//
-!!//
-!!If @@createfile@@
-!!FileNew @@implfn@@ dsp
-// //////////////////////////////////////////////////////////////////////////
-// Implementation file @@implfn@@ for class @@classname@@
-// (c)Copyright 2000, Baptiste Lepilleur.
-// Created: @@(Date "yyyy/MM/dd")@@
-// //////////////////////////////////////////////////////////////////////////
-
-#include "StdAfx.h"
-#include "@@headerfn@@"
-!!Else
-
-
-// //////////////////////////////////////////////////////////////////////////
-// Implementation of class @@classname@@
-// //////////////////////////////////////////////////////////////////////////
-!!Endif
-!!If @@isunittest@@
-
-CPPUNIT_TEST_SUITE_REGISTRATION( @@classname@@ );
-!!Endif
-!!If !@@inlinectordtor@@
-!!If !@@defvalobject@@
-
-
-@@classname@@::@@classname@@()@@\
-!!If @@hasparentclass@@
- :
- @@parentclassname@@()
-!!Else
-
-!!Endif
-{
-}
-!!Endif
-!!If @@valobject@@
-
-
-@@classname@@::@@classname@@( const @@classname@@ © )@@\
-!!If @@hasparentclass@@
- :
- @@parentclassname@@( copy )
-!!Else
-
-!!Endif
-{
-}
-!!Endif
-
-
-@@classname@@::~@@classname@@()
-{
-}
-!!If @@valobject@@
-
-
-@@classname@@ &
-@@classname@@::operator =( const @@classname@@ © )
-{
-
- return *this;
-}
-!!Endif
-!!Endif
-!!If @@isunittest@@
-
-
-void
-@@classname@@::setUp()
-{
-}
-
-
-void
-@@classname@@::tearDown()
-{
-}
-!!Endif
-
-!!If @@createfile@@
-!!FileSave
-!!ProjectFileAdd
-!!//ExecuteCommand FileOpen "@@headerpath@@"
-!!Endif
-!!End
-
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
-[-Dummy]
-!!Code
-!!End
-
----------------------------------------------------------------------------------
------------------------- [-MakeHeaderDefined] -------------------------------
----------------------------------------------------------------------------------
-[-MakeHeaderDefined]
-!!Memo
-This template replace all occurences of '.' in the specified filename "fn" by '_'.
-This is typically used to make the #ifndef at the beginning of header files.
-Parameters: "fn" filename in which each occurence of '.' is replaced by '_'.
-Returns: Transformed filename.
-!!End
-
-!!Params
-fn TestDoIt
-!!End
-
-!!Code
-!!Set result @@fn@@
-!!Label LoopMakeHeaderDefined
-!!Set fn @@result@@
-!!// Check if there is any occurence left of '.'
-!!Set index @@(StrFind @@fn@@ ".")@@
-!!If @@index@@ < 0
-!!Goto EndMakeHeaderDefined
-!!Endif
-!!// Replace occurences of '.' in fb by '_' and set to result.
-!!Set result @@(StrSub @@fn@@ 0 @@index@@ )@@_
-!!Add index 1
-!!Set result @@result@@@@(StrSub @@fn@@ @@index@@)@@
-!!Goto LoopMakeHeaderDefined
-!!Label EndMakeHeaderDefined
-!!Return @@result@@
-!!End
-
----------------------------------------------------------------------------------
----------------------------- [-MakeFiller] ----------------------------------
----------------------------------------------------------------------------------
-[-MakeFiller]
-!!Memo
-Make a string that contains "count" occurrence of "filler".
-Parameters: "filler" String that is repeated.
- "count" Number of times the "filler" is repeated.
-Returns: A string that contains "count" times the string "filler".
-!!End
-
-!!Params
-filler -
-count 10
-!!End
-
-!!Code
-!!Set result
-!!Label LoopMakerFiller
-!!If @@count@@ > 0
-!!Set result @@result@@@@filler@@
-!!Sub count 1
-!!Goto LoopMakerFiller
-!!Endif
-!!Return @@result@@
-!!End
\ No newline at end of file
diff --git a/contrib/msvc/CppUnitDev.WWTpl b/contrib/msvc/CppUnitDev.WWTpl
deleted file mode 100644
index 94ae9da..0000000
--- a/contrib/msvc/CppUnitDev.WWTpl
+++ /dev/null
@@ -1,488 +0,0 @@
-Baptiste Lepilleur's template file for CppUnit Development.
-(@)Copyright 2001, Baptiste Lepilleur.
-
-
-
-[-ExtractPath]
-!!Memo
-Extract the path from a full filename.
-path is the filename we need to extract the path from.
-returns: extracted path.
-Algo: we iterates the filename from the end until we found a character '\'.
-!!End
-
-!!Params
-path @@(ProjectPath)@@
-!!End
-
-!!Code
-Input path: "@@path@@"
-!!Set index @@(Strlen @@path@@)@@
-!!//
-!!Set finalpath
-!!Label LoopExtractPath
-!!Sub index 1
-!!If @@index@@ < 0
-!!Goto EndExtractPath
-!!Endif
-!!//
-!!Set lastchar @@(StrSub @@path@@ @@index@@ 1)@@
-!!If @@lastchar@@ != "\"
-!!Goto LoopExtractPath
-!!Endif
-!!//
-!!Add index 1
-!!Set finalpath @@(StrSub @@path@@ 0 @@index@@)@@
-!!//
-!!Label EndExtractPath
-!!Return @@finalpath@@
-!!End
-
-
-
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
-[+01 Create Class in file]
-!!Memo
-Creates a new class in new files (.h/.cpp) and adds them to the project.
-!!End
-
-!!Params
-classname Ttr
-parentclassname =
-classdesc This class represents
-objectkind Reference Object
-hasserialize 0
-isrefobj 0
-inlinectordtor 0
-createfile 1
-isunittest 0
-!!End
-
-!!Dialog
-<html><body>
-Class name: <input type=text id=classname size=40><br>
-Brief description: <input type=text id=classdesc size=68><br>
-Object Kind:
- <select name="Object Kind" id=objectkind>
- <option>Default Value Object</option>
- <option>Explicit Value Object</option>
- <option>Reference Object</option>
- </select><br>
-
-Parent class name: <input type=text id=parentclassname size=40><br>
-
-<input type=checkbox id=createfile>
- Create a new file ? (otherwise Insert in current file).<br>
-<br>
-<input type=checkbox id=hasserialize>
- Has: virtual void Serialize( CArchive &ar )<br>
-<input type=checkbox id=isrefobj>
- Is a reference counted object (inherit ERefObj)<br>
-<input type=checkbox id=inlinectordtor>
- Inline ctor/dtor, copy ctor/operator.<br>
-<input type=checkbox id=isunittest>
- Is a CppUnit unit test.<br>
-
-<!--Base filename: <input type=text id=classbasepath size=64><br> -->
-
-
-<!--<p>Filename: <input type=file id=classhfn accept="*.h" size=40></p> -->
-<!--<p>Filename: <input type=file id=classcppfn accept="*.h" size=40></p> -->
-</body></html>
-!!End
-
-!!Code
-!!// Set variable that indicates the kind of object we are working on.
-!!Set defvalobject 0
-!!If @@objectkind@@ == "Default Value Object"
-!!Set defvalobject 1
-!!Endif
-!!//
-!!Set valobject 0
-!!If @@objectkind@@ == "Explicit Value Object"
-!!Set valobject 1
-!!Endif
-!!//
-!!Set refobject 0
-!!If @@objectkind@@ == "Reference Object"
-!!Set refobject 1
-!!Endif
-!!//
-!!// Set class filename (relative to dsp)
-!!Set headerfn ../../include/cppunit/@@classname@@.h
-!!Set implfn @@classname@@.cpp
-!!Set headerdefine @@(String @@(Call -MakeHeaderDefined fn @@classname@@.h)@@:U)@@
-!!//
-!!// hasparentclass indicates if a parent class has been defined.
-!!Set hasparentclass 0
-!!If @@parentclassname@@ != =
-!!Set hasparentclass 1
-!!Else
-!!If @@isunittest@@
-!!Set parentclassname CppUnit::TestFixture
-!!Set hasparentclass 1
-!!Endif
-!!Endif
-!!//
-!!// hasparent is set to 1 if the class has some parent (ERefObj or parentclass).
-!!Set hasparent @@hasparentclass@@
-!!If @@isrefobj@@
-!!Set hasparent 1
-!!Endif
-!!//
-!!//
-!!// All variables are set, we can now generates the class.
-!!//
-!!//
-!!//
-!!//
-!!// ----------------------------------------------------------------------------
-!!// ------------------------------ header file ---------------------------------
-!!// ----------------------------------------------------------------------------
-!!//
-!!//
-!!//
-!!If @@createfile@@
-!!FileNew @@headerfn@@ dsp
-!!Set headerpath @@(FilePath)@@
-#ifndef @@headerdefine@@
-#define @@headerdefine@@
-!!Else
-// //////////////////////////////////////////////////////////////////////////
-// //////////////////////////////////////////////////////////////////////////
-// Definition of class @@classname@@
-// //////////////////////////////////////////////////////////////////////////
-// //////////////////////////////////////////////////////////////////////////
-!!Endif
-!!If @@hasparentclass@@
-
-!!If @@isunittest@@
-#include <cppunit/extensions/HelperMacros.h>
-!!Else
-#include "@@parentclassname@@.h"
-!!Endif
-!!Endif
-
-
-namespace CppUnit
-{
-
-!!If @@isrefobj@@
-/*! Declare @@classname@@Ref as a reference pointer on @@classname@@.
- */
-EDECL_REF( @@classname@@ );
-
-
-
-!!Endif
-/*! \class @@classname@@
- * \brief @@classdesc@@
- */
-class @@classname@@@@\
-!!// Write inherited class list (parent class first, then ERefObj if inherited).
-!!If @@hasparent@@
- : @@\
-!!// xpos contains the indentation level for inheritance declarations...
-!!GetPos xpos ypos
-!!Sub xpos 1
-public @@\
-!!Else
-
-!!Endif
-!!If @@hasparentclass@@
-@@parentclassname@@@@\
-!!If @@isrefobj@@
-,
-@@(Call -MakeFiller filler " " count @@xpos@@)@@@@\
-public @@\
-!!Else
-
-!!Endif
-!!Endif
-!!If @@isrefobj@@
-ERefObj
-!!Endif
-{
-!!//
-!!//
-!!// ------------ Done with inheritance, declare the class body... ----------
-!!//
-!!//
-!!If @@isunittest@@
- CPPUNIT_TEST_SUITE( @@classname@@ );
- CPPUNIT_TEST( putTestMethodNameHere );
- CPPUNIT_TEST_SUITE_END();
-
-!!Endif
-public:
-!!If !@@defvalobject@@
- /*! Constructs a @@classname@@ object.
- */
- @@classname@@();
-
-!!Endif
-!!If @@valobject@@
- /*! Copy constructor.
- * @param copy Object to copy.
- */
- @@classname@@( const @@classname@@ © );
-
-!!Endif
- /// Destructor.
- virtual ~@@classname@@();
-!!If @@valobject@@
-
- /*! Copy operator.
- * @param copy Object to copy.
- * @return Reference on this object.
- */
- @@classname@@ &operator =( const @@classname@@ © );
-!!Endif
-!!If @@isunittest@@
-
- void setUp();
- void tearDown();
-!!Endif
-!!// Private for methods
-!!If @@refobject@@
-
-private:
- /// Prevents the use of the copy constructor.
- @@classname@@( const @@classname@@ © );
-
- /// Prevents the use of the copy operator.
- void operator =( const @@classname@@ © );
-!!Endif
-!!// Private for member datas
-
-private:
-};
-
-
-
-!!If @@createfile@@
-// Inlines methods for @@classname@@:@@\
-!!GetPos xpos ypos
-!!Sub xpos 4
-
-// @@(Call -MakeFiller filler - count @@xpos@@)@@
-!!Endif //@@createfile@@
-!!If @@inlinectordtor@@
-!!If !@@defvalobject@@
-
-
-inline
-@@classname@@::@@classname@@()@@\
-!!If @@hasparentclass@@
- :
- @@parentclassname@@()
-!!Else
-
-!!Endif
-{
-}
-!!Endif //!@@defvalobject@@
-!!If @@valobject@@
-
-
-inline
-@@classname@@::@@classname@@( const @@classname@@ © )@@\
-!!If @@hasparentclass@@
- :
- @@parentclassname@@( copy )
-!!Else
-
-!!Endif
-!!Endif //@@valobject@@
-
-
-inline
-@@classname@@::~@@classname@@()
-{
-}
-!!If @@valobject@@
-
-
-inline @@classname@@ &
-@@classname@@::operator =( const @@classname@@ © )
-{
-
- return *this;
-}
-!!Endif //@@valobject@@
-!!Endif //@@inlinectordtor@@
-
-
-} // namespace CppUnit
-
-!!If @@createfile@@
-
-#endif // @@headerdefine@@
-!!FileSave
-!!ProjectFileAdd
-!!Endif
-!!//
-!!//
-!!//
-!!// ----------------------------------------------------------------------------
-!!// -------------------------- Implementation file -----------------------------
-!!// ----------------------------------------------------------------------------
-!!//
-!!//
-!!//
-!!If @@createfile@@
-!!FileNew @@implfn@@ dsp
-#include <cppunit/@@classname@@.h>
-!!Else
-
-
-// //////////////////////////////////////////////////////////////////////////
-// Implementation of class @@classname@@
-// //////////////////////////////////////////////////////////////////////////
-!!Endif
-
-
-namespace CppUnit
-{
-
-
-!!If @@isunittest@@
-
-CPPUNIT_TEST_SUITE_REGISTRATION( @@classname@@ );
-!!Endif
-!!If !@@inlinectordtor@@
-!!If !@@defvalobject@@
-
-
-@@classname@@::@@classname@@()@@\
-!!If @@hasparentclass@@
- :
- @@parentclassname@@()
-!!Else
-
-!!Endif
-{
-}
-!!Endif
-!!If @@valobject@@
-
-
-@@classname@@::@@classname@@( const @@classname@@ © )@@\
-!!If @@hasparentclass@@
- :
- @@parentclassname@@( copy )
-!!Else
-
-!!Endif
-{
-}
-!!Endif
-
-
-@@classname@@::~@@classname@@()
-{
-}
-!!If @@valobject@@
-
-
-@@classname@@ &
-@@classname@@::operator =( const @@classname@@ © )
-{
-
- return *this;
-}
-!!Endif
-!!Endif
-!!If @@isunittest@@
-
-
-void
-@@classname@@::setUp()
-{
-}
-
-
-void
-@@classname@@::tearDown()
-{
-}
-!!Endif
-
-
-} // namespace CppUnit
-
-!!If @@createfile@@
-!!FileSave
-!!ProjectFileAdd
-!!//ExecuteCommand FileOpen "@@headerpath@@"
-!!Endif
-!!End
-
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
-[-Dummy]
-!!Code
-!!End
-
----------------------------------------------------------------------------------
------------------------- [-MakeHeaderDefined] -------------------------------
----------------------------------------------------------------------------------
-[-MakeHeaderDefined]
-!!Memo
-This template replace all occurences of '.' in the specified filename "fn" by '_'.
-This is typically used to make the #ifndef at the beginning of header files.
-Parameters: "fn" filename in which each occurence of '.' is replaced by '_'.
-Returns: Transformed filename.
-!!End
-
-!!Params
-fn TestDoIt
-!!End
-
-!!Code
-!!Set result @@fn@@
-!!Label LoopMakeHeaderDefined
-!!Set fn @@result@@
-!!// Check if there is any occurence left of '.'
-!!Set index @@(StrFind @@fn@@ ".")@@
-!!If @@index@@ < 0
-!!Goto EndMakeHeaderDefined
-!!Endif
-!!// Replace occurences of '.' in fb by '_' and set to result.
-!!Set result @@(StrSub @@fn@@ 0 @@index@@ )@@_
-!!Add index 1
-!!Set result @@result@@@@(StrSub @@fn@@ @@index@@)@@
-!!Goto LoopMakeHeaderDefined
-!!Label EndMakeHeaderDefined
-!!Return CPPUNIT_@@result@@
-!!End
-
----------------------------------------------------------------------------------
----------------------------- [-MakeFiller] ----------------------------------
----------------------------------------------------------------------------------
-[-MakeFiller]
-!!Memo
-Make a string that contains "count" occurrence of "filler".
-Parameters: "filler" String that is repeated.
- "count" Number of times the "filler" is repeated.
-Returns: A string that contains "count" times the string "filler".
-!!End
-
-!!Params
-filler -
-count 10
-!!End
-
-!!Code
-!!Set result
-!!Label LoopMakerFiller
-!!If @@count@@ > 0
-!!Set result @@result@@@@filler@@
-!!Sub count 1
-!!Goto LoopMakerFiller
-!!Endif
-!!Return @@result@@
-!!End
\ No newline at end of file
diff --git a/contrib/msvc/UnitTestAddIn.zip b/contrib/msvc/UnitTestAddIn.zip
deleted file mode 100644
index 7f9ea5a..0000000
Binary files a/contrib/msvc/UnitTestAddIn.zip and /dev/null differ
diff --git a/contrib/msvc/readme.txt b/contrib/msvc/readme.txt
deleted file mode 100644
index e678eea..0000000
--- a/contrib/msvc/readme.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-What's in those files:
-
- * CppUnit.WWTpl: a template Workspace Whiz! which create a new class
-and add the new files to the project. You can specify that the class is a
-CppUnit testcase and all the macro will be defined to register the test case
-and declare the test suite. Workspace Whiz! is an add-ins for VC++. It can
-be found at: http://www.workspacewhiz.com/.
-
- * AddingUnitTestMethod.dsm: a set of VC++ macro to add unit test
-using helper macros.
\ No newline at end of file
diff --git a/contrib/readme.txt b/contrib/readme.txt
index 658b870..f1f1cbc 100644
--- a/contrib/readme.txt
+++ b/contrib/readme.txt
@@ -1,21 +1,5 @@
What's in those files:
-bc5/:
- * bc5-makefile.zip: makefile for CppUnit with Borland C++ 5.5 free compiler.
- contributed by 'cuppa' project team (http://sourceforge.jp/projects/cuppa/).
- See instruction 'readme_en.txt' in the zip.
-
-msvc/:
-
- * CppUnit.WWTpl: a template Workspace Whiz! which create a new class
-and add the new files to the project. You can specify that the class is a
-CppUnit testcase and all the macro will be defined to register the test case
-and declare the test suite. Workspace Whiz! is an add-ins for VC++. It can
-be found at: http://www.workspacewhiz.com/.
-
- * AddingUnitTestMethod.dsm: a set of VC++ macro to add unit test
-using helper macros.
-
xml-xsl/:
* report.xsl: a xml style sheet contributed by 'cuppa' project team
@@ -25,4 +9,4 @@ HTML. Windows user can test it by running tests.xml (require Internet Explorer
* cppunit2junit.xsl: XSLT for compatibility with Ant junit xml formatter
(patch #1112053 contributed by BARBOSA Norbert.
- See cppunit2junit.txt for details).
\ No newline at end of file
+ See cppunit2junit.txt for details).
diff --git a/doc/CppUnit-win.dox b/doc/CppUnit-win.dox
index b20cdee..dda43dc 100644
--- a/doc/CppUnit-win.dox
+++ b/doc/CppUnit-win.dox
@@ -355,8 +355,7 @@ EXCLUDE_SYMLINKS = NO
# certain files from those directories.
EXCLUDE_PATTERNS = config-*.h \
- */CVS/* \
- */include/msvc6/DSPlugin/*
+ */CVS/*
# The EXAMPLE_PATH tag can be used to specify one or more files or
# directories that contain example code fragments that are included (see
diff --git a/examples/ReadMe.txt b/examples/ReadMe.txt
index 83c69d0..2998cf2 100644
--- a/examples/ReadMe.txt
+++ b/examples/ReadMe.txt
@@ -16,6 +16,3 @@ and includes the timing in the XML output.
DumperPlugIn/: a 'TestListener' plug-in that dumps the test hierarchy as a tree or in
a flattened format (using TestPath).
-
-msvc6/: VC++ specific examples.
- HostApp/: Like 'simple' but use the MFC TestRunner.
diff --git a/examples/examples.dsw b/examples/examples.dsw
index 55a51b4..ec3d827 100644
--- a/examples/examples.dsw
+++ b/examples/examples.dsw
@@ -18,21 +18,6 @@ Package=<4>
###############################################################################
-Project: "CppUnitTestApp"=.\msvc6\CppUnitTestApp\CppUnitTestApp.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name TestRunner
- End Project Dependency
-}}}
-
-###############################################################################
-
Project: "CppUnitTestMain"=.\cppunittest\CppUnitTestMain.dsp - Package Owner=<4>
Package=<5>
@@ -108,51 +93,6 @@ Package=<4>
###############################################################################
-Project: "HostApp"=.\msvc6\HostApp\HostApp.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name TestRunner
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "TestPlugInRunner"=..\src\msvc6\testpluginrunner\TestPlugInRunner.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name cppunit_dll
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "TestRunner"=..\src\msvc6\testrunner\TestRunner.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name cppunit
- End Project Dependency
-}}}
-
-###############################################################################
-
Project: "cppunit"=..\src\cppunit\cppunit.dsp - Package Owner=<4>
Package=<5>
diff --git a/examples/examples2008.sln b/examples/examples2008.sln
index 0f85206..74d5377 100644
--- a/examples/examples2008.sln
+++ b/examples/examples2008.sln
@@ -6,11 +6,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ClockerPlugIn", "ClockerPlu
{6407D1BA-0C4D-4903-8BE8-728547FE1BBE} = {6407D1BA-0C4D-4903-8BE8-728547FE1BBE}
EndProjectSection
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CppUnitTestApp", "msvc6\CppUnitTestApp\CppUnitTestApp.vcproj", "{9D36E4E1-3CC7-4218-B334-695A3DBFAD79}"
- ProjectSection(ProjectDependencies) = postProject
- {914D0749-B9BA-40CD-9E84-41A68786848A} = {914D0749-B9BA-40CD-9E84-41A68786848A}
- EndProjectSection
-EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CppUnitTestMain", "cppunittest\CppUnitTestMain.vcproj", "{9AE80CDE-809B-4D04-8E6E-8061843D748B}"
ProjectSection(ProjectDependencies) = postProject
{9E6FC828-023C-4776-9EF1-6FEB45B88BF4} = {9E6FC828-023C-4776-9EF1-6FEB45B88BF4}
@@ -34,21 +29,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DumperPlugIn", "DumperPlugI
{6407D1BA-0C4D-4903-8BE8-728547FE1BBE} = {6407D1BA-0C4D-4903-8BE8-728547FE1BBE}
EndProjectSection
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HostApp", "msvc6\HostApp\HostApp.vcproj", "{0A850126-8FDC-46A2-B977-16D296BA9363}"
- ProjectSection(ProjectDependencies) = postProject
- {914D0749-B9BA-40CD-9E84-41A68786848A} = {914D0749-B9BA-40CD-9E84-41A68786848A}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestPlugInRunner", "..\src\msvc6\testpluginrunner\TestPlugInRunner.vcproj", "{8982E220-3042-4D5F-AD17-02DB61FC90B7}"
- ProjectSection(ProjectDependencies) = postProject
- {6407D1BA-0C4D-4903-8BE8-728547FE1BBE} = {6407D1BA-0C4D-4903-8BE8-728547FE1BBE}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestRunner", "..\src\msvc6\testrunner\TestRunner.vcproj", "{914D0749-B9BA-40CD-9E84-41A68786848A}"
- ProjectSection(ProjectDependencies) = postProject
- {9E6FC828-023C-4776-9EF1-6FEB45B88BF4} = {9E6FC828-023C-4776-9EF1-6FEB45B88BF4}
- EndProjectSection
-EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cppunit", "..\src\cppunit\cppunit.vcproj", "{9E6FC828-023C-4776-9EF1-6FEB45B88BF4}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cppunit_dll", "..\src\cppunit\cppunit_dll.vcproj", "{6407D1BA-0C4D-4903-8BE8-728547FE1BBE}"
diff --git a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp b/examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp
deleted file mode 100644
index e39da5a..0000000
--- a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp
+++ /dev/null
@@ -1,81 +0,0 @@
-// CppUnitTestApp.cpp : Defines the class behaviors for the application.
-//
-
-#include "stdafx.h"
-#include "CppUnitTestApp.h"
-#include "CppUnitTestAppDlg.h"
-#include <cppunit/ui/mfc/TestRunner.h>
-#include <cppunit/extensions/TestFactoryRegistry.h>
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// CppUnitTestApp
-
-BEGIN_MESSAGE_MAP(CppUnitTestApp, CWinApp)
- //{{AFX_MSG_MAP(CppUnitTestApp)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- // DO NOT EDIT what you see in these blocks of generated code!
- //}}AFX_MSG
- ON_COMMAND(ID_HELP, CWinApp::OnHelp)
-END_MESSAGE_MAP()
-
-/////////////////////////////////////////////////////////////////////////////
-// CppUnitTestApp construction
-
-CppUnitTestApp::CppUnitTestApp()
-{
- // TODO: add construction code here,
- // Place all significant initialization in InitInstance
-}
-
-/////////////////////////////////////////////////////////////////////////////
-// The one and only CppUnitTestApp object
-
-CppUnitTestApp theApp;
-
-/////////////////////////////////////////////////////////////////////////////
-// CppUnitTestApp initialization
-
-BOOL
-CppUnitTestApp::InitInstance()
-{
- AfxEnableControlContainer();
-
- // Standard initialization
- // If you are not using these features and wish to reduce the size
- // of your final executable, you should remove from the following
- // the specific initialization routines you do not need.
-
-#ifdef _AFXDLL
-# if _MSC_VER < 1300 // vc6
- Enable3dControls(); // Call this when using MFC in a shared DLL
-# endif
-#else
- Enable3dControlsStatic(); // Call this when linking to MFC statically
-#endif
-
- SetRegistryKey(_T("Local AppWizard-Generated Applications"));
-
- RunTests();
-
-
- // Since the dialog has been closed, return FALSE so that we exit the
- // application, rather than start the application's message pump.
- return FALSE;
-}
-
-
-void
-CppUnitTestApp::RunTests()
-{
- CPPUNIT_NS::MfcUi::TestRunner runner;
-
- runner.addTest( CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest() );
-
- runner.run();
-}
diff --git a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp b/examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp
deleted file mode 100644
index 1ca49be..0000000
--- a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp
+++ /dev/null
@@ -1,489 +0,0 @@
-# Microsoft Developer Studio Project File - Name="CppUnitTestApp" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Application" 0x0101
-
-CFG=CppUnitTestApp - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "CppUnitTestApp.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "CppUnitTestApp.mak" CFG="CppUnitTestApp - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "CppUnitTestApp - Win32 Release" (based on "Win32 (x86) Application")
-!MESSAGE "CppUnitTestApp - Win32 Debug" (based on "Win32 (x86) Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "CppUnitTestApp - Win32 Release"
-
-# PROP BASE Use_MFC 6
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 6
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c
-# ADD CPP /nologo /MD /W3 /GR /GX /Zd /O2 /I "../../../include" /I "../.." /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /D "CPPUNIT_USE_TYPEINFO" /FD /c
-# SUBTRACT CPP /YX /Yc /Yu
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x40c /d "NDEBUG" /d "_AFXDLL"
-# ADD RSC /l 0x40c /d "NDEBUG" /d "_AFXDLL"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
-# ADD LINK32 ../../../Lib/cppunit.lib ../../../Lib/testrunner.lib /nologo /subsystem:windows /machine:I386
-# SUBTRACT LINK32 /incremental:yes
-
-!ELSEIF "$(CFG)" == "CppUnitTestApp - Win32 Debug"
-
-# PROP BASE Use_MFC 6
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 6
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c
-# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /I "../../../include" /I "../.." /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /D "CPPUNIT_USE_TYPEINFO" /FD /GZ /c
-# SUBTRACT CPP /YX /Yc /Yu
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x40c /d "_DEBUG" /d "_AFXDLL"
-# ADD RSC /l 0x40c /d "_DEBUG" /d "_AFXDLL"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 ../../../Lib/cppunitd.lib ../../../Lib/testrunnerd.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "CppUnitTestApp - Win32 Release"
-# Name "CppUnitTestApp - Win32 Debug"
-# Begin Group "GUI"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\CppUnitTestApp.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CppUnitTestApp.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CppUnitTestApp.rc
-# End Source File
-# Begin Source File
-
-SOURCE=.\CppUnitTestAppDlg.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CppUnitTestAppDlg.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Resource.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\StdAfx.cpp
-# ADD CPP /Yc"stdafx.h"
-# End Source File
-# Begin Source File
-
-SOURCE=.\StdAfx.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# Begin Source File
-
-SOURCE=.\res\CppUnitTestApp.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\res\CppUnitTestApp.rc2
-# End Source File
-# End Group
-# Begin Group "DLL Dependencies"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=..\..\..\lib\testrunner.dll
-
-!IF "$(CFG)" == "CppUnitTestApp - Win32 Release"
-
-# Begin Custom Build - $(IntDir)\$(InputName).dll
-IntDir=.\Release
-InputPath=..\..\..\lib\testrunner.dll
-InputName=testrunner
-
-"$(IntDir)\$(InputName).dll" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- copy $(InputPath) $(IntDir)\$(InputName).dll
-
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "CppUnitTestApp - Win32 Debug"
-
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\..\lib\testrunnerd.dll
-
-!IF "$(CFG)" == "CppUnitTestApp - Win32 Release"
-
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "CppUnitTestApp - Win32 Debug"
-
-# Begin Custom Build - $(IntDir)\$(InputName).dll
-IntDir=.\Debug
-InputPath=..\..\..\lib\testrunnerd.dll
-InputName=testrunnerd
-
-"$(IntDir)\$(InputName).dll" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- copy $(InputPath) $(IntDir)\$(InputName).dll
-
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# Begin Group "Tests"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=..\..\cppunittest\BaseTestCase.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\BaseTestCase.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\CoreSuite.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\CppUnitTestSuite.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\ExceptionTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\ExceptionTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\ExceptionTestCaseDecoratorTest.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\ExceptionTestCaseDecoratorTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\ExtensionSuite.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\FailureException.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\HelperMacrosTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\HelperMacrosTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\HelperSuite.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\MessageTest.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\MessageTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\MockFunctor.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\MockProtector.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\MockTestCase.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\MockTestCase.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\MockTestListener.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\MockTestListener.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\OrthodoxTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\OrthodoxTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\OutputSuite.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\RepeatedTestTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\RepeatedTestTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\StringToolsTest.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\StringToolsTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\SubclassedTestCase.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\SubclassedTestCase.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\SynchronizedTestResult.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestAssertTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestAssertTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestCallerTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestCallerTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestCaseTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestCaseTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestDecoratorTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestDecoratorTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestFailureTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestFailureTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestPathTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestPathTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestResultCollectorTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestResultCollectorTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestResultTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestResultTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestSetUpTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestSetUpTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestSuiteTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestSuiteTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TestTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\ToolsSuite.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TrackedTestCase.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\TrackedTestCase.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\UnitTestToolSuite.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\XmlElementTest.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\XmlElementTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\XmlOutputterTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\XmlOutputterTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\XmlUniformiser.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\XmlUniformiser.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\XmlUniformiserTest.cpp
-# SUBTRACT CPP /YX /Yc /Yu
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\cppunittest\XmlUniformiserTest.h
-# End Source File
-# End Group
-# Begin Source File
-
-SOURCE=..\..\cppunittest\Makefile.am
-# End Source File
-# Begin Source File
-
-SOURCE=.\ReadMe.txt
-# End Source File
-# End Target
-# End Project
diff --git a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsw b/examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsw
deleted file mode 100644
index 5ac6b56..0000000
--- a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsw
+++ /dev/null
@@ -1,80 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "CppUnitTestApp"=.\CppUnitTestApp.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name cppunit
- End Project Dependency
- Begin Project Dependency
- Project_Dep_Name TestRunner
- End Project Dependency
- Begin Project Dependency
- Project_Dep_Name DSPlugIn
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "DSPlugIn"=..\..\..\src\msvc6\DSPlugIn\DSPlugIn.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "TestRunner"=..\..\..\src\msvc6\testrunner\TestRunner.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name cppunit
- End Project Dependency
- Begin Project Dependency
- Project_Dep_Name DSPlugIn
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "cppunit"=..\..\..\src\cppunit\cppunit.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.h b/examples/msvc6/CppUnitTestApp/CppUnitTestApp.h
deleted file mode 100644
index 542f3f9..0000000
--- a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// CppUnitTestApp.h : main header file for the CPPUNITTESTAPP application
-//
-
-#if !defined(AFX_CPPUNITTESTAPP_H__6569C745_ED89_4902_9794_AD8422583BC1__INCLUDED_)
-#define AFX_CPPUNITTESTAPP_H__6569C745_ED89_4902_9794_AD8422583BC1__INCLUDED_
-
-#if _MSC_VER > 1000
-#pragma once
-#endif // _MSC_VER > 1000
-
-#ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
-#endif
-
-#include "resource.h" // main symbols
-
-/////////////////////////////////////////////////////////////////////////////
-// CppUnitTestApp:
-// See CppUnitTestApp.cpp for the implementation of this class
-//
-
-class CppUnitTestApp : public CWinApp
-{
-public:
- CppUnitTestApp();
-
-// Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CppUnitTestApp)
- public:
- virtual BOOL InitInstance();
- //}}AFX_VIRTUAL
-
-// Implementation
-
- //{{AFX_MSG(CppUnitTestApp)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-
-private:
- void RunTests();
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-//{{AFX_INSERT_LOCATION}}
-// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_CPPUNITTESTAPP_H__6569C745_ED89_4902_9794_AD8422583BC1__INCLUDED_)
diff --git a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.rc b/examples/msvc6/CppUnitTestApp/CppUnitTestApp.rc
deleted file mode 100644
index 04bb0e7..0000000
--- a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.rc
+++ /dev/null
@@ -1,219 +0,0 @@
-//Microsoft Developer Studio generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "afxres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "About CppUnitTestApp"
-FONT 8, "MS Sans Serif"
-BEGIN
- ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
- LTEXT "CppUnitTestApp Version 1.0",IDC_STATIC,40,10,119,8,
- SS_NOPREFIX
- LTEXT "Copyright (C) 2001",IDC_STATIC,40,25,119,8
- DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP
-END
-
-IDD_CPPUNITTESTAPP_DIALOG DIALOGEX 0, 0, 320, 200
-STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
-EXSTYLE WS_EX_APPWINDOW
-CAPTION "CppUnitTestApp"
-FONT 8, "MS Sans Serif", 0, 0, 0x1
-BEGIN
- DEFPUSHBUTTON "OK",IDOK,260,7,50,14
- PUSHBUTTON "Cancel",IDCANCEL,260,23,50,14
- LTEXT "TODO: Place dialog controls here.",IDC_STATIC,50,90,200,
- 8
-END
-
-
-#ifndef _MAC
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,0,0,1
- PRODUCTVERSION 1,0,0,1
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x4L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904B0"
- BEGIN
- VALUE "CompanyName", "\0"
- VALUE "FileDescription", "CppUnitTestApp MFC Application\0"
- VALUE "FileVersion", "1, 0, 0, 1\0"
- VALUE "InternalName", "CppUnitTestApp\0"
- VALUE "LegalCopyright", "Copyright (C) 2001\0"
- VALUE "LegalTrademarks", "\0"
- VALUE "OriginalFilename", "CppUnitTestApp.EXE\0"
- VALUE "ProductName", "CppUnitTestApp Application\0"
- VALUE "ProductVersion", "1, 0, 0, 1\0"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1200
- END
-END
-
-#endif // !_MAC
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO DISCARDABLE
-BEGIN
- IDD_ABOUTBOX, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 228
- TOPMARGIN, 7
- BOTTOMMARGIN, 48
- END
-
- IDD_CPPUNITTESTAPP_DIALOG, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 313
- TOPMARGIN, 7
- BOTTOMMARGIN, 193
- END
-END
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDR_MAINFRAME ICON DISCARDABLE "res\\CppUnitTestApp.ico"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
- IDS_ABOUTBOX "&About CppUnitTestApp..."
-END
-
-#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-/////////////////////////////////////////////////////////////////////////////
-// French (France) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
-#ifdef _WIN32
-LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
-#pragma code_page(1252)
-#endif //_WIN32
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE DISCARDABLE
-BEGIN
- "#include ""afxres.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE DISCARDABLE
-BEGIN
- "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
- "#define _AFX_NO_OLE_RESOURCES\r\n"
- "#define _AFX_NO_TRACKER_RESOURCES\r\n"
- "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
- "\r\n"
- "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
- "#ifdef _WIN32\r\n"
- "LANGUAGE 9, 1\r\n"
- "#pragma code_page(1252)\r\n"
- "#endif //_WIN32\r\n"
- "#include ""res\\CppUnitTestApp.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
- "#include ""afxres.rc"" // Standard components\r\n"
- "#endif\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-#endif // French (France) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-#define _AFX_NO_SPLITTER_RESOURCES
-#define _AFX_NO_OLE_RESOURCES
-#define _AFX_NO_TRACKER_RESOURCES
-#define _AFX_NO_PROPERTY_RESOURCES
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE 9, 1
-#pragma code_page(1252)
-#endif //_WIN32
-#include "res\CppUnitTestApp.rc2" // non-Microsoft Visual C++ edited resources
-#include "afxres.rc" // Standard components
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
diff --git a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.vcproj b/examples/msvc6/CppUnitTestApp/CppUnitTestApp.vcproj
deleted file mode 100644
index 429e5b4..0000000
--- a/examples/msvc6/CppUnitTestApp/CppUnitTestApp.vcproj
+++ /dev/null
@@ -1,1164 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="CppUnitTestApp"
- ProjectGUID="{9D36E4E1-3CC7-4218-B334-695A3DBFAD79}"
- Keyword="MFCProj"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory=".\Release"
- IntermediateDirectory=".\Release"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="2"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\Release/CppUnitTestApp.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="../../../include,../.."
- PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;CPPUNIT_USE_TYPEINFO"
- StringPooling="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Release/CppUnitTestApp.pch"
- AssemblerListingLocation=".\Release/"
- ObjectFile=".\Release/"
- ProgramDataBaseFileName=".\Release/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- DebugInformationFormat="1"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1036"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="../../../Lib/cppunit.lib ../../../Lib/testrunner.lib"
- OutputFile=".\Release/CppUnitTestApp.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- ProgramDatabaseFile=".\Release/CppUnitTestApp.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Release/CppUnitTestApp.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory=".\Debug"
- IntermediateDirectory=".\Debug"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="2"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\Debug/CppUnitTestApp.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="../../../include,../.."
- PreprocessorDefinitions="_DEBUG;WIN32;_WINDOWS;CPPUNIT_USE_TYPEINFO"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Debug/CppUnitTestApp.pch"
- AssemblerListingLocation=".\Debug/"
- ObjectFile=".\Debug/"
- ProgramDataBaseFileName=".\Debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1036"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="../../../Lib/cppunitd.lib ../../../Lib/testrunnerd.lib"
- OutputFile=".\Debug/CppUnitTestApp.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\Debug/CppUnitTestApp.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Debug/CppUnitTestApp.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="GUI"
- >
- <File
- RelativePath="CppUnitTestApp.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="CppUnitTestApp.h"
- >
- </File>
- <File
- RelativePath="CppUnitTestApp.rc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="CppUnitTestAppDlg.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="CppUnitTestAppDlg.h"
- >
- </File>
- <File
- RelativePath="Resource.h"
- >
- </File>
- <File
- RelativePath="StdAfx.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- UsePrecompiledHeader="1"
- PrecompiledHeaderThrough="stdafx.h"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- UsePrecompiledHeader="1"
- PrecompiledHeaderThrough="stdafx.h"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="StdAfx.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
- >
- <File
- RelativePath="res\CppUnitTestApp.ico"
- >
- </File>
- <File
- RelativePath="res\CppUnitTestApp.rc2"
- >
- </File>
- </Filter>
- <Filter
- Name="DLL Dependencies"
- >
- <File
- RelativePath="..\..\..\lib\testrunner.dll"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="$(IntDir)\$(InputName).dll"
- CommandLine="copy $(InputPath) $(IntDir)\$(InputName).dll
"
- Outputs="$(IntDir)\$(InputName).dll"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\..\lib\testrunnerd.dll"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="$(IntDir)\$(InputName).dll"
- CommandLine="copy $(InputPath) $(IntDir)\$(InputName).dll
"
- Outputs="$(IntDir)\$(InputName).dll"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Tests"
- >
- <File
- RelativePath="..\..\cppunittest\BaseTestCase.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\BaseTestCase.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\CoreSuite.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\CppUnitTestSuite.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\ExceptionTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\ExceptionTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\ExceptionTestCaseDecoratorTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\ExceptionTestCaseDecoratorTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\ExtensionSuite.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\FailureException.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\HelperMacrosTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\HelperMacrosTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\HelperSuite.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\MessageTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\MessageTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\MockFunctor.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\MockProtector.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\MockTestCase.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\MockTestCase.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\MockTestListener.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\MockTestListener.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\OrthodoxTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\OrthodoxTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\OutputSuite.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\RepeatedTestTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\RepeatedTestTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\StringToolsTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\StringToolsTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\SubclassedTestCase.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\SubclassedTestCase.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\SynchronizedTestResult.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestAssertTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestAssertTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestCallerTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestCallerTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestCaseTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestCaseTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestDecoratorTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestDecoratorTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestFailureTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestFailureTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestPathTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestPathTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestResultCollectorTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestResultCollectorTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestResultTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestResultTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestSetUpTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestSetUpTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestSuiteTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestSuiteTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TestTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TestTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\ToolsSuite.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\TrackedTestCase.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\TrackedTestCase.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\UnitTestToolSuite.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\XmlElementTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\XmlElementTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\XmlOutputterTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\XmlOutputterTest.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\XmlUniformiser.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\XmlUniformiser.h"
- >
- </File>
- <File
- RelativePath="..\..\cppunittest\XmlUniformiserTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\cppunittest\XmlUniformiserTest.h"
- >
- </File>
- </Filter>
- <File
- RelativePath="..\..\cppunittest\Makefile.am"
- >
- </File>
- <File
- RelativePath="ReadMe.txt"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/examples/msvc6/CppUnitTestApp/CppUnitTestAppDlg.cpp b/examples/msvc6/CppUnitTestApp/CppUnitTestAppDlg.cpp
deleted file mode 100644
index 882e6f9..0000000
--- a/examples/msvc6/CppUnitTestApp/CppUnitTestAppDlg.cpp
+++ /dev/null
@@ -1,170 +0,0 @@
-// CppUnitTestAppDlg.cpp : implementation file
-//
-
-#include "stdafx.h"
-#include "CppUnitTestApp.h"
-#include "CppUnitTestAppDlg.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// CAboutDlg dialog used for App About
-
-class CAboutDlg : public CDialog
-{
-public:
- CAboutDlg();
-
-// Dialog Data
- //{{AFX_DATA(CAboutDlg)
- enum { IDD = IDD_ABOUTBOX };
- //}}AFX_DATA
-
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAboutDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
-// Implementation
-protected:
- //{{AFX_MSG(CAboutDlg)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-};
-
-CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
-{
- //{{AFX_DATA_INIT(CAboutDlg)
- //}}AFX_DATA_INIT
-}
-
-void CAboutDlg::DoDataExchange(CDataExchange* pDX)
-{
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CAboutDlg)
- //}}AFX_DATA_MAP
-}
-
-BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
- //{{AFX_MSG_MAP(CAboutDlg)
- // No message handlers
- //}}AFX_MSG_MAP
-END_MESSAGE_MAP()
-
-/////////////////////////////////////////////////////////////////////////////
-// CppUnitTestAppDlg dialog
-
-CppUnitTestAppDlg::CppUnitTestAppDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CppUnitTestAppDlg::IDD, pParent)
-{
- //{{AFX_DATA_INIT(CppUnitTestAppDlg)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
- m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
-}
-
-void CppUnitTestAppDlg::DoDataExchange(CDataExchange* pDX)
-{
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CppUnitTestAppDlg)
- // NOTE: the ClassWizard will add DDX and DDV calls here
- //}}AFX_DATA_MAP
-}
-
-BEGIN_MESSAGE_MAP(CppUnitTestAppDlg, CDialog)
- //{{AFX_MSG_MAP(CppUnitTestAppDlg)
- ON_WM_SYSCOMMAND()
- ON_WM_PAINT()
- ON_WM_QUERYDRAGICON()
- //}}AFX_MSG_MAP
-END_MESSAGE_MAP()
-
-/////////////////////////////////////////////////////////////////////////////
-// CppUnitTestAppDlg message handlers
-
-BOOL CppUnitTestAppDlg::OnInitDialog()
-{
- CDialog::OnInitDialog();
-
- // Add "About..." menu item to system menu.
-
- // IDM_ABOUTBOX must be in the system command range.
- ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
- ASSERT(IDM_ABOUTBOX < 0xF000);
-
- CMenu* pSysMenu = GetSystemMenu(FALSE);
- if (pSysMenu != NULL)
- {
- CString strAboutMenu;
- strAboutMenu.LoadString(IDS_ABOUTBOX);
- if (!strAboutMenu.IsEmpty())
- {
- pSysMenu->AppendMenu(MF_SEPARATOR);
- pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
- }
- }
-
- // Set the icon for this dialog. The framework does this automatically
- // when the application's main window is not a dialog
- SetIcon(m_hIcon, TRUE); // Set big icon
- SetIcon(m_hIcon, FALSE); // Set small icon
-
- // TODO: Add extra initialization here
-
- return TRUE; // return TRUE unless you set the focus to a control
-}
-
-void CppUnitTestAppDlg::OnSysCommand(UINT nID, LPARAM lParam)
-{
- if ((nID & 0xFFF0) == IDM_ABOUTBOX)
- {
- CAboutDlg dlgAbout;
- dlgAbout.DoModal();
- }
- else
- {
- CDialog::OnSysCommand(nID, lParam);
- }
-}
-
-// If you add a minimize button to your dialog, you will need the code below
-// to draw the icon. For MFC applications using the document/view model,
-// this is automatically done for you by the framework.
-
-void CppUnitTestAppDlg::OnPaint()
-{
- if (IsIconic())
- {
- CPaintDC dc(this); // device context for painting
-
- SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
-
- // Center icon in client rectangle
- int cxIcon = GetSystemMetrics(SM_CXICON);
- int cyIcon = GetSystemMetrics(SM_CYICON);
- CRect rect;
- GetClientRect(&rect);
- int x = (rect.Width() - cxIcon + 1) / 2;
- int y = (rect.Height() - cyIcon + 1) / 2;
-
- // Draw the icon
- dc.DrawIcon(x, y, m_hIcon);
- }
- else
- {
- CDialog::OnPaint();
- }
-}
-
-// The system calls this to obtain the cursor to display while the user drags
-// the minimized window.
-HCURSOR CppUnitTestAppDlg::OnQueryDragIcon()
-{
- return (HCURSOR) m_hIcon;
-}
diff --git a/examples/msvc6/CppUnitTestApp/CppUnitTestAppDlg.h b/examples/msvc6/CppUnitTestApp/CppUnitTestAppDlg.h
deleted file mode 100644
index cc11da8..0000000
--- a/examples/msvc6/CppUnitTestApp/CppUnitTestAppDlg.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// CppUnitTestAppDlg.h : header file
-//
-
-#if !defined(AFX_CPPUNITTESTAPPDLG_H__25E1CF20_72A4_4E25_B930_626DF60AD4C7__INCLUDED_)
-#define AFX_CPPUNITTESTAPPDLG_H__25E1CF20_72A4_4E25_B930_626DF60AD4C7__INCLUDED_
-
-#if _MSC_VER > 1000
-#pragma once
-#endif // _MSC_VER > 1000
-
-/////////////////////////////////////////////////////////////////////////////
-// CppUnitTestAppDlg dialog
-
-class CppUnitTestAppDlg : public CDialog
-{
-// Construction
-public:
- CppUnitTestAppDlg(CWnd* pParent = NULL); // standard constructor
-
-// Dialog Data
- //{{AFX_DATA(CppUnitTestAppDlg)
- enum { IDD = IDD_CPPUNITTESTAPP_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
-
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CppUnitTestAppDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
-// Implementation
-protected:
- HICON m_hIcon;
-
- // Generated message map functions
- //{{AFX_MSG(CppUnitTestAppDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-};
-
-//{{AFX_INSERT_LOCATION}}
-// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_CPPUNITTESTAPPDLG_H__25E1CF20_72A4_4E25_B930_626DF60AD4C7__INCLUDED_)
diff --git a/examples/msvc6/CppUnitTestApp/ReadMe.txt b/examples/msvc6/CppUnitTestApp/ReadMe.txt
deleted file mode 100644
index 8dcfccb..0000000
--- a/examples/msvc6/CppUnitTestApp/ReadMe.txt
+++ /dev/null
@@ -1,88 +0,0 @@
-========================================================================
- MICROSOFT FOUNDATION CLASS LIBRARY : CppUnitTestApp
-========================================================================
-
-
-AppWizard has created this CppUnitTestApp application for you. This application
-not only demonstrates the basics of using the Microsoft Foundation classes
-but is also a starting point for writing your application.
-
-This file contains a summary of what you will find in each of the files that
-make up your CppUnitTestApp application.
-
-CppUnitTestApp.dsp
- This file (the project file) contains information at the project level and
- is used to build a single project or subproject. Other users can share the
- project (.dsp) file, but they should export the makefiles locally.
-
-CppUnitTestApp.h
- This is the main header file for the application. It includes other
- project specific headers (including Resource.h) and declares the
- CppUnitTestApp application class.
-
-CppUnitTestApp.cpp
- This is the main application source file that contains the application
- class CppUnitTestApp.
-
-CppUnitTestApp.rc
- This is a listing of all of the Microsoft Windows resources that the
- program uses. It includes the icons, bitmaps, and cursors that are stored
- in the RES subdirectory. This file can be directly edited in Microsoft
- Visual C++.
-
-CppUnitTestApp.clw
- This file contains information used by ClassWizard to edit existing
- classes or add new classes. ClassWizard also uses this file to store
- information needed to create and edit message maps and dialog data
- maps and to create prototype member functions.
-
-res\CppUnitTestApp.ico
- This is an icon file, which is used as the application's icon. This
- icon is included by the main resource file CppUnitTestApp.rc.
-
-res\CppUnitTestApp.rc2
- This file contains resources that are not edited by Microsoft
- Visual C++. You should place all resources not editable by
- the resource editor in this file.
-
-
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-AppWizard creates one dialog class:
-
-CppUnitTestAppDlg.h, CppUnitTestAppDlg.cpp - the dialog
- These files contain your CppUnitTestAppDlg class. This class defines
- the behavior of your application's main dialog. The dialog's
- template is in CppUnitTestApp.rc, which can be edited in Microsoft
- Visual C++.
-
-
-/////////////////////////////////////////////////////////////////////////////
-Other standard files:
-
-StdAfx.h, StdAfx.cpp
- These files are used to build a precompiled header (PCH) file
- named CppUnitTestApp.pch and a precompiled types file named StdAfx.obj.
-
-Resource.h
- This is the standard header file, which defines new resource IDs.
- Microsoft Visual C++ reads and updates this file.
-
-/////////////////////////////////////////////////////////////////////////////
-Other notes:
-
-AppWizard uses "TODO:" to indicate parts of the source code you
-should add to or customize.
-
-If your application uses MFC in a shared DLL, and your application is
-in a language other than the operating system's current language, you
-will need to copy the corresponding localized resources MFC42XXX.DLL
-from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list