diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2019-08-12 08:26:51 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2019-08-12 08:26:51 -0400 |
commit | f0fa4f94a5400fe5d21cf5bf7570129916bf9787 (patch) | |
tree | 4b9ac64f2258dc6713eba0c5a793ec11965000e3 /indra/llmessage | |
parent | adb3f447b33e42bdb6e4a5a1ac79eebd862dafb4 (diff) |
DRTVWR-493: Make catch_llerrs() a member of WrapLLErrs.
Diffstat (limited to 'indra/llmessage')
-rw-r--r-- | indra/llmessage/tests/llareslistener_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llmessage/tests/llareslistener_test.cpp b/indra/llmessage/tests/llareslistener_test.cpp index 8e5bcd326c..254185cbd0 100644 --- a/indra/llmessage/tests/llareslistener_test.cpp +++ b/indra/llmessage/tests/llareslistener_test.cpp @@ -138,7 +138,7 @@ namespace tut WrapLLErrs capture; LLSD request; request["op"] = "foo"; - std::string threw = catch_llerrs([&request](){ + std::string threw = capture.catch_llerrs([&request](){ LLEventPumps::instance().obtain("LLAres").post(request); }); ensure_contains("LLAresListener bad op", threw, "bad"); @@ -151,7 +151,7 @@ namespace tut WrapLLErrs capture; LLSD request; request["op"] = "rewriteURI"; - std::string threw = catch_llerrs([&request](){ + std::string threw = capture.catch_llerrs([&request](){ LLEventPumps::instance().obtain("LLAres").post(request); }); ensure_contains("LLAresListener bad req", threw, "missing"); @@ -167,7 +167,7 @@ namespace tut LLSD request; request["op"] = "rewriteURI"; request["reply"] = "nonexistent"; - std::string threw = catch_llerrs([&request](){ + std::string threw = capture.catch_llerrs([&request](){ LLEventPumps::instance().obtain("LLAres").post(request); }); ensure_contains("LLAresListener bad req", threw, "missing"); @@ -183,7 +183,7 @@ namespace tut LLSD request; request["op"] = "rewriteURI"; request["uri"] = "foo.bar.com"; - std::string threw = catch_llerrs([&request](){ + std::string threw = capture.catch_llerrs([&request](){ LLEventPumps::instance().obtain("LLAres").post(request); }); ensure_contains("LLAresListener bad req", threw, "missing"); |