X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/656634564bbffea405dd99776990802e744c0cab..cd15bcaf50ead53ccf9d50965312f0dc754affb4:/tests/controls/richtextctrltest.cpp diff --git a/tests/controls/richtextctrltest.cpp b/tests/controls/richtextctrltest.cpp index e30c91d085..a01cf7a611 100644 --- a/tests/controls/richtextctrltest.cpp +++ b/tests/controls/richtextctrltest.cpp @@ -881,6 +881,12 @@ void RichTextCtrlTestCase::Table() } } + // Test ClearTable() + table->ClearTable(); + CPPUNIT_ASSERT_EQUAL(0, table->GetCells().GetCount()); + CPPUNIT_ASSERT_EQUAL(0, table->GetColumnCount()); + CPPUNIT_ASSERT_EQUAL(0, table->GetRowCount()); + m_rich->Clear(); m_rich->SetFocusObject(NULL); }