aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/test/llsd_new_tut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/test/llsd_new_tut.cpp')
-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