diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-02-07 11:53:58 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-02-07 11:53:58 -0500 |
commit | a4d0a29c4942f9a4ba423358805e2dfe042144a1 (patch) | |
tree | 0f152941a31ecc236baf1ec69bf7b2328637ecf1 /indra/newview | |
parent | 1a1563bb154102c09a172235081d8db62e4fbec9 (diff) |
For test purposes, capture at registration each function's Vars*.
We'd introduced FunctionsTriple to associate a pair of registered function
names with the Vars* on which those functions should operate. But with more
different tests coming up, it became clear that restating the Vars* every time
a given function name appeared in any such context was redundant.
Instead, extended addf() to accept and store the relevant Vars* for each
registered function, be it the global Vars for the free functions and static
methods or the stack Vars for the non-static methods.
Added varsfor() function to retrieve and validate the Vars* for a given
function name.
Eliminated array_funcs() function, restating aggregates of names to test as
LLSD collections. Where before these were coerced into a separate LLSD map
with ["a"] and ["b"] keys, that map can now be part of the original structure.
Diffstat (limited to 'indra/newview')
0 files changed, 0 insertions, 0 deletions