aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/test/llsd_new_tut.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-01 17:39:58 -0600
committerJacek Antonelli2008-12-01 17:40:06 -0600
commit7abecb48babe6a6f09bf6692ba55076546cfced9 (patch)
tree8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/test/llsd_new_tut.cpp
parentSecond Life viewer sources 1.21.6 (diff)
downloadmeta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz
Second Life viewer sources 1.22.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/test/llsd_new_tut.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/test/llsd_new_tut.cpp b/linden/indra/test/llsd_new_tut.cpp
index 6c8d96a..8a24dab 100644
--- a/linden/indra/test/llsd_new_tut.cpp
+++ b/linden/indra/test/llsd_new_tut.cpp
@@ -108,7 +108,7 @@ namespace tut
108 SDCleanupCheck check; 108 SDCleanupCheck check;
109 109
110 LLSD v; 110 LLSD v;
111 111
112 v = true; ensureTypeAndValue("set true", v, true); 112 v = true; ensureTypeAndValue("set true", v, true);
113 v = false; ensureTypeAndValue("set false", v, false); 113 v = false; ensureTypeAndValue("set false", v, false);
114 v = true; ensureTypeAndValue("set true again", v, true); 114 v = true; ensureTypeAndValue("set true again", v, true);
@@ -749,6 +749,15 @@ namespace tut
749 } 749 }
750 } 750 }
751 751
752 template<> template<>
753 void SDTestObject::test<14>()
754 // make sure that assignment of char* NULL in a string does not crash.
755 {
756 LLSD v;
757 v = (const char*)NULL;
758 ensure("type is a string", v.isString());
759 }
760
752 /* TO DO: 761 /* TO DO:
753 conversion of undefined to UUID, Date, URI and Binary 762 conversion of undefined to UUID, Date, URI and Binary
754 conversion of undefined to map and array 763 conversion of undefined to map and array