int main( int argc, char*argv[] ) { TestRunner runner( argv[ 0 ] ); TestCase *test_set[ 10 ]; Selector testSelector; test_set[ 0 ] = jh_new EventTest( &testSelector, 1 ); test_set[ 1 ] = jh_new EventTest( &testSelector, 2 ); test_set[ 2 ] = jh_new EventTest( &testSelector, 3 ); test_set[ 3 ] = jh_new SelectorTest( &testSelector ); runner.RunAll( test_set, 4 ); return 0; }
int main() { kNet::EnableMemoryLeakLoggingAtExit(); DataSerializerTest(); MaxHeapTest(); VLETest(); EventTest(); for(int i = 0; i < 100; ++i) LockFreePoolAllocatorTest(); }