mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 12:30:07 +01:00
Add some Html unittests, and fix some issues discovered by the tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,14 +1,36 @@
|
||||
import imp_unittest, unittest
|
||||
import wtc
|
||||
import wx
|
||||
import wx.html
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class htmlcell_Tests(wtc.WidgetTestCase):
|
||||
|
||||
# TODO: Remove this test and add real ones.
|
||||
def test_htmlcell1(self):
|
||||
self.fail("Unit tests for htmlcell not implemented yet.")
|
||||
c = wx.html.HtmlCell()
|
||||
|
||||
def test_htmlcell2(self):
|
||||
obj = wx.html.HtmlSelection()
|
||||
|
||||
def test_htmlcell3(self):
|
||||
obj = wx.html.HtmlRenderingState()
|
||||
|
||||
def test_htmlcell4(self):
|
||||
obj = wx.html.HtmlRenderingInfo()
|
||||
|
||||
def test_htmlcell5(self):
|
||||
obj = wx.html.HtmlContainerCell(None)
|
||||
|
||||
def test_htmlcell6(self):
|
||||
obj = wx.html.HtmlLinkInfo()
|
||||
|
||||
def test_htmlcell7(self):
|
||||
obj = wx.html.HtmlColourCell(wx.BLACK)
|
||||
|
||||
def test_htmlcell8(self):
|
||||
obj = wx.html.HtmlWidgetCell(self.frame)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user