Add a common tag for wxItemContainer-derived classes tests
This makes it possible to run the tests for all controls implementing wxItemContainer interface by just passing "[item-container]" on the test command line.
This commit is contained in:
@@ -75,12 +75,8 @@ private:
|
||||
wxDECLARE_NO_COPY_CLASS(OwnerDrawnComboBoxTestCase);
|
||||
};
|
||||
|
||||
// register in the unnamed registry so that these tests are run by default
|
||||
CPPUNIT_TEST_SUITE_REGISTRATION( OwnerDrawnComboBoxTestCase );
|
||||
|
||||
// also include in its own registry so that these tests can be run alone
|
||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( OwnerDrawnComboBoxTestCase,
|
||||
"OwnerDrawnComboBoxTestCase" );
|
||||
wxREGISTER_UNIT_TEST_WITH_TAGS(OwnerDrawnComboBoxTestCase,
|
||||
"[OwnerDrawnComboBoxTestCase][item-container]");
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// test initialization
|
||||
|
Reference in New Issue
Block a user