summaryrefslogtreecommitdiff
path: root/indra/llui/tests
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-01-22 16:52:53 -0800
committerJames Cook <james@lindenlab.com>2010-01-22 16:52:53 -0800
commitdd9bfb6d859c5848b5ff6c8fdebbc34ab65f92e7 (patch)
treea63fe6482ccea610f39ba11c7f1a7770e0bd35b9 /indra/llui/tests
parent1d6d3fc5a9698dfd64d5fa778823d38d514ec3b1 (diff)
LLCacheName and LLUrlEntryAgent now understand SLIDs - accounts
with "Resident" as last name should not display that name. Also added test display names.
Diffstat (limited to 'indra/llui/tests')
-rw-r--r--indra/llui/tests/llurlentry_stub.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/tests/llurlentry_stub.cpp b/indra/llui/tests/llurlentry_stub.cpp
index 26d1f2e067..3731800adf 100644
--- a/indra/llui/tests/llurlentry_stub.cpp
+++ b/indra/llui/tests/llurlentry_stub.cpp
@@ -36,6 +36,13 @@ BOOL LLCacheName::getFullName(const LLUUID& id, std::string& fullname)
return TRUE;
}
+BOOL LLCacheName::getName(const LLUUID& id, std::string& first, std::string& last)
+{
+ first = "Lynx";
+ last = "Linden";
+ return TRUE;
+}
+
BOOL LLCacheName::getGroupName(const LLUUID& id, std::string& group)
{
group = "My Group";