fix compilation with gcc 4.3.3 (and libcppunit 1.12.1); the compiler is confused by the many assertEqual() overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
70f70818c2
commit
c653b0197a
@ -78,19 +78,19 @@ void HeaderCtrlTestCase::tearDown()
|
||||
|
||||
void HeaderCtrlTestCase::AddDelete()
|
||||
{
|
||||
CPPUNIT_ASSERT_EQUAL( 0, m_header->GetColumnCount() );
|
||||
CPPUNIT_ASSERT_EQUAL( 0, (size_t)m_header->GetColumnCount() );
|
||||
|
||||
m_header->AppendColumn(wxHeaderColumnSimple("Column 1"));
|
||||
CPPUNIT_ASSERT_EQUAL( 1, m_header->GetColumnCount() );
|
||||
CPPUNIT_ASSERT_EQUAL( 1, (size_t)m_header->GetColumnCount() );
|
||||
|
||||
m_header->AppendColumn(wxHeaderColumnSimple("Column 2"));
|
||||
CPPUNIT_ASSERT_EQUAL( 2, m_header->GetColumnCount() );
|
||||
CPPUNIT_ASSERT_EQUAL( 2, (size_t)m_header->GetColumnCount() );
|
||||
|
||||
m_header->InsertColumn(wxHeaderColumnSimple("Column 0"), 0);
|
||||
CPPUNIT_ASSERT_EQUAL( 3, m_header->GetColumnCount() );
|
||||
CPPUNIT_ASSERT_EQUAL( 3, (size_t)m_header->GetColumnCount() );
|
||||
|
||||
m_header->DeleteColumn(2);
|
||||
CPPUNIT_ASSERT_EQUAL( 2, m_header->GetColumnCount() );
|
||||
CPPUNIT_ASSERT_EQUAL( 2, (size_t)m_header->GetColumnCount() );
|
||||
}
|
||||
|
||||
void HeaderCtrlTestCase::BestSize()
|
||||
|
Loading…
Reference in New Issue
Block a user