diff options
author | Richard Linden <none@none> | 2012-10-17 20:00:07 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-10-17 20:00:07 -0700 |
commit | a52d203a4f1d2988e8ffba16258f3f132f22f56d (patch) | |
tree | ce95e59210aa9228b92dc2abc8d5a8028e63d4cd /indra/newview/tests/llviewerassetstats_test.cpp | |
parent | e6ca5471a2a816a24888ae1b38332531b22b7254 (diff) |
SH-3405 WIP convert existing stats to lltrace system
started conversion of llviewerassetstats
removed old, dead LLViewerStats code
made units tracing require units declaration
clean up of units handling
Diffstat (limited to 'indra/newview/tests/llviewerassetstats_test.cpp')
-rwxr-xr-x | indra/newview/tests/llviewerassetstats_test.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/indra/newview/tests/llviewerassetstats_test.cpp b/indra/newview/tests/llviewerassetstats_test.cpp index f8923b9868..4a190fbe23 100755 --- a/indra/newview/tests/llviewerassetstats_test.cpp +++ b/indra/newview/tests/llviewerassetstats_test.cpp @@ -220,7 +220,18 @@ get_region(const LLSD & sd, U64 region_handle1) namespace tut { struct tst_viewerassetstats_index - {}; + { + tst_viewerassetstats_index() + { + LLTrace::init(); + } + + ~tst_viewerassetstats_index() + { + LLTrace::cleanup(); + } + + }; typedef test_group<tst_viewerassetstats_index> tst_viewerassetstats_index_t; typedef tst_viewerassetstats_index_t::object tst_viewerassetstats_index_object_t; tut::tst_viewerassetstats_index_t tut_tst_viewerassetstats_index("tst_viewerassetstats_test"); |