diff options
author | Brad Kittenbrink <brad@lindenlab.com> | 2019-03-05 17:09:38 -0800 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2020-03-25 18:39:21 -0400 |
commit | 6992ad457c04a2f9b4dee96c19d1e0df3c870dbc (patch) | |
tree | a8a071215fcb482e36d18d97791585767b5d3a3d | |
parent | 66abe4ccab7b60e9056ee03b9536b9980599d5f0 (diff) |
Lint fixes on new test file.
-rw-r--r-- | indra/llmessage/tests/llcoproceduremanager_test.cpp | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/indra/llmessage/tests/llcoproceduremanager_test.cpp b/indra/llmessage/tests/llcoproceduremanager_test.cpp index 8ba9a84356..e503798d88 100644 --- a/indra/llmessage/tests/llcoproceduremanager_test.cpp +++ b/indra/llmessage/tests/llcoproceduremanager_test.cpp @@ -41,50 +41,45 @@ LLCoreHttpUtil::HttpCoroutineAdapter::HttpCoroutineAdapter(std::string const&, unsigned int, unsigned int) { - } void LLCoreHttpUtil::HttpCoroutineAdapter::cancelSuspendedOperation() { - } LLCoreHttpUtil::HttpCoroutineAdapter::~HttpCoroutineAdapter() { - } LLCore::HttpRequest::HttpRequest() { - } LLCore::HttpRequest::~HttpRequest() { - } namespace tut { - struct coproceduremanager_test - { - coproceduremanager_test() - { - } - }; - typedef test_group<coproceduremanager_test> coproceduremanager_t; - typedef coproceduremanager_t::object coproceduremanager_object_t; - tut::coproceduremanager_t tut_coproceduremanager("LLCoprocedureManager"); + struct coproceduremanager_test + { + coproceduremanager_test() + { + } + }; + typedef test_group<coproceduremanager_test> coproceduremanager_t; + typedef coproceduremanager_t::object coproceduremanager_object_t; + tut::coproceduremanager_t tut_coproceduremanager("LLCoprocedureManager"); - - template<> template<> - void coproceduremanager_object_t::test<1>() - { + + template<> template<> + void coproceduremanager_object_t::test<1>() + { int foo = 0; - LLUUID queueId = LLCoprocedureManager::instance().enqueueCoprocedure( "PoolName", "ProcName", - [&foo] (LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t & ptr, const LLUUID & id) { + LLUUID queueId = LLCoprocedureManager::instance().enqueueCoprocedure("PoolName", "ProcName", + [&foo] (LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t & ptr, const LLUUID & id) { foo = 1; - }); - ensure_equals("coprocedure failed to update foo", foo, 1); - } -} + }); + ensure_equals("coprocedure failed to update foo", foo, 1); + } +} // namespace tut |