diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/test/llmessageconfig_tut.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/linden/indra/test/llmessageconfig_tut.cpp b/linden/indra/test/llmessageconfig_tut.cpp index e5dd328..869070e 100644 --- a/linden/indra/test/llmessageconfig_tut.cpp +++ b/linden/indra/test/llmessageconfig_tut.cpp | |||
@@ -221,4 +221,21 @@ namespace tut | |||
221 | LLMessageConfig::onlySendLatest("msg2"), | 221 | LLMessageConfig::onlySendLatest("msg2"), |
222 | false); | 222 | false); |
223 | } | 223 | } |
224 | |||
225 | template<> template<> | ||
226 | void LLMessageConfigTestObject::test<9>() | ||
227 | // tests that event queue max is reloaded | ||
228 | { | ||
229 | LLSD config; | ||
230 | config["maxQueuedEvents"] = 200; | ||
231 | LLMessageConfig::useConfig(config); | ||
232 | ensure_equals("Ensure setting maxQueuedEvents", | ||
233 | LLMessageConfig::getMaxQueuedEvents(), | ||
234 | 200); | ||
235 | |||
236 | LLMessageConfig::useConfig(LLSD()); | ||
237 | ensure_equals("Ensure default of event queue max 100", | ||
238 | LLMessageConfig::getMaxQueuedEvents(), | ||
239 | 100); | ||
240 | } | ||
224 | } | 241 | } |