Add wxOVERRIDE to test files
And cleanup some tailing spaces and tabs.
This commit is contained in:
		@@ -38,7 +38,7 @@ protected:
 | 
			
		||||
    CppUnit::Test *makeTest(string descr, int options,
 | 
			
		||||
                            bool genericInterface,
 | 
			
		||||
                            const wxString& archiver,
 | 
			
		||||
                            const wxString& unarchiver);
 | 
			
		||||
                            const wxString& unarchiver) wxOVERRIDE;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
tartest::tartest()
 | 
			
		||||
 
 | 
			
		||||
@@ -218,7 +218,7 @@ public:
 | 
			
		||||
protected:
 | 
			
		||||
    CppUnit::Test *makeTest(string descr, int options,
 | 
			
		||||
                            bool genericInterface, const wxString& archiver,
 | 
			
		||||
                            const wxString& unarchiver);
 | 
			
		||||
                            const wxString& unarchiver) wxOVERRIDE;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
ziptest::ziptest()
 | 
			
		||||
 
 | 
			
		||||
@@ -34,17 +34,17 @@ class BitmapComboBoxTestCase : public TextEntryTestCase,
 | 
			
		||||
public:
 | 
			
		||||
    BitmapComboBoxTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxTextEntry *GetTestEntry() const { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetTestWindow() const { return m_combo; }
 | 
			
		||||
    virtual wxTextEntry *GetTestEntry() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetTestWindow() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const { return m_combo; }
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
 | 
			
		||||
    virtual void CheckStringSelection(const char * WXUNUSED(sel))
 | 
			
		||||
    virtual void CheckStringSelection(const char * WXUNUSED(sel)) wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        // do nothing here, as explained in TextEntryTestCase comment, our
 | 
			
		||||
        // GetStringSelection() is the wxChoice, not wxTextEntry, one and there
 | 
			
		||||
 
 | 
			
		||||
@@ -31,8 +31,8 @@ class BitmapToggleButtonTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    BitmapToggleButtonTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( BitmapToggleButtonTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -32,8 +32,8 @@ class ButtonTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ButtonTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ButtonTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -26,8 +26,8 @@ class CheckBoxTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    CheckBoxTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( CheckBoxTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -27,12 +27,12 @@ class CheckListBoxTestCase : public ItemContainerTestCase, public CppUnit::TestC
 | 
			
		||||
public:
 | 
			
		||||
    CheckListBoxTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const { return m_check; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const { return m_check; }
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const wxOVERRIDE { return m_check; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const wxOVERRIDE { return m_check; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( CheckListBoxTestCase );
 | 
			
		||||
        wxITEM_CONTAINER_TESTS();
 | 
			
		||||
 
 | 
			
		||||
@@ -27,16 +27,16 @@ class ChoicebookTestCase : public BookCtrlBaseTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ChoicebookTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const { return m_choicebook; }
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const wxOVERRIDE { return m_choicebook; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const wxOVERRIDE
 | 
			
		||||
    { return wxEVT_CHOICEBOOK_PAGE_CHANGED; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const wxOVERRIDE
 | 
			
		||||
    { return wxEVT_CHOICEBOOK_PAGE_CHANGING; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ChoicebookTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -26,12 +26,12 @@ class ChoiceTestCase : public ItemContainerTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ChoiceTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const { return m_choice; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const { return m_choice; }
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const wxOVERRIDE { return m_choice; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const wxOVERRIDE { return m_choice; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ChoiceTestCase );
 | 
			
		||||
        wxITEM_CONTAINER_TESTS();
 | 
			
		||||
 
 | 
			
		||||
@@ -37,17 +37,17 @@ class ComboBoxTestCase : public TextEntryTestCase, public ItemContainerTestCase,
 | 
			
		||||
public:
 | 
			
		||||
    ComboBoxTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxTextEntry *GetTestEntry() const { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetTestWindow() const { return m_combo; }
 | 
			
		||||
    virtual wxTextEntry *GetTestEntry() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetTestWindow() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const { return m_combo; }
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
 | 
			
		||||
    virtual void CheckStringSelection(const char * WXUNUSED(sel))
 | 
			
		||||
    virtual void CheckStringSelection(const char * WXUNUSED(sel)) wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        // do nothing here, as explained in TextEntryTestCase comment, our
 | 
			
		||||
        // GetStringSelection() is the wxChoice, not wxTextEntry, one and there
 | 
			
		||||
 
 | 
			
		||||
@@ -32,8 +32,8 @@ class DataViewCtrlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    DataViewCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( DataViewCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -30,8 +30,8 @@ class DatePickerCtrlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    DatePickerCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( DatePickerCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -24,8 +24,8 @@ class FrameTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    FrameTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( FrameTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -24,8 +24,8 @@ class GaugeTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    GaugeTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( GaugeTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -42,8 +42,8 @@ class GridTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    GridTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( GridTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -31,8 +31,8 @@ class HeaderCtrlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    HeaderCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( HeaderCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -25,12 +25,12 @@ class HtmlListBoxTestCase : public ItemContainerTestCase,
 | 
			
		||||
public:
 | 
			
		||||
    HtmlListBoxTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const { return m_htmllbox; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const { return m_htmllbox; }
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const wxOVERRIDE { return m_htmllbox; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const wxOVERRIDE { return m_htmllbox; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( HtmlListBoxTestCase );
 | 
			
		||||
        wxITEM_CONTAINER_TESTS();
 | 
			
		||||
 
 | 
			
		||||
@@ -28,8 +28,8 @@ class HyperlinkCtrlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    HyperlinkCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( HyperlinkCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -33,8 +33,8 @@ class LabelTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    LabelTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( LabelTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -28,16 +28,16 @@ class ListbookTestCase : public BookCtrlBaseTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ListbookTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const { return m_listbook; }
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const wxOVERRIDE { return m_listbook; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const wxOVERRIDE
 | 
			
		||||
    { return wxEVT_LISTBOOK_PAGE_CHANGED; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const wxOVERRIDE
 | 
			
		||||
    { return wxEVT_LISTBOOK_PAGE_CHANGING; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ListbookTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -28,12 +28,12 @@ class ListBoxTestCase : public ItemContainerTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ListBoxTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const { return m_list; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const { return m_list; }
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const wxOVERRIDE { return m_list; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const wxOVERRIDE { return m_list; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ListBoxTestCase );
 | 
			
		||||
        wxITEM_CONTAINER_TESTS();
 | 
			
		||||
 
 | 
			
		||||
@@ -37,10 +37,10 @@ class ListCtrlTestCase : public ListBaseTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ListCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
    virtual wxListCtrl *GetList() const { return m_list; }
 | 
			
		||||
    virtual wxListCtrl *GetList() const wxOVERRIDE { return m_list; }
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ListCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -24,10 +24,10 @@ class ListViewTestCase : public ListBaseTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ListViewTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
    virtual wxListCtrl *GetList() const { return m_list; }
 | 
			
		||||
    virtual wxListCtrl *GetList() const wxOVERRIDE { return m_list; }
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ListViewTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -27,16 +27,16 @@ class NotebookTestCase : public BookCtrlBaseTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    NotebookTestCase() { m_notebook = NULL; m_numPageChanges = 0; }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const { return m_notebook; }
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const wxOVERRIDE { return m_notebook; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const wxOVERRIDE
 | 
			
		||||
    { return wxEVT_NOTEBOOK_PAGE_CHANGED; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const wxOVERRIDE
 | 
			
		||||
    { return wxEVT_NOTEBOOK_PAGE_CHANGING; }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -39,17 +39,17 @@ class OwnerDrawnComboBoxTestCase : public TextEntryTestCase,
 | 
			
		||||
public:
 | 
			
		||||
    OwnerDrawnComboBoxTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxTextEntry *GetTestEntry() const { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetTestWindow() const { return m_combo; }
 | 
			
		||||
    virtual wxTextEntry *GetTestEntry() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetTestWindow() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const { return m_combo; }
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const wxOVERRIDE { return m_combo; }
 | 
			
		||||
 | 
			
		||||
    virtual void CheckStringSelection(const char * WXUNUSED(sel))
 | 
			
		||||
    virtual void CheckStringSelection(const char * WXUNUSED(sel)) wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        // do nothing here, as explained in TextEntryTestCase comment, our
 | 
			
		||||
        // GetStringSelection() is the wxChoice, not wxTextEntry, one and there
 | 
			
		||||
 
 | 
			
		||||
@@ -30,11 +30,11 @@ class ColourPickerCtrlTestCase : public PickerBaseTestCase,
 | 
			
		||||
public:
 | 
			
		||||
    ColourPickerCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxPickerBase *GetBase() const { return m_colour; }
 | 
			
		||||
    virtual wxPickerBase *GetBase() const wxOVERRIDE { return m_colour; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ColourPickerCtrlTestCase );
 | 
			
		||||
        wxPICKER_BASE_TESTS();
 | 
			
		||||
@@ -74,11 +74,11 @@ class DirPickerCtrlTestCase : public PickerBaseTestCase,
 | 
			
		||||
public:
 | 
			
		||||
    DirPickerCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxPickerBase *GetBase() const { return m_dir; }
 | 
			
		||||
    virtual wxPickerBase *GetBase() const wxOVERRIDE { return m_dir; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( DirPickerCtrlTestCase );
 | 
			
		||||
        wxPICKER_BASE_TESTS();
 | 
			
		||||
@@ -119,11 +119,11 @@ class FilePickerCtrlTestCase : public PickerBaseTestCase,
 | 
			
		||||
public:
 | 
			
		||||
    FilePickerCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxPickerBase *GetBase() const { return m_file; }
 | 
			
		||||
    virtual wxPickerBase *GetBase() const wxOVERRIDE { return m_file; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( FilePickerCtrlTestCase );
 | 
			
		||||
        wxPICKER_BASE_TESTS();
 | 
			
		||||
@@ -165,11 +165,11 @@ class FontPickerCtrlTestCase : public PickerBaseTestCase,
 | 
			
		||||
public:
 | 
			
		||||
    FontPickerCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxPickerBase *GetBase() const { return m_font; }
 | 
			
		||||
    virtual wxPickerBase *GetBase() const wxOVERRIDE { return m_font; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( FontPickerCtrlTestCase );
 | 
			
		||||
        wxPICKER_BASE_TESTS();
 | 
			
		||||
 
 | 
			
		||||
@@ -26,8 +26,8 @@ class RadioBoxTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    RadioBoxTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( RadioBoxTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -27,8 +27,8 @@ class RadioButtonTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    RadioButtonTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( RadioButtonTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -25,12 +25,12 @@ class RearrangeListTestCase : public ItemContainerTestCase, public CppUnit::Test
 | 
			
		||||
public:
 | 
			
		||||
    RearrangeListTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const { return m_rearrange; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const { return m_rearrange; }
 | 
			
		||||
    virtual wxItemContainer *GetContainer() const wxOVERRIDE { return m_rearrange; }
 | 
			
		||||
    virtual wxWindow *GetContainerWindow() const wxOVERRIDE { return m_rearrange; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( RearrangeListTestCase );
 | 
			
		||||
        wxITEM_CONTAINER_TESTS();
 | 
			
		||||
 
 | 
			
		||||
@@ -29,8 +29,8 @@ class RichTextCtrlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    RichTextCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( RichTextCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -27,16 +27,16 @@ class SimplebookTestCase : public BookCtrlBaseTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    SimplebookTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const { return m_simplebook; }
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const wxOVERRIDE { return m_simplebook; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const wxOVERRIDE
 | 
			
		||||
        { return wxEVT_BOOKCTRL_PAGE_CHANGED; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const wxOVERRIDE
 | 
			
		||||
        { return wxEVT_BOOKCTRL_PAGE_CHANGING; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( SimplebookTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -27,8 +27,8 @@ class SliderTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    SliderTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( SliderTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -25,8 +25,8 @@ class SpinCtrlDoubleTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    SpinCtrlDoubleTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( SpinCtrlDoubleTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -27,8 +27,8 @@ class SpinCtrlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    SpinCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( SpinCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -41,12 +41,12 @@ class TextCtrlTestCase : public TextEntryTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    TextCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxTextEntry *GetTestEntry() const { return m_text; }
 | 
			
		||||
    virtual wxWindow *GetTestWindow() const { return m_text; }
 | 
			
		||||
    virtual wxTextEntry *GetTestEntry() const wxOVERRIDE { return m_text; }
 | 
			
		||||
    virtual wxWindow *GetTestWindow() const wxOVERRIDE { return m_text; }
 | 
			
		||||
 | 
			
		||||
    #define SINGLE_AND_MULTI_TESTS() \
 | 
			
		||||
        WXUISIM_TEST( ReadOnly ); \
 | 
			
		||||
 
 | 
			
		||||
@@ -27,8 +27,8 @@ class ToggleButtonTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ToggleButtonTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ToggleButtonTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -28,19 +28,19 @@ class ToolbookTestCase : public BookCtrlBaseTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ToolbookTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const { return m_toolbook; }
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const wxOVERRIDE { return m_toolbook; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const wxOVERRIDE
 | 
			
		||||
    { return wxEVT_TOOLBOOK_PAGE_CHANGED; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const wxOVERRIDE
 | 
			
		||||
    { return wxEVT_TOOLBOOK_PAGE_CHANGING; }
 | 
			
		||||
 | 
			
		||||
    virtual void Realize() { m_toolbook->GetToolBar()->Realize(); }
 | 
			
		||||
    virtual void Realize() wxOVERRIDE { m_toolbook->GetToolBar()->Realize(); }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ToolbookTestCase );
 | 
			
		||||
        wxBOOK_CTRL_BASE_TESTS();
 | 
			
		||||
 
 | 
			
		||||
@@ -27,16 +27,16 @@ class TreebookTestCase : public BookCtrlBaseTestCase, public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    TreebookTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const { return m_treebook; }
 | 
			
		||||
    virtual wxBookCtrlBase *GetBase() const wxOVERRIDE { return m_treebook; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const
 | 
			
		||||
    virtual wxEventType GetChangedEvent() const wxOVERRIDE
 | 
			
		||||
        { return wxEVT_TREEBOOK_PAGE_CHANGED; }
 | 
			
		||||
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const
 | 
			
		||||
    virtual wxEventType GetChangingEvent() const wxOVERRIDE
 | 
			
		||||
        { return wxEVT_TREEBOOK_PAGE_CHANGING; }
 | 
			
		||||
 | 
			
		||||
    CPPUNIT_TEST_SUITE( TreebookTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -38,8 +38,8 @@ class TreeCtrlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    TreeCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( TreeCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -31,8 +31,8 @@ class TreeListCtrlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    TreeListCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( TreeListCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -33,8 +33,8 @@ class VirtListCtrlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    VirtListCtrlTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( VirtListCtrlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -31,8 +31,8 @@ class WebTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    WebTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( WebTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -31,8 +31,8 @@ class WindowTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    WindowTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( WindowTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -197,8 +197,8 @@ class KeyboardEventTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    KeyboardEventTestCase() {}
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( KeyboardEventTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -234,8 +234,8 @@ class EventPropagationTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    EventPropagationTestCase() {}
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( EventPropagationTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -32,8 +32,8 @@ class DirTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    DirTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( DirTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -33,8 +33,8 @@ class FileFunctionsTestCase : public CppUnit::TestCase
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
    FileFunctionsTestCase() { }
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( FileFunctionsTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -438,8 +438,8 @@ class FileSystemWatcherTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    FileSystemWatcherTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
protected:
 | 
			
		||||
    wxEventLoopBase* m_loop;
 | 
			
		||||
 
 | 
			
		||||
@@ -121,7 +121,7 @@ public:
 | 
			
		||||
    {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp()
 | 
			
		||||
    virtual void setUp() wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        m_bmpOrig = wxBitmap(m_imgOrig);
 | 
			
		||||
        m_bmpUsingMatrix.Create(m_bmpOrig.GetSize(), m_bmpOrig.GetDepth());
 | 
			
		||||
 
 | 
			
		||||
@@ -37,8 +37,8 @@ class BitmapTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    BitmapTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( BitmapTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,7 @@ public:
 | 
			
		||||
        m_bmp = wxNullBitmap;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp()
 | 
			
		||||
    virtual void setUp() wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        m_gcdc->ResetBoundingBox();
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -127,7 +127,7 @@ public:
 | 
			
		||||
    {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp() { wxASSERT( m_dc ); }
 | 
			
		||||
    virtual void setUp() wxOVERRIDE { wxASSERT( m_dc ); }
 | 
			
		||||
    virtual wxDC* GetDC(wxMemoryDC* dc) = 0;
 | 
			
		||||
 | 
			
		||||
protected:
 | 
			
		||||
 
 | 
			
		||||
@@ -35,8 +35,8 @@ class HtmlWindowTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    HtmlWindowTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( HtmlWindowTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -33,8 +33,8 @@ class IntlTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    IntlTestCase() { m_locale=NULL; }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( IntlTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -159,8 +159,8 @@ class LogTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    LogTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( LogTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -77,8 +77,8 @@ class MenuTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    MenuTestCase() {}
 | 
			
		||||
 | 
			
		||||
    virtual void setUp() { CreateFrame(); }
 | 
			
		||||
    virtual void tearDown() { m_frame->Destroy(); }
 | 
			
		||||
    virtual void setUp() wxOVERRIDE { CreateFrame(); }
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE { m_frame->Destroy(); }
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( MenuTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -27,13 +27,13 @@ class SelStoreTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    SelStoreTestCase() { m_store = NULL; }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp()
 | 
			
		||||
    virtual void setUp() wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        m_store = new wxSelectionStore;
 | 
			
		||||
        m_store->SetItemCount(NUM_ITEMS);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    virtual void tearDown()
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        delete m_store;
 | 
			
		||||
        m_store = NULL;
 | 
			
		||||
 
 | 
			
		||||
@@ -33,8 +33,8 @@ class BoxSizerTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    BoxSizerTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( BoxSizerTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -33,8 +33,8 @@ class GridSizerTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    GridSizerTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( GridSizerTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -33,8 +33,8 @@ class WrapSizerTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    WrapSizerTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( WrapSizerTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -65,9 +65,9 @@ protected:
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    // Implement base class functions.
 | 
			
		||||
    virtual wxFFileInputStream  *DoCreateInStream();
 | 
			
		||||
    virtual wxFFileOutputStream *DoCreateOutStream();
 | 
			
		||||
    virtual void DoDeleteOutStream();
 | 
			
		||||
    virtual wxFFileInputStream  *DoCreateInStream() wxOVERRIDE;
 | 
			
		||||
    virtual wxFFileOutputStream *DoCreateOutStream() wxOVERRIDE;
 | 
			
		||||
    virtual void DoDeleteOutStream() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    wxString GetInFileName() const;
 | 
			
		||||
 
 | 
			
		||||
@@ -65,9 +65,9 @@ protected:
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    // Implement base class functions.
 | 
			
		||||
    virtual wxFileInputStream  *DoCreateInStream();
 | 
			
		||||
    virtual wxFileOutputStream *DoCreateOutStream();
 | 
			
		||||
    virtual void DoDeleteOutStream();
 | 
			
		||||
    virtual wxFileInputStream  *DoCreateInStream() wxOVERRIDE;
 | 
			
		||||
    virtual wxFileOutputStream *DoCreateOutStream() wxOVERRIDE;
 | 
			
		||||
    virtual void DoDeleteOutStream() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    wxString GetInFileName() const;
 | 
			
		||||
 
 | 
			
		||||
@@ -29,7 +29,7 @@ class IOStreamsTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    IOStreamsTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void tearDown()
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        if ( !m_fnTemp.empty() )
 | 
			
		||||
        {
 | 
			
		||||
 
 | 
			
		||||
@@ -70,8 +70,8 @@ private:
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    // Implement base class functions.
 | 
			
		||||
    virtual wxMemoryInputStream  *DoCreateInStream();
 | 
			
		||||
    virtual wxMemoryOutputStream *DoCreateOutStream();
 | 
			
		||||
    virtual wxMemoryInputStream  *DoCreateInStream() wxOVERRIDE;
 | 
			
		||||
    virtual wxMemoryOutputStream *DoCreateOutStream() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    char    m_DataBuffer[DATABUFFER_SIZE];
 | 
			
		||||
 
 | 
			
		||||
@@ -103,8 +103,8 @@ public:
 | 
			
		||||
    socketStream();
 | 
			
		||||
    virtual ~socketStream();
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
    // repeat all socket tests several times with different socket flags, so we
 | 
			
		||||
    // define this macro which is used several times in the test suite
 | 
			
		||||
@@ -137,8 +137,8 @@ public:
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    // Implement base class functions.
 | 
			
		||||
    virtual wxSocketInputStream  *DoCreateInStream();
 | 
			
		||||
    virtual wxSocketOutputStream *DoCreateOutStream();
 | 
			
		||||
    virtual wxSocketInputStream  *DoCreateInStream() wxOVERRIDE;
 | 
			
		||||
    virtual wxSocketOutputStream *DoCreateOutStream() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
    // socket thread functions
 | 
			
		||||
    static void WriteSocket(wxSocketBase& socket)
 | 
			
		||||
 
 | 
			
		||||
@@ -63,8 +63,8 @@ protected:
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    // Implement base class functions.
 | 
			
		||||
    virtual wxStringInputStream  *DoCreateInStream();
 | 
			
		||||
    virtual wxStringOutputStream *DoCreateOutStream();
 | 
			
		||||
    virtual wxStringInputStream  *DoCreateInStream() wxOVERRIDE;
 | 
			
		||||
    virtual wxStringOutputStream *DoCreateOutStream() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
    // output the given string to wxStringOutputStream and check that its
 | 
			
		||||
    // contents is exactly the same string
 | 
			
		||||
 
 | 
			
		||||
@@ -119,10 +119,10 @@ private:
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    // Implement base class functions.
 | 
			
		||||
    virtual wxZlibInputStream  *DoCreateInStream();
 | 
			
		||||
    virtual wxZlibOutputStream *DoCreateOutStream();
 | 
			
		||||
    virtual void DoDeleteInStream();
 | 
			
		||||
    virtual void DoDeleteOutStream();
 | 
			
		||||
    virtual wxZlibInputStream  *DoCreateInStream() wxOVERRIDE;
 | 
			
		||||
    virtual wxZlibOutputStream *DoCreateOutStream() wxOVERRIDE;
 | 
			
		||||
    virtual void DoDeleteInStream() wxOVERRIDE;
 | 
			
		||||
    virtual void DoDeleteOutStream() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
    // Helper that can be used to create new wx compatibility tests...
 | 
			
		||||
    // Otherwise not used by the tests.
 | 
			
		||||
 
 | 
			
		||||
@@ -28,7 +28,7 @@ class NumFormatterTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    NumFormatterTestCase() { m_locale = NULL; }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp()
 | 
			
		||||
    virtual void setUp() wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        // We need to use a locale with known decimal point and which uses the
 | 
			
		||||
        // thousands separator for the tests to make sense.
 | 
			
		||||
@@ -38,7 +38,7 @@ public:
 | 
			
		||||
            tearDown();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    virtual void tearDown()
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE
 | 
			
		||||
    {
 | 
			
		||||
        delete m_locale;
 | 
			
		||||
        m_locale = NULL;
 | 
			
		||||
 
 | 
			
		||||
@@ -40,7 +40,7 @@ public:
 | 
			
		||||
        srand((unsigned)time(NULL));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    virtual void tearDown() { unlink(GetTestFileName()); }
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE { unlink(GetTestFileName()); }
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( TextFileTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -30,8 +30,8 @@ class NumValidatorTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    NumValidatorTestCase() { }
 | 
			
		||||
 | 
			
		||||
    void setUp();
 | 
			
		||||
    void tearDown();
 | 
			
		||||
    void setUp() wxOVERRIDE;
 | 
			
		||||
    void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( NumValidatorTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -30,8 +30,8 @@ class ClientSizeTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    ClientSizeTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( ClientSizeTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -32,8 +32,8 @@ class SetSizeTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    SetSizeTestCase() { }
 | 
			
		||||
 | 
			
		||||
    virtual void setUp();
 | 
			
		||||
    virtual void tearDown();
 | 
			
		||||
    virtual void setUp() wxOVERRIDE;
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( SetSizeTestCase );
 | 
			
		||||
 
 | 
			
		||||
@@ -139,8 +139,8 @@ class XrcTestCase : public CppUnit::TestCase
 | 
			
		||||
public:
 | 
			
		||||
    XrcTestCase() {}
 | 
			
		||||
 | 
			
		||||
    virtual void setUp() { CreateXrc(); }
 | 
			
		||||
    virtual void tearDown() { wxRemoveFile(TEST_XRC_FILE); }
 | 
			
		||||
    virtual void setUp() wxOVERRIDE { CreateXrc(); }
 | 
			
		||||
    virtual void tearDown() wxOVERRIDE { wxRemoveFile(TEST_XRC_FILE); }
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    CPPUNIT_TEST_SUITE( XrcTestCase );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user