phoenix-firestorm/indra/llcommon/tests
Nat Goodspeed eb1bea2223 IQA-463: LLError::addRecorder() claims ownership of passed Recorder*.
That is, when the underlying LLError::Settings object is destroyed -- possibly
at termination, possibly on LLError::restoreSettings() -- the passed Recorder*
is deleted.
There was much existing code that seemed as unaware of this alarming fact as I
was myself. Passing to addRecorder() a pointer to a stack object, or to a
member of some other object, is just Bad. It might be preferable to make
addRecorder() accept std::auto_ptr<Recorder> to make the ownership transfer
more explicit -- or even boost::shared_ptr<Recorder> instead, which would
allow the caller to either forget or retain the passed Recorder.
This preliminary pass retains the Recorder* dumb pointer API, but documents
the ownership issue, and eliminates known instances of passing pointers to
anything but a standalone heap Recorder subclass object.
2012-04-23 11:26:18 -04:00
..
StringVec.h Add LLStringUtil::getTokens() overload handling quoted substrings. 2012-02-24 15:06:44 -05:00
bitpack_test.cpp
commonmisc_test.cpp
listener.h Add LLStringUtil::getTokens() overload handling quoted substrings. 2012-02-24 15:06:44 -05:00
llallocator_heap_profile_test.cpp
llallocator_test.cpp
llbase64_test.cpp
lldate_test.cpp
lldependencies_test.cpp
llerror_test.cpp IQA-463: LLError::addRecorder() claims ownership of passed Recorder*. 2012-04-23 11:26:18 -04:00
lleventcoro_test.cpp
lleventdispatcher_test.cpp
lleventfilter_test.cpp
llframetimer_test.cpp
llinstancetracker_test.cpp Automated merge with file:///Users/nat/linden/viewer-leap-daggy 2012-02-27 14:48:39 -05:00
lllazy_test.cpp
llleap_test.cpp On Windows, make "very large message" test ridiculously small. 2012-03-15 16:51:34 -04:00
llmemtype_test.cpp
llprocess_test.cpp Add timeout functionality to waitfor() helper functions. 2012-03-13 14:15:11 -04:00
llprocessor_test.cpp
llrand_test.cpp
llsdserialize_test.cpp
llsingleton_test.cpp
llstreamqueue_test.cpp
llstring_test.cpp Add LLStringUtil::getTokens() test for quoted empty string. 2012-02-26 07:17:08 -05:00
lltreeiterators_test.cpp
lluri_test.cpp
reflection_test.cpp
stringize_test.cpp
wrapllerrs.h IQA-463: LLError::addRecorder() claims ownership of passed Recorder*. 2012-04-23 11:26:18 -04:00