summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfilter.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-10-02 13:09:02 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-10-02 13:09:02 -0400
commitbd20c548dd02778a2c7a6c318e2b8df6b2fc36c3 (patch)
tree22f7be2715442845e917b74e7f8d30fc3a3dcb20 /indra/newview/llinventoryfilter.h
parentde61551df3219dae2238591bae5fa7b6c857e6b0 (diff)
DRTVWR-589: Add initial integration test for LLLUAmanager.
The first test runs a Lua script that calls post_on(), listen_events() and await_event() to engage in LLEventPump handshakes with the test program. Make llluamanager.cpp testable by putting LL_TEST conditionals around lots of viewer-internals headers and the lua_function definitions that engage them. Since LuaListener::connect() is called by its constructor, make it a static method that explicitly accepts the lua_State* (instead of finding it as mState). Add that parameter to its two existing calls. Add a debug log message when LuaListener is destroyed. This surfaced the need to pass a no-op deleter when listen_events() constructs a LuaListener::ptr_t. When compiled for LL_TEST, make LuaListener::mReplyPump an LLEventLogProxyFor<LLEventStream> instead of a plain LLEventStream. For debugging purposes, add a type string "LLEventLogProxy" for LLEventPumps::make(). A make() call with this type will return an LLEventLogProxyFor<LLEventStream>.
Diffstat (limited to 'indra/newview/llinventoryfilter.h')
0 files changed, 0 insertions, 0 deletions