summaryrefslogtreecommitdiff
path: root/indra/newview/tests
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-10-13 01:11:38 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-10-13 11:15:24 +0200
commita104ec11d0ef9d5a9eb49b68e3c52e91fa95d6da (patch)
treebf8c13f34de1bef40a83c8303a405055c96bd1a9 /indra/newview/tests
parent66ab30a668d9d7674cd8fff5c67bd756cd1a634a (diff)
SL-20422 Unit-tests fix
Diffstat (limited to 'indra/newview/tests')
-rw-r--r--indra/newview/tests/llslurl_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/tests/llslurl_test.cpp b/indra/newview/tests/llslurl_test.cpp
index eabf922875..8d21b6ed69 100644
--- a/indra/newview/tests/llslurl_test.cpp
+++ b/indra/newview/tests/llslurl_test.cpp
@@ -187,6 +187,12 @@ namespace tut
ensure_equals("maps.secondlife.com slurl, region + coords", slurl.getSLURLString(),
"http://maps.secondlife.com/secondlife/myregion/1/2/3");
+ slurl = LLSLURL("secondlife://");
+ ensure_equals("secondlife: slurl, empty - type", slurl.getType(), LLSLURL::EMPTY);
+
+ slurl = LLSLURL("secondlife:///");
+ ensure_equals("secondlife: slurl, root - type", slurl.getType(), LLSLURL::EMPTY);
+
slurl = LLSLURL("secondlife://myregion");
ensure_equals("secondlife: slurl, region only - type", slurl.getType(), LLSLURL::LOCATION);
ensure_equals("secondlife: slurl, region only", slurl.getSLURLString(),