diff options
author | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
commit | 2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch) | |
tree | 95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/test/llmessageconfig_tut.cpp | |
parent | Second Life viewer sources 1.20.6 (diff) | |
download | meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2 meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz |
Second Life viewer sources 1.20.7
Diffstat (limited to 'linden/indra/test/llmessageconfig_tut.cpp')
-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 | } |