diff --git a/unittests/test_richtextctrl.py b/unittests/test_richtextctrl.py index 83c4f0f4..b54903cd 100644 --- a/unittests/test_richtextctrl.py +++ b/unittests/test_richtextctrl.py @@ -1,14 +1,40 @@ import imp_unittest, unittest import wtc import wx +import wx.richtext #--------------------------------------------------------------------------- class richtextctrl_Tests(wtc.WidgetTestCase): - # TODO: Remove this test and add real ones. def test_richtextctrl1(self): - self.fail("Unit tests for richtextctrl not implemented yet.") + wx.richtext.RE_READONLY + wx.richtext.RE_MULTILINE + wx.richtext.RE_CENTER_CARET + wx.richtext.RE_CENTRE_CARET + wx.richtext.RICHTEXT_SHIFT_DOWN + wx.richtext.RICHTEXT_CTRL_DOWN + wx.richtext.RICHTEXT_ALT_DOWN + wx.richtext.RICHTEXT_EX_NO_GUIDELINES + + + def test_richtextctrl2(self): + info = wx.richtext.RichTextContextMenuPropertiesInfo() + obj = wx.richtext.RichTextParagraph() + info.AddItem('Name', obj) + + + def test_richtextctrl3(self): + pass + + def test_richtextctrl4(self): + pass + + def test_richtextctrl5(self): + pass + + def test_richtextctrl6(self): + pass #---------------------------------------------------------------------------