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 standardizing test suite names as class name under test 2010-08-24 23:41:47 -07:00
commonmisc_test.cpp standardizing test suite names as class name under test 2010-08-24 23:41:47 -07:00
listener.h Add LLStringUtil::getTokens() overload handling quoted substrings. 2012-02-24 15:06:44 -05:00
llallocator_heap_profile_test.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llallocator_test.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
llbase64_test.cpp standardizing test suite names as class name under test 2010-08-24 23:41:47 -07:00
lldate_test.cpp standardizing test suite names as class name under test 2010-08-24 23:41:47 -07:00
lldependencies_test.cpp HACK just to get the build to work. FIX THIS TEST! 2011-01-31 13:09:59 -08:00
llerror_test.cpp IQA-463: LLError::addRecorder() claims ownership of passed Recorder*. 2012-04-23 11:26:18 -04:00
lleventcoro_test.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
lleventdispatcher_test.cpp Add test to call map-style functions with full map/array params. 2011-02-09 23:28:10 -05:00
lleventfilter_test.cpp
llframetimer_test.cpp standardizing test suite names as class name under test 2010-08-24 23:41:47 -07:00
llinstancetracker_test.cpp Automated merge with file:///Users/nat/linden/viewer-leap-daggy 2012-02-27 14:48:39 -05:00
lllazy_test.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
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 standardizing test suite names as class name under test 2010-08-24 23:41:47 -07:00
llrand_test.cpp standardizing test suite names as class name under test 2010-08-24 23:41:47 -07:00
llsdserialize_test.cpp Convert LLProcess consumers from LLSD to LLProcess::Params block. 2012-01-21 11:45:15 -05:00
llsingleton_test.cpp Corrected license information in llsingleton_test.cpp. 2011-09-08 11:03:21 -04:00
llstreamqueue_test.cpp Add LLStreamQueue::size() and tests to exercise it. 2012-01-12 12:19:27 -05:00
llstring_test.cpp Add LLStringUtil::getTokens() test for quoted empty string. 2012-02-26 07:17:08 -05:00
lltreeiterators_test.cpp standardizing test suite names as class name under test 2010-08-24 23:41:47 -07:00
lluri_test.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
reflection_test.cpp Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
stringize_test.cpp standardizing test suite names as class name under test 2010-08-24 23:41:47 -07:00
wrapllerrs.h IQA-463: LLError::addRecorder() claims ownership of passed Recorder*. 2012-04-23 11:26:18 -04:00