No code changes, fixed some typos.
Changed several occurrences of "it's" where "its" is meant, as well as a few other minor typos. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4265,7 +4265,7 @@ AC_CHECK_FUNCS([wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp])
|
|||||||
dnl On HP-UX aCC need this define to find mbstrtowcs() &c
|
dnl On HP-UX aCC need this define to find mbstrtowcs() &c
|
||||||
dnl Can't be used for g++ since the mbstate_t in wchar.h can conflict
|
dnl Can't be used for g++ since the mbstate_t in wchar.h can conflict
|
||||||
dnl with g++'s in <cwchar> (unless -D_INCLUDE__STDC_A1_SOURCE is in the
|
dnl with g++'s in <cwchar> (unless -D_INCLUDE__STDC_A1_SOURCE is in the
|
||||||
dnl flags when g++ is configured, it will declare it's own).
|
dnl flags when g++ is configured, it will declare its own).
|
||||||
if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
|
if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
|
||||||
CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
|
CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
|
||||||
fi
|
fi
|
||||||
|
@@ -35,7 +35,7 @@ Most C++ GUI frameworks overcome these limitations by means of a set of macros
|
|||||||
and functions and wxWidgets is no exception. As it originated before the
|
and functions and wxWidgets is no exception. As it originated before the
|
||||||
addition of RTTI to the C++ standard and as support for it is still missing
|
addition of RTTI to the C++ standard and as support for it is still missing
|
||||||
from some (albeit old) compilers, wxWidgets doesn't (yet) use it, but provides
|
from some (albeit old) compilers, wxWidgets doesn't (yet) use it, but provides
|
||||||
it's own macro-based RTTI system.
|
its own macro-based RTTI system.
|
||||||
|
|
||||||
In the future, the standard C++ RTTI will be used though and you're encouraged
|
In the future, the standard C++ RTTI will be used though and you're encouraged
|
||||||
to use whenever possible the wxDynamicCast macro which, for the implementations
|
to use whenever possible the wxDynamicCast macro which, for the implementations
|
||||||
@@ -79,7 +79,7 @@ This class stores meta-information about classes. An application may use macros
|
|||||||
such as DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS to record runtime
|
such as DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS to record runtime
|
||||||
information about a class, including:
|
information about a class, including:
|
||||||
|
|
||||||
@li It's position in the inheritance hierarchy.
|
@li Its position in the inheritance hierarchy.
|
||||||
@li The base class name(s) (up to two base classes are permitted).
|
@li The base class name(s) (up to two base classes are permitted).
|
||||||
@li A string representation of the class name.
|
@li A string representation of the class name.
|
||||||
@li A function that can be called to construct an instance of this class.
|
@li A function that can be called to construct an instance of this class.
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
How to write unit tests for wxWidgets
|
How to write unit tests for wxWidgets
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
Unit tests for wxWidgets are written using small cppunit framework. To compile
|
Unit tests for wxWidgets are written using small cppunit framework. To compile
|
||||||
(but not to run) them you need to have it installed. Hence the first part of
|
(but not to run) them you need to have it installed. Hence the first part of
|
||||||
this note explains how to do it while the second one explains how to write the
|
this note explains how to do it while the second one explains how to write the
|
||||||
test.
|
test.
|
||||||
@@ -17,7 +17,7 @@ I. CppUnit Installation
|
|||||||
- build everything in CppUnitLibraries.dsw work space
|
- build everything in CppUnitLibraries.dsw work space
|
||||||
- add include and lib subdirectories of the directory
|
- add include and lib subdirectories of the directory
|
||||||
where you installed cppunit to the compiler search path
|
where you installed cppunit to the compiler search path
|
||||||
using "Tools|Options" menu in VC IDEA
|
using "Tools|Options" menu in VC IDE
|
||||||
|
|
||||||
b) Under Unix: run configure && make && make install as usual
|
b) Under Unix: run configure && make && make install as usual
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ II. Writing tests with CppUnit
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION(MBConvTestCase);
|
CPPUNIT_TEST_SUITE_REGISTRATION(MBConvTestCase);
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(MBConvTestCase, "MBConvTestCase");
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(MBConvTestCase, "MBConvTestCase");
|
||||||
|
|
||||||
Read CppUnit documentation for more.
|
Read CppUnit documentation for more.
|
||||||
@@ -130,7 +130,7 @@ IV. Notes
|
|||||||
//CPPUNIT_TEST_SUITE_REGISTRATION(wxRegExTestCase);
|
//CPPUNIT_TEST_SUITE_REGISTRATION(wxRegExTestCase);
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(wxRegExTestCase, "fixme");
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(wxRegExTestCase, "fixme");
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(wxRegExTestCase, "wxRegExTestCase");
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(wxRegExTestCase, "wxRegExTestCase");
|
||||||
|
|
||||||
4. Tests which take a long time to execute can be registered under "advanced"
|
4. Tests which take a long time to execute can be registered under "advanced"
|
||||||
|
@@ -104,7 +104,7 @@ private:
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// (background) log window: this class forwards all log messages to the log
|
// (background) log window: this class forwards all log messages to the log
|
||||||
// target which was active when it was instantiated, but also collects them
|
// target which was active when it was instantiated, but also collects them
|
||||||
// to the log window. This window has it's own menu which allows the user to
|
// to the log window. This window has its own menu which allows the user to
|
||||||
// close it, clear the log contents or save it to the file.
|
// close it, clear the log contents or save it to the file.
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -469,7 +469,7 @@ protected:
|
|||||||
// is usually top one = all other cells are sub-cells of this one)
|
// is usually top one = all other cells are sub-cells of this one)
|
||||||
wxHtmlContainerCell *m_Cell;
|
wxHtmlContainerCell *m_Cell;
|
||||||
// parser which is used to parse HTML input.
|
// parser which is used to parse HTML input.
|
||||||
// Each wxHtmlWindow has it's own parser because sharing one global
|
// Each wxHtmlWindow has its own parser because sharing one global
|
||||||
// parser would be problematic (because of reentrancy)
|
// parser would be problematic (because of reentrancy)
|
||||||
wxHtmlWinParser *m_Parser;
|
wxHtmlWinParser *m_Parser;
|
||||||
// contains name of actually opened page or empty string if no page opened
|
// contains name of actually opened page or empty string if no page opened
|
||||||
@@ -481,7 +481,7 @@ protected:
|
|||||||
// class for opening files (file system)
|
// class for opening files (file system)
|
||||||
wxFileSystem* m_FS;
|
wxFileSystem* m_FS;
|
||||||
|
|
||||||
// frame in which page title should be displayed & number of it's statusbar
|
// frame in which page title should be displayed & number of its statusbar
|
||||||
// reserved for usage with this html window
|
// reserved for usage with this html window
|
||||||
wxFrame *m_RelatedFrame;
|
wxFrame *m_RelatedFrame;
|
||||||
#if wxUSE_STATUSBAR
|
#if wxUSE_STATUSBAR
|
||||||
|
@@ -127,7 +127,7 @@ metafile picture. All of them are defined in wxDataObject::StdFormats
|
|||||||
enumeration. Of course, it's not always enough and you'll often need your
|
enumeration. Of course, it's not always enough and you'll often need your
|
||||||
own format for data transfer. The simple helper class wxDataFormat may help
|
own format for data transfer. The simple helper class wxDataFormat may help
|
||||||
you: when you create an object of this class, it registers a new clipboard
|
you: when you create an object of this class, it registers a new clipboard
|
||||||
data format identified by the string passed to it's ctor.
|
data format identified by the string passed to its ctor.
|
||||||
|
|
||||||
After your new format is registered, you may use it as any other one.
|
After your new format is registered, you may use it as any other one.
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@ data format identified by the string passed to it's ctor.
|
|||||||
|
|
||||||
In order to start the d&d operation you should call the DoDragDrop function
|
In order to start the d&d operation you should call the DoDragDrop function
|
||||||
(typically in reply to a "mouse button press" message). NB: DoDragDrop() is a
|
(typically in reply to a "mouse button press" message). NB: DoDragDrop() is a
|
||||||
blocking function which enters into it's own message loop and may return after
|
blocking function which enters into its own message loop and may return after
|
||||||
an arbitrarily long time interval. During it, the QueryContinueDrag() is called
|
an arbitrarily long time interval. During it, the QueryContinueDrag() is called
|
||||||
whenever the mouse or keyboard state changes. The default behaviour is quite
|
whenever the mouse or keyboard state changes. The default behaviour is quite
|
||||||
reasonable for 99% of cases: the drag operation is cancelled if the <Esc> key
|
reasonable for 99% of cases: the drag operation is cancelled if the <Esc> key
|
||||||
|
@@ -276,7 +276,7 @@ bool wxPGDefaultRenderer::Render( wxDC& dc, const wxRect& rect,
|
|||||||
propertyGrid->GetCellDisabledTextColour();
|
propertyGrid->GetCellDisabledTextColour();
|
||||||
dc.SetTextForeground(hCol);
|
dc.SetTextForeground(hCol);
|
||||||
|
|
||||||
// Must make the editor NULL to override it's own rendering
|
// Must make the editor NULL to override its own rendering
|
||||||
// code.
|
// code.
|
||||||
editor = NULL;
|
editor = NULL;
|
||||||
}
|
}
|
||||||
|
@@ -101,7 +101,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( wxAnyTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( wxAnyTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( wxAnyTestCase, "wxAnyTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( wxAnyTestCase, "wxAnyTestCase" );
|
||||||
|
|
||||||
// Let's use a number with first digit after decimal dot less than 5,
|
// Let's use a number with first digit after decimal dot less than 5,
|
||||||
|
@@ -195,7 +195,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ArraysTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ArraysTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ArraysTestCase, "ArraysTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ArraysTestCase, "ArraysTestCase" );
|
||||||
|
|
||||||
void ArraysTestCase::wxStringArrayTest()
|
void ArraysTestCase::wxStringArrayTest()
|
||||||
|
@@ -111,7 +111,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( Base64TestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( Base64TestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( Base64TestCase, "Base64TestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( Base64TestCase, "Base64TestCase" );
|
||||||
|
|
||||||
void Base64TestCase::EncodeDecodeEmpty()
|
void Base64TestCase::EncodeDecodeEmpty()
|
||||||
|
@@ -50,7 +50,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( CmdLineTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( CmdLineTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( CmdLineTestCase, "CmdLineTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( CmdLineTestCase, "CmdLineTestCase" );
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
@@ -58,7 +58,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ConfigTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ConfigTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ConfigTestCase, "ConfigTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ConfigTestCase, "ConfigTestCase" );
|
||||||
|
|
||||||
void ConfigTestCase::ReadWriteLocalTest()
|
void ConfigTestCase::ReadWriteLocalTest()
|
||||||
|
@@ -131,7 +131,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( FileConfigTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( FileConfigTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FileConfigTestCase, "FileConfigTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FileConfigTestCase, "FileConfigTestCase" );
|
||||||
|
|
||||||
void FileConfigTestCase::Path()
|
void FileConfigTestCase::Path()
|
||||||
|
@@ -46,7 +46,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( RegConfigTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( RegConfigTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RegConfigTestCase, "RegConfigTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RegConfigTestCase, "RegConfigTestCase" );
|
||||||
|
|
||||||
void RegConfigTestCase::ReadWrite()
|
void RegConfigTestCase::ReadWrite()
|
||||||
|
@@ -68,7 +68,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( BitmapComboBoxTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( BitmapComboBoxTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( BitmapComboBoxTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( BitmapComboBoxTestCase,
|
||||||
"BitmapComboBoxTestCase" );
|
"BitmapComboBoxTestCase" );
|
||||||
|
|
||||||
|
@@ -52,7 +52,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( BitmapToggleButtonTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( BitmapToggleButtonTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( BitmapToggleButtonTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( BitmapToggleButtonTestCase,
|
||||||
"BitmapToggleButtonTestCase" );
|
"BitmapToggleButtonTestCase" );
|
||||||
|
|
||||||
|
@@ -61,7 +61,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ButtonTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ButtonTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ButtonTestCase, "ButtonTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ButtonTestCase, "ButtonTestCase" );
|
||||||
|
|
||||||
void ButtonTestCase::setUp()
|
void ButtonTestCase::setUp()
|
||||||
|
@@ -68,7 +68,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( CheckBoxTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( CheckBoxTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( CheckBoxTestCase, "CheckBoxTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( CheckBoxTestCase, "CheckBoxTestCase" );
|
||||||
|
|
||||||
void CheckBoxTestCase::setUp()
|
void CheckBoxTestCase::setUp()
|
||||||
|
@@ -50,7 +50,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( CheckListBoxTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( CheckListBoxTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( CheckListBoxTestCase, "CheckListBoxTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( CheckListBoxTestCase, "CheckListBoxTestCase" );
|
||||||
|
|
||||||
void CheckListBoxTestCase::setUp()
|
void CheckListBoxTestCase::setUp()
|
||||||
|
@@ -55,7 +55,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ChoicebookTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ChoicebookTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ChoicebookTestCase, "ChoicebookTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ChoicebookTestCase, "ChoicebookTestCase" );
|
||||||
|
|
||||||
void ChoicebookTestCase::setUp()
|
void ChoicebookTestCase::setUp()
|
||||||
|
@@ -49,7 +49,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ChoiceTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ChoiceTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ChoiceTestCase, "ChoiceTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ChoiceTestCase, "ChoiceTestCase" );
|
||||||
|
|
||||||
void ChoiceTestCase::setUp()
|
void ChoiceTestCase::setUp()
|
||||||
|
@@ -77,7 +77,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ComboBoxTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ComboBoxTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ComboBoxTestCase, "ComboBoxTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ComboBoxTestCase, "ComboBoxTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -45,7 +45,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( FrameTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( FrameTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FrameTestCase, "FrameTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FrameTestCase, "FrameTestCase" );
|
||||||
|
|
||||||
void FrameTestCase::setUp()
|
void FrameTestCase::setUp()
|
||||||
|
@@ -47,7 +47,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( GaugeTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( GaugeTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( GaugeTestCase, "GaugeTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( GaugeTestCase, "GaugeTestCase" );
|
||||||
|
|
||||||
void GaugeTestCase::setUp()
|
void GaugeTestCase::setUp()
|
||||||
|
@@ -95,7 +95,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( GridTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( GridTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( GridTestCase, "GridTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( GridTestCase, "GridTestCase" );
|
||||||
|
|
||||||
//initialise the static variable
|
//initialise the static variable
|
||||||
|
@@ -54,7 +54,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( HeaderCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( HeaderCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HeaderCtrlTestCase, "HeaderCtrlTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HeaderCtrlTestCase, "HeaderCtrlTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -45,7 +45,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( HtmlListBoxTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( HtmlListBoxTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HtmlListBoxTestCase, "HtmlListBoxTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HtmlListBoxTestCase, "HtmlListBoxTestCase" );
|
||||||
|
|
||||||
void HtmlListBoxTestCase::setUp()
|
void HtmlListBoxTestCase::setUp()
|
||||||
|
@@ -51,7 +51,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( HyperlinkCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( HyperlinkCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HyperlinkCtrlTestCase, "HyperlinkCtrlTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HyperlinkCtrlTestCase, "HyperlinkCtrlTestCase" );
|
||||||
|
|
||||||
void HyperlinkCtrlTestCase::setUp()
|
void HyperlinkCtrlTestCase::setUp()
|
||||||
|
@@ -59,7 +59,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( LabelTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( LabelTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( LabelTestCase, "LabelTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( LabelTestCase, "LabelTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -56,7 +56,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ListbookTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ListbookTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListbookTestCase, "ListbookTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListbookTestCase, "ListbookTestCase" );
|
||||||
|
|
||||||
void ListbookTestCase::setUp()
|
void ListbookTestCase::setUp()
|
||||||
|
@@ -72,7 +72,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ListBoxTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ListBoxTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListBoxTestCase, "ListBoxTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListBoxTestCase, "ListBoxTestCase" );
|
||||||
|
|
||||||
//initialise the static variable
|
//initialise the static variable
|
||||||
|
@@ -67,7 +67,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ListCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ListCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListCtrlTestCase, "ListCtrlTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListCtrlTestCase, "ListCtrlTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -48,7 +48,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ListViewTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ListViewTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListViewTestCase, "ListViewTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListViewTestCase, "ListViewTestCase" );
|
||||||
|
|
||||||
void ListViewTestCase::setUp()
|
void ListViewTestCase::setUp()
|
||||||
|
@@ -40,7 +40,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( MarkupTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( MarkupTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MarkupTestCase, "MarkupTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MarkupTestCase, "MarkupTestCase" );
|
||||||
|
|
||||||
void MarkupTestCase::RoundTrip()
|
void MarkupTestCase::RoundTrip()
|
||||||
|
@@ -57,7 +57,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( NotebookTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( NotebookTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( NotebookTestCase, "NotebookTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( NotebookTestCase, "NotebookTestCase" );
|
||||||
|
|
||||||
void NotebookTestCase::setUp()
|
void NotebookTestCase::setUp()
|
||||||
|
@@ -79,7 +79,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( OwnerDrawnComboBoxTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( OwnerDrawnComboBoxTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( OwnerDrawnComboBoxTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( OwnerDrawnComboBoxTestCase,
|
||||||
"OwnerDrawnComboBoxTestCase" );
|
"OwnerDrawnComboBoxTestCase" );
|
||||||
|
|
||||||
|
@@ -48,7 +48,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ColourPickerCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ColourPickerCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ColourPickerCtrlTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ColourPickerCtrlTestCase,
|
||||||
"ColourPickerCtrlTestCase" );
|
"ColourPickerCtrlTestCase" );
|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( DirPickerCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( DirPickerCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( DirPickerCtrlTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( DirPickerCtrlTestCase,
|
||||||
"DirPickerCtrlTestCase" );
|
"DirPickerCtrlTestCase" );
|
||||||
|
|
||||||
@@ -137,7 +137,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( FilePickerCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( FilePickerCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FilePickerCtrlTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FilePickerCtrlTestCase,
|
||||||
"FilePickerCtrlTestCase" );
|
"FilePickerCtrlTestCase" );
|
||||||
|
|
||||||
@@ -183,7 +183,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( FontPickerCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( FontPickerCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FontPickerCtrlTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FontPickerCtrlTestCase,
|
||||||
"FontPickerCtrlTestCase" );
|
"FontPickerCtrlTestCase" );
|
||||||
|
|
||||||
|
@@ -61,7 +61,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( RadioBoxTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( RadioBoxTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RadioBoxTestCase, "RadioBoxTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RadioBoxTestCase, "RadioBoxTestCase" );
|
||||||
|
|
||||||
void RadioBoxTestCase::setUp()
|
void RadioBoxTestCase::setUp()
|
||||||
|
@@ -50,7 +50,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( RadioButtonTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( RadioButtonTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RadioButtonTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RadioButtonTestCase,
|
||||||
"RadioButtonTestCase" );
|
"RadioButtonTestCase" );
|
||||||
|
|
||||||
|
@@ -50,7 +50,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( RearrangeListTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( RearrangeListTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RearrangeListTestCase, "RearrangeListTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RearrangeListTestCase, "RearrangeListTestCase" );
|
||||||
|
|
||||||
void RearrangeListTestCase::setUp()
|
void RearrangeListTestCase::setUp()
|
||||||
|
@@ -100,7 +100,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( RichTextCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( RichTextCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RichTextCtrlTestCase, "RichTextCtrlTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RichTextCtrlTestCase, "RichTextCtrlTestCase" );
|
||||||
|
|
||||||
void RichTextCtrlTestCase::setUp()
|
void RichTextCtrlTestCase::setUp()
|
||||||
|
@@ -64,7 +64,7 @@ bool SliderTestCase::ms_inversed = false;
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( SliderTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( SliderTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SliderTestCase, "SliderTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SliderTestCase, "SliderTestCase" );
|
||||||
|
|
||||||
void SliderTestCase::setUp()
|
void SliderTestCase::setUp()
|
||||||
|
@@ -54,7 +54,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( SpinCtrlDoubleTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( SpinCtrlDoubleTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SpinCtrlDoubleTestCase, "SpinCtrlDoubleTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SpinCtrlDoubleTestCase, "SpinCtrlDoubleTestCase" );
|
||||||
|
|
||||||
void SpinCtrlDoubleTestCase::setUp()
|
void SpinCtrlDoubleTestCase::setUp()
|
||||||
|
@@ -52,7 +52,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( SpinCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( SpinCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SpinCtrlTestCase, "SpinCtrlTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SpinCtrlTestCase, "SpinCtrlTestCase" );
|
||||||
|
|
||||||
void SpinCtrlTestCase::setUp()
|
void SpinCtrlTestCase::setUp()
|
||||||
|
@@ -80,7 +80,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( TextCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( TextCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TextCtrlTestCase, "TextCtrlTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TextCtrlTestCase, "TextCtrlTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -48,7 +48,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ToggleButtonTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ToggleButtonTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ToggleButtonTestCase, "ToggleButtonTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ToggleButtonTestCase, "ToggleButtonTestCase" );
|
||||||
|
|
||||||
void ToggleButtonTestCase::setUp()
|
void ToggleButtonTestCase::setUp()
|
||||||
|
@@ -56,7 +56,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ToolbookTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ToolbookTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ToolbookTestCase, "ToolbookTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ToolbookTestCase, "ToolbookTestCase" );
|
||||||
|
|
||||||
void ToolbookTestCase::setUp()
|
void ToolbookTestCase::setUp()
|
||||||
|
@@ -60,7 +60,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( TreebookTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( TreebookTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TreebookTestCase, "TreebookTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TreebookTestCase, "TreebookTestCase" );
|
||||||
|
|
||||||
void TreebookTestCase::setUp()
|
void TreebookTestCase::setUp()
|
||||||
|
@@ -114,7 +114,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( TreeCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( TreeCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TreeCtrlTestCase, "TreeCtrlTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TreeCtrlTestCase, "TreeCtrlTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -52,7 +52,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( VirtListCtrlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( VirtListCtrlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( VirtListCtrlTestCase, "VirtListCtrlTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( VirtListCtrlTestCase, "VirtListCtrlTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -81,7 +81,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( WindowTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( WindowTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( WindowTestCase, "WindowTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( WindowTestCase, "WindowTestCase" );
|
||||||
|
|
||||||
void WindowTestCase::setUp()
|
void WindowTestCase::setUp()
|
||||||
|
@@ -264,7 +264,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( DateTimeTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( DateTimeTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( DateTimeTestCase, "DateTimeTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( DateTimeTestCase, "DateTimeTestCase" );
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
@@ -43,7 +43,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( EventCloneTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( EventCloneTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EventCloneTestCase, "EventCloneTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EventCloneTestCase, "EventCloneTestCase" );
|
||||||
|
|
||||||
void EventCloneTestCase::CheckAll()
|
void EventCloneTestCase::CheckAll()
|
||||||
|
@@ -197,7 +197,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( EvtHandlerTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( EvtHandlerTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EvtHandlerTestCase, "EvtHandlerTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EvtHandlerTestCase, "EvtHandlerTestCase" );
|
||||||
|
|
||||||
void EvtHandlerTestCase::BuiltinConnect()
|
void EvtHandlerTestCase::BuiltinConnect()
|
||||||
|
@@ -197,7 +197,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( EventPropagationTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( EventPropagationTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EventPropagationTestCase, "EventPropagationTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EventPropagationTestCase, "EventPropagationTestCase" );
|
||||||
|
|
||||||
void EventPropagationTestCase::setUp()
|
void EventPropagationTestCase::setUp()
|
||||||
|
@@ -50,7 +50,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( StopWatchTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( StopWatchTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( StopWatchTestCase, "StopWatchTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( StopWatchTestCase, "StopWatchTestCase" );
|
||||||
|
|
||||||
void StopWatchTestCase::Misc()
|
void StopWatchTestCase::Misc()
|
||||||
|
@@ -80,7 +80,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( TimerEventTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( TimerEventTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TimerEventTestCase, "TimerEventTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TimerEventTestCase, "TimerEventTestCase" );
|
||||||
|
|
||||||
void TimerEventTestCase::OneShot()
|
void TimerEventTestCase::OneShot()
|
||||||
|
@@ -62,7 +62,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ExecTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ExecTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ExecTestCase, "ExecTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ExecTestCase, "ExecTestCase" );
|
||||||
|
|
||||||
|
|
||||||
|
@@ -206,7 +206,7 @@ void FileKindTestCase::Stdin()
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION(FileKindTestCase);
|
CPPUNIT_TEST_SUITE_REGISTRATION(FileKindTestCase);
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(FileKindTestCase, "FileKindTestCase");
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(FileKindTestCase, "FileKindTestCase");
|
||||||
|
|
||||||
#endif // wxUSE_STREAMS
|
#endif // wxUSE_STREAMS
|
||||||
|
@@ -158,7 +158,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( FileNameTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( FileNameTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FileNameTestCase, "FileNameTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FileNameTestCase, "FileNameTestCase" );
|
||||||
|
|
||||||
void FileNameTestCase::TestConstruction()
|
void FileNameTestCase::TestConstruction()
|
||||||
|
@@ -74,7 +74,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( FileSystemTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( FileSystemTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FileSystemTestCase, "FileSystemTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FileSystemTestCase, "FileSystemTestCase" );
|
||||||
|
|
||||||
void FileSystemTestCase::UrlParsing()
|
void FileSystemTestCase::UrlParsing()
|
||||||
|
@@ -68,7 +68,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( FontTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( FontTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FontTestCase, "FontTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FontTestCase, "FontTestCase" );
|
||||||
|
|
||||||
wxString DumpFont(const wxFont *font)
|
wxString DumpFont(const wxFont *font)
|
||||||
|
@@ -48,7 +48,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( FontMapperTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( FontMapperTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FontMapperTestCase, "FontMapperTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FontMapperTestCase, "FontMapperTestCase" );
|
||||||
|
|
||||||
|
|
||||||
|
@@ -329,7 +329,7 @@ void FormatConverterTestCase::check(const wxString& input,
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION(FormatConverterTestCase);
|
CPPUNIT_TEST_SUITE_REGISTRATION(FormatConverterTestCase);
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(FormatConverterTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(FormatConverterTestCase,
|
||||||
"FormatConverterTestCase");
|
"FormatConverterTestCase");
|
||||||
|
|
||||||
|
@@ -435,7 +435,7 @@ private:
|
|||||||
CPPUNIT_TEST_SUITE_REGISTRATION( FileSystemWatcherTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( FileSystemWatcherTestCase );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FileSystemWatcherTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FileSystemWatcherTestCase,
|
||||||
"FileSystemWatcherTestCase" );
|
"FileSystemWatcherTestCase" );
|
||||||
|
|
||||||
|
@@ -61,7 +61,7 @@ private:
|
|||||||
CPPUNIT_TEST_SUITE_REGISTRATION( PointTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( PointTestCase );
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( RealPointTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( RealPointTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( PointTestCase, "PointTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( PointTestCase, "PointTestCase" );
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RealPointTestCase, "RealPointTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RealPointTestCase, "RealPointTestCase" );
|
||||||
|
|
||||||
|
@@ -64,7 +64,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( RectTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( RectTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RectTestCase, "RectTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RectTestCase, "RectTestCase" );
|
||||||
|
|
||||||
void RectTestCase::CentreIn()
|
void RectTestCase::CentreIn()
|
||||||
|
@@ -43,7 +43,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( SizeTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( SizeTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SizeTestCase, "SizeTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SizeTestCase, "SizeTestCase" );
|
||||||
|
|
||||||
void SizeTestCase::Operators()
|
void SizeTestCase::Operators()
|
||||||
|
@@ -60,7 +60,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( AffineTransformTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( AffineTransformTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( AffineTransformTestCase, "AffineTransformTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( AffineTransformTestCase, "AffineTransformTestCase" );
|
||||||
|
|
||||||
void AffineTransformTestCase::setUp()
|
void AffineTransformTestCase::setUp()
|
||||||
|
@@ -47,7 +47,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( BitmapTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( BitmapTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( BitmapTestCase, "BitmapTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( BitmapTestCase, "BitmapTestCase" );
|
||||||
|
|
||||||
void BitmapTestCase::setUp()
|
void BitmapTestCase::setUp()
|
||||||
|
@@ -61,7 +61,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ColourTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ColourTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ColourTestCase, "ColourTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ColourTestCase, "ColourTestCase" );
|
||||||
|
|
||||||
void ColourTestCase::GetSetRGB()
|
void ColourTestCase::GetSetRGB()
|
||||||
|
@@ -48,7 +48,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( EllipsizationTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( EllipsizationTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EllipsizationTestCase, "EllipsizationTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EllipsizationTestCase, "EllipsizationTestCase" );
|
||||||
|
|
||||||
void EllipsizationTestCase::NormalCase()
|
void EllipsizationTestCase::NormalCase()
|
||||||
|
@@ -54,7 +54,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( MeasuringContextTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( MeasuringContextTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MeasuringContextTestCase, "MeasuringContextTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MeasuringContextTestCase, "MeasuringContextTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -111,7 +111,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( HashesTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( HashesTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HashesTestCase, "HashesTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HashesTestCase, "HashesTestCase" );
|
||||||
|
|
||||||
void HashesTestCase::wxHashTableTest()
|
void HashesTestCase::wxHashTableTest()
|
||||||
|
@@ -46,7 +46,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( HtmlParserTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( HtmlParserTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HtmlParserTestCase, "HtmlParserTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HtmlParserTestCase, "HtmlParserTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -64,7 +64,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( HtmlWindowTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( HtmlWindowTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HtmlWindowTestCase, "HtmlWindowTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HtmlWindowTestCase, "HtmlWindowTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -60,7 +60,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( IntlTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( IntlTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( IntlTestCase, "IntlTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( IntlTestCase, "IntlTestCase" );
|
||||||
|
|
||||||
void IntlTestCase::setUp()
|
void IntlTestCase::setUp()
|
||||||
|
@@ -49,7 +49,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ListsTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ListsTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListsTestCase, "ListsTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListsTestCase, "ListsTestCase" );
|
||||||
|
|
||||||
class Baz // Foo is already taken in the hash test
|
class Baz // Foo is already taken in the hash test
|
||||||
|
@@ -194,7 +194,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( LogTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( LogTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( LogTestCase, "LogTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( LogTestCase, "LogTestCase" );
|
||||||
|
|
||||||
void LogTestCase::setUp()
|
void LogTestCase::setUp()
|
||||||
|
@@ -88,7 +88,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( LongLongTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( LongLongTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( LongLongTestCase, "LongLongTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( LongLongTestCase, "LongLongTestCase" );
|
||||||
|
|
||||||
LongLongTestCase::LongLongTestCase()
|
LongLongTestCase::LongLongTestCase()
|
||||||
|
@@ -84,7 +84,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION(ConvAutoTestCase);
|
CPPUNIT_TEST_SUITE_REGISTRATION(ConvAutoTestCase);
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ConvAutoTestCase, "ConvAutoTestCase");
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ConvAutoTestCase, "ConvAutoTestCase");
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -217,7 +217,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( MBConvTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( MBConvTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MBConvTestCase, "MBConvTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MBConvTestCase, "MBConvTestCase" );
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MBConvTestCase, "MBConv" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MBConvTestCase, "MBConv" );
|
||||||
|
|
||||||
|
@@ -43,7 +43,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( AccelEntryTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( AccelEntryTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( AccelEntryTestCase, "AccelEntryTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( AccelEntryTestCase, "AccelEntryTestCase" );
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
|
@@ -112,7 +112,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( MenuTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( MenuTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MenuTestCase, "MenuTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MenuTestCase, "MenuTestCase" );
|
||||||
|
|
||||||
void MenuTestCase::CreateFrame()
|
void MenuTestCase::CreateFrame()
|
||||||
|
@@ -41,7 +41,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( DynamicLibraryTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( DynamicLibraryTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( DynamicLibraryTestCase, "DynamicLibraryTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( DynamicLibraryTestCase, "DynamicLibraryTestCase" );
|
||||||
|
|
||||||
void DynamicLibraryTestCase::Load()
|
void DynamicLibraryTestCase::Load()
|
||||||
|
@@ -43,7 +43,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( EnvTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( EnvTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EnvTestCase, "EnvTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EnvTestCase, "EnvTestCase" );
|
||||||
|
|
||||||
void EnvTestCase::GetSet()
|
void EnvTestCase::GetSet()
|
||||||
|
@@ -52,7 +52,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( GarbageTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( GarbageTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( GarbageTestCase, "GarbageTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( GarbageTestCase, "GarbageTestCase" );
|
||||||
|
|
||||||
|
|
||||||
|
@@ -52,7 +52,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( MiscGUIFuncsTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( MiscGUIFuncsTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MiscGUIFuncsTestCase, "MiscGUIFuncsTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MiscGUIFuncsTestCase, "MiscGUIFuncsTestCase" );
|
||||||
|
|
||||||
void MiscGUIFuncsTestCase::DisplaySize()
|
void MiscGUIFuncsTestCase::DisplaySize()
|
||||||
|
@@ -50,7 +50,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( MetaProgrammingTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( MetaProgrammingTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MetaProgrammingTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MetaProgrammingTestCase,
|
||||||
"MetaProgrammingTestCase" );
|
"MetaProgrammingTestCase" );
|
||||||
|
|
||||||
|
@@ -50,7 +50,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( MiscTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( MiscTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MiscTestCase, "MiscTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MiscTestCase, "MiscTestCase" );
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
|
@@ -111,7 +111,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( ModuleTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( ModuleTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ModuleTestCase, "ModuleTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ModuleTestCase, "ModuleTestCase" );
|
||||||
|
|
||||||
void ModuleTestCase::LoadOrder()
|
void ModuleTestCase::LoadOrder()
|
||||||
|
@@ -41,7 +41,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( PathListTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( PathListTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( PathListTestCase, "PathListTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( PathListTestCase, "PathListTestCase" );
|
||||||
|
|
||||||
void PathListTestCase::FindValidPath()
|
void PathListTestCase::FindValidPath()
|
||||||
|
@@ -64,7 +64,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( SelStoreTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( SelStoreTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SelStoreTestCase, "SelStoreTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SelStoreTestCase, "SelStoreTestCase" );
|
||||||
|
|
||||||
const unsigned SelStoreTestCase::NUM_ITEMS = 10; // NB: must be even
|
const unsigned SelStoreTestCase::NUM_ITEMS = 10; // NB: must be even
|
||||||
|
@@ -56,7 +56,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( SettingsTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( SettingsTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SettingsTestCase, "SettingsTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SettingsTestCase, "SettingsTestCase" );
|
||||||
|
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( TypeInfoTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( TypeInfoTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TypeInfoTestCase, "TypeInfoTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TypeInfoTestCase, "TypeInfoTestCase" );
|
||||||
|
|
||||||
|
|
||||||
|
@@ -332,7 +332,7 @@ wxString wxRegExTestSuite::FlagStr(int flags)
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION(wxRegExTestSuite);
|
CPPUNIT_TEST_SUITE_REGISTRATION(wxRegExTestSuite);
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(wxRegExTestSuite, "wxRegExTestSuite");
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(wxRegExTestSuite, "wxRegExTestSuite");
|
||||||
|
|
||||||
|
|
||||||
|
@@ -83,7 +83,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION(ScopeGuardTestCase);
|
CPPUNIT_TEST_SUITE_REGISTRATION(ScopeGuardTestCase);
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ScopeGuardTestCase,
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ScopeGuardTestCase,
|
||||||
"ScopeGuardTestCase");
|
"ScopeGuardTestCase");
|
||||||
|
|
||||||
|
@@ -56,7 +56,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( BoxSizerTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( BoxSizerTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( BoxSizerTestCase, "BoxSizerTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( BoxSizerTestCase, "BoxSizerTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
// Purpose: Unit tests for wxWrapSizer
|
// Purpose: Unit tests for wxWrapSizer
|
||||||
// Author: Catalin Raceanu
|
// Author: Catalin Raceanu
|
||||||
// Created: 2010-10-23
|
// Created: 2010-10-23
|
||||||
// RCS-ID: $Id:$
|
// RCS-ID: $Id$
|
||||||
// Copyright: (c) 2010 wxWidgets development team
|
// Copyright: (c) 2010 wxWidgets development team
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ private:
|
|||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION( WrapSizerTestCase );
|
CPPUNIT_TEST_SUITE_REGISTRATION( WrapSizerTestCase );
|
||||||
|
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( WrapSizerTestCase, "WrapSizerTestCase" );
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( WrapSizerTestCase, "WrapSizerTestCase" );
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -69,6 +69,6 @@ Test *StreamCase::suite()
|
|||||||
|
|
||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION(StreamCase);
|
CPPUNIT_TEST_SUITE_REGISTRATION(StreamCase);
|
||||||
// also include in it's own registry so that these tests can be run alone
|
// also include in its own registry so that these tests can be run alone
|
||||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(StreamCase, STREAM_TEST_NAME);
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(StreamCase, STREAM_TEST_NAME);
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user