#include #include #include #include int main( int argc, char **argv ) { TDEApplication app( argc, argv, "tdeactiontest" ); TDEActionCollection coll( static_cast( 0 ) ); TQGuardedPtr action1 = new TDERadioAction("test",0, &coll); TQGuardedPtr action2 = new TDERadioAction("test",0, &coll); TQGuardedPtr action3 = new TDERadioAction("test",0, &coll); TQGuardedPtr action4 = new TDERadioAction("test",0, &coll); TQGuardedPtr action5 = new TDERadioAction("test",0, &coll); TQGuardedPtr action6 = new TDERadioAction("test",0, &coll); TQGuardedPtr action7 = new TDERadioAction("test",0, &coll); coll.clear(); assert( coll.isEmpty() ); assert( action1.isNull() ); assert( action2.isNull() ); assert( action3.isNull() ); assert( action4.isNull() ); assert( action5.isNull() ); assert( action6.isNull() ); assert( action7.isNull() ); return 0; } /* vim: et sw=4 ts=4 */