X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c653b0197a781be67382e816cf9762a49e985797..e1efca652844273c3e8d32c7e5f442b87e455ca7:/tests/controls/headerctrltest.cpp?ds=inline diff --git a/tests/controls/headerctrltest.cpp b/tests/controls/headerctrltest.cpp index 2b02f830a5..f906a016c7 100644 --- a/tests/controls/headerctrltest.cpp +++ b/tests/controls/headerctrltest.cpp @@ -54,7 +54,7 @@ private: // register in the unnamed registry so that these tests are run by default CPPUNIT_TEST_SUITE_REGISTRATION( HeaderCtrlTestCase ); -// also include in it's own registry so that these tests can be run alone +// also include in its own registry so that these tests can be run alone CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( HeaderCtrlTestCase, "HeaderCtrlTestCase" ); // ---------------------------------------------------------------------------- @@ -78,19 +78,19 @@ void HeaderCtrlTestCase::tearDown() void HeaderCtrlTestCase::AddDelete() { - CPPUNIT_ASSERT_EQUAL( 0, (size_t)m_header->GetColumnCount() ); + CPPUNIT_ASSERT_EQUAL( 0, m_header->GetColumnCount() ); m_header->AppendColumn(wxHeaderColumnSimple("Column 1")); - CPPUNIT_ASSERT_EQUAL( 1, (size_t)m_header->GetColumnCount() ); + CPPUNIT_ASSERT_EQUAL( 1, m_header->GetColumnCount() ); m_header->AppendColumn(wxHeaderColumnSimple("Column 2")); - CPPUNIT_ASSERT_EQUAL( 2, (size_t)m_header->GetColumnCount() ); + CPPUNIT_ASSERT_EQUAL( 2, m_header->GetColumnCount() ); m_header->InsertColumn(wxHeaderColumnSimple("Column 0"), 0); - CPPUNIT_ASSERT_EQUAL( 3, (size_t)m_header->GetColumnCount() ); + CPPUNIT_ASSERT_EQUAL( 3, m_header->GetColumnCount() ); m_header->DeleteColumn(2); - CPPUNIT_ASSERT_EQUAL( 2, (size_t)m_header->GetColumnCount() ); + CPPUNIT_ASSERT_EQUAL( 2, m_header->GetColumnCount() ); } void HeaderCtrlTestCase::BestSize()