Searched refs:FooObject (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/tests/hashes/
H A Dhashes.cpp50 struct FooObject : public wxObject struct in inherits:wxObject
52 FooObject(int n_) { n = n_; count++; } function in struct:FooObject
53 ~FooObject() { count--; }
60 size_t FooObject::count = 0;
239 CPPUNIT_ASSERT( FooObject::count == 0 );
249 hash.Put(hashTestData[n], n, new FooObject(n));
253 CPPUNIT_ASSERT( FooObject::count == WXSIZEOF(hashTestData) );
256 FooObject* foo = (FooObject*)hash.Delete(0l);
258 CPPUNIT_ASSERT( FooObject
[all...]

Completed in 107 milliseconds