X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/059979d8481de8fb172b1272c6d10a005ffca3b3..787de8404830402133e7635e47b9c14d3b7ad892:/tests/controls/textentrytest.h diff --git a/tests/controls/textentrytest.h b/tests/controls/textentrytest.h index 8814772020..648d601872 100644 --- a/tests/controls/textentrytest.h +++ b/tests/controls/textentrytest.h @@ -3,21 +3,23 @@ // Purpose: Base class implementing wxTextEntry unit tests // Author: Vadim Zeitlin // Created: 2008-09-19 (extracted from textctrltest.cpp) -// RCS-ID: $Id$ // Copyright: (c) 2007, 2008 Vadim Zeitlin /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_TESTS_CONTROLS_TEXTENTRYTEST_H_ #define _WX_TESTS_CONTROLS_TEXTENTRYTEST_H_ +class WXDLLIMPEXP_FWD_CORE wxTextEntry; + // ---------------------------------------------------------------------------- // abstract base class testing wxTextEntry methods // ---------------------------------------------------------------------------- -class TextEntryTestCase : public CppUnit::TestCase +class TextEntryTestCase { public: TextEntryTestCase() { } + virtual ~TextEntryTestCase() { } protected: // this function must be overridden by the derived classes to return the @@ -38,13 +40,21 @@ protected: CPPUNIT_TEST( TextChangeEvents ); \ CPPUNIT_TEST( Selection ); \ CPPUNIT_TEST( InsertionPoint ); \ - CPPUNIT_TEST( Replace ) + CPPUNIT_TEST( Replace ); \ + WXUISIM_TEST( Editable ); \ + CPPUNIT_TEST( Hint ); \ + CPPUNIT_TEST( CopyPaste ); \ + CPPUNIT_TEST( UndoRedo ) void SetValue(); void TextChangeEvents(); void Selection(); void InsertionPoint(); void Replace(); + void Editable(); + void Hint(); + void CopyPaste(); + void UndoRedo(); private: // Selection() test helper: verify that selection is as described by the @@ -60,7 +70,7 @@ private: // wxChoice part of the control, not the selected text virtual void CheckStringSelection(const char *sel); - DECLARE_NO_COPY_CLASS(TextEntryTestCase) + wxDECLARE_NO_COPY_CLASS(TextEntryTestCase); }; #endif // _WX_TESTS_CONTROLS_TEXTENTRYTEST_H_