summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-08-12 08:26:51 -0400
committerNat Goodspeed <nat@lindenlab.com>2019-08-12 08:26:51 -0400
commitf0fa4f94a5400fe5d21cf5bf7570129916bf9787 (patch)
tree4b9ac64f2258dc6713eba0c5a793ec11965000e3 /indra/llmessage
parentadb3f447b33e42bdb6e4a5a1ac79eebd862dafb4 (diff)
DRTVWR-493: Make catch_llerrs() a member of WrapLLErrs.
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/tests/llareslistener_test.cpp8
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");