https://wiki.secondlife.com/w/index.php?title=LSL_Library_Call_Test_2&feed=atom&action=history
LSL Library Call Test 2 - Revision history
2024-03-29T08:50:03Z
Revision history for this page on the wiki
MediaWiki 1.36.1
https://wiki.secondlife.com/w/index.php?title=LSL_Library_Call_Test_2&diff=1195285&oldid=prev
ObviousAltIsObvious Resident: language tags to <source>
2015-01-25T20:48:59Z
<p>language tags to <source></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:48, 25 January 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l10">Line 10:</td>
<td colspan="2" class="diff-lineno">Line 10:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* For more verbose reporting uncomment llSay call in test()</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* For more verbose reporting uncomment llSay call in test()</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><<del style="font-weight: bold; text-decoration: none;">lsl</del>></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><<ins style="font-weight: bold; text-decoration: none;">source lang="lsl2"</ins>></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>integer gTests = 0;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>integer gTests = 0;</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l205">Line 205:</td>
<td colspan="2" class="diff-lineno">Line 205:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></<del style="font-weight: bold; text-decoration: none;">lsl</del>></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></<ins style="font-weight: bold; text-decoration: none;">source</ins>></div></td></tr>
</table>
ObviousAltIsObvious Resident
https://wiki.secondlife.com/w/index.php?title=LSL_Library_Call_Test_2&diff=93263&oldid=prev
Strife Onizuka at 23:25, 27 September 2008
2008-09-27T23:25:02Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:25, 27 September 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l10">Line 10:</td>
<td colspan="2" class="diff-lineno">Line 10:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* For more verbose reporting uncomment llSay call in test()</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* For more verbose reporting uncomment llSay call in test()</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><<del style="font-weight: bold; text-decoration: none;">pre</del>></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><<ins style="font-weight: bold; text-decoration: none;">lsl</ins>></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>integer gTests = 0;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>integer gTests = 0;</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l205">Line 205:</td>
<td colspan="2" class="diff-lineno">Line 205:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></<del style="font-weight: bold; text-decoration: none;">pre</del>></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></<ins style="font-weight: bold; text-decoration: none;">lsl</ins>></div></td></tr>
</table>
Strife Onizuka
https://wiki.secondlife.com/w/index.php?title=LSL_Library_Call_Test_2&diff=83109&oldid=prev
Si Linden: Added a handful of missing ll functions
2008-08-06T14:45:50Z
<p>Added a handful of missing ll functions</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:45, 6 August 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l183">Line 183:</td>
<td colspan="2" class="diff-lineno">Line 183:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> test("llGetParcelDetails"); listResult = llGetParcelDetails(<1.1,2.2,3.3>, [3]);</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> test("llGetParcelDetails"); listResult = llGetParcelDetails(<1.1,2.2,3.3>, [3]);</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> test("llSetLinkPrimitiveParams"); llSetLinkPrimitiveParams(42, [3]);</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> test("llSetLinkPrimitiveParams"); llSetLinkPrimitiveParams(42, [3]);</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">//</del>test("llGetObjectDetails"); listResult = llGetObjectDetails(NULL_KEY, [3]);</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> test("llGetObjectDetails"); listResult = llGetObjectDetails(NULL_KEY, [3]<ins style="font-weight: bold; text-decoration: none;">);</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> test("llGetRegionAgentCount"); integerResult = llGetRegionAgentCount();</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> test("llTextBox"); llTextBox(NULL_KEY, "hello text box", 0);</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> test("llGetAgentLanguage"); stringResult = llGetAgentLanguage(NULL_KEY);</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> test("llDetectedTouchUV"); vectorResult = llDetectedTouchUV(0);</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> test("llDetectedTouchST"); vectorResult = llDetectedTouchST(0);</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> test("llDetectedTouchFace"); integerResult = llDetectedTouchFace(0);</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> test("llDetectedTouchPos"); vectorResult = llDetectedTouchPos(0);</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> test("llDetectedTouchNormal"); vectorResult = llDetectedTouchNormal(0);</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> test("llDetectedTouchBinormal"); vectorResult = llDetectedTouchBinormal(0</ins>);</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
</table>
Si Linden
https://wiki.secondlife.com/w/index.php?title=LSL_Library_Call_Test_2&diff=52678&oldid=prev
Phoenix Linden at 01:04, 5 February 2008
2008-02-05T01:04:37Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 01:04, 5 February 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Conformance Test]]</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Tests that LSL library functions are callable and that parameter and return types are correct</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Tests that LSL library functions are callable and that parameter and return types are correct</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Does NOT test library call semantics</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Does NOT test library call semantics</div></td></tr>
</table>
Phoenix Linden
https://wiki.secondlife.com/w/index.php?title=LSL_Library_Call_Test_2&diff=39380&oldid=prev
Periapse Linden: New page: * Tests that LSL library functions are callable and that parameter and return types are correct * Does NOT test library call semantics * To run, rez a prim, add this script, then touch the...
2007-11-07T00:10:06Z
<p>New page: * Tests that LSL library functions are callable and that parameter and return types are correct * Does NOT test library call semantics * To run, rez a prim, add this script, then touch the...</p>
<p><b>New page</b></p><div>* Tests that LSL library functions are callable and that parameter and return types are correct<br />
* Does NOT test library call semantics<br />
* To run, rez a prim, add this script, then touch the prim<br />
* On successful completion says "Ran 172 tests in 50 seconds"<br />
* Test should take ~50s due to sleep and energy delays<br />
* Generates multiple script errors due to erroneous parameters, these errors should be ignored<br />
* For more verbose reporting uncomment llSay call in test()<br />
<br />
<pre><br />
integer gTests = 0;<br />
<br />
test(string name)<br />
{<br />
++gTests;<br />
//llSay(0, name);<br />
}<br />
<br />
tests()<br />
{<br />
float floatResult;<br />
integer integerResult;<br />
string stringResult;<br />
key keyResult;<br />
vector vectorResult;<br />
rotation rotationResult;<br />
list listResult;<br />
<br />
test("llGetInventoryKey"); keyResult = llGetInventoryKey("foo");<br />
test("llAllowInventoryDrop"); llAllowInventoryDrop(42);<br />
test("llGetSunDirection"); vectorResult = llGetSunDirection();<br />
test("llGetTextureOffset"); vectorResult = llGetTextureOffset(42);<br />
test("llGetTextureScale"); vectorResult = llGetTextureScale(42);<br />
test("llGetTextureRot"); floatResult = llGetTextureRot(42);<br />
test("llSubStringIndex"); integerResult = llSubStringIndex("foo", "foo");<br />
test("llGetOwnerKey"); keyResult = llGetOwnerKey(NULL_KEY);<br />
test("llGetCenterOfMass"); vectorResult = llGetCenterOfMass();<br />
test("llGetListLength"); integerResult = llGetListLength([3]);<br />
test("llList2Integer"); integerResult = llList2Integer([3], 42);<br />
test("llList2Float"); floatResult = llList2Float([3], 42);<br />
test("llList2String"); stringResult = llList2String([3], 42);<br />
test("llList2Key"); keyResult = llList2Key([3], 42);<br />
test("llList2Vector"); vectorResult = llList2Vector([3], 42);<br />
test("llList2Rot"); rotationResult = llList2Rot([3], 42);<br />
test("llCSV2List"); listResult = llCSV2List("foo");<br />
test("llGetRegionCorner"); vectorResult = llGetRegionCorner();<br />
test("llGetObjectName"); stringResult = llGetObjectName();<br />
test("llSetObjectName"); llSetObjectName("foo");<br />
test("llGetDate"); stringResult = llGetDate();<br />
test("llEdgeOfWorld"); integerResult = llEdgeOfWorld(<1.1,2.2,3.3>, <1.1,2.2,3.3>);<br />
test("llGetAgentInfo"); integerResult = llGetAgentInfo(NULL_KEY);<br />
test("llAdjustSoundVolume"); llAdjustSoundVolume(0.5);<br />
test("llSetSoundQueueing"); llSetSoundQueueing(42);<br />
test("llSetSoundRadius"); llSetSoundRadius(0.5);<br />
test("llKey2Name"); stringResult = llKey2Name(NULL_KEY);<br />
test("llSetTextureAnim"); llSetTextureAnim(42, 42, 42, 42, 0.5, 0.5, 0.5);<br />
test("llTriggerSoundLimited"); llTriggerSoundLimited("foo", 0.5, <1.1,2.2,3.3>, <1.1,2.2,3.3>);<br />
test("llEjectFromLand"); llEjectFromLand(NULL_KEY);<br />
test("llOverMyLand"); integerResult = llOverMyLand(NULL_KEY);<br />
test("llGetLandOwnerAt"); keyResult = llGetLandOwnerAt(<1.1,2.2,3.3>);<br />
test("llGetNotecardLine"); keyResult = llGetNotecardLine("foo", 42);<br />
test("llGetAgentSize"); vectorResult = llGetAgentSize(NULL_KEY);<br />
test("llSameGroup"); integerResult = llSameGroup(NULL_KEY);<br />
test("llUnSit"); llUnSit(NULL_KEY);<br />
test("llGroundSlope"); vectorResult = llGroundSlope(<1.1,2.2,3.3>);<br />
test("llGroundNormal"); vectorResult = llGroundNormal(<1.1,2.2,3.3>);<br />
test("llGroundContour"); vectorResult = llGroundContour(<1.1,2.2,3.3>);<br />
test("llGetAttached"); integerResult = llGetAttached();<br />
test("llGetFreeMemory"); integerResult = llGetFreeMemory();<br />
test("llGetRegionName"); stringResult = llGetRegionName();<br />
test("llGetRegionTimeDilation"); floatResult = llGetRegionTimeDilation();<br />
test("llGetRegionFPS"); floatResult = llGetRegionFPS();<br />
test("llGroundRepel"); llGroundRepel(0.5, 42, 0.5);<br />
test("llScriptDanger"); integerResult = llScriptDanger(<1.1,2.2,3.3>);<br />
test("llSetVehicleType"); llSetVehicleType(42);<br />
test("llSetVehicleFloatParam"); llSetVehicleFloatParam(42, 0.5);<br />
test("llSetVehicleVectorParam"); llSetVehicleVectorParam(42, <1.1,2.2,3.3>);<br />
test("llSetVehicleRotationParam"); llSetVehicleRotationParam(42, <1.1,2.2,3.3,4.4>);<br />
test("llSetVehicleFlags"); llSetVehicleFlags(42);<br />
test("llRemoveVehicleFlags"); llRemoveVehicleFlags(42);<br />
test("llSitTarget"); llSitTarget(<1.1,2.2,3.3>, <1.1,2.2,3.3,4.4>);<br />
test("llAvatarOnSitTarget"); keyResult = llAvatarOnSitTarget();<br />
test("llAddToLandPassList"); llAddToLandPassList(NULL_KEY, 0.5);<br />
test("llSetTouchText"); llSetTouchText("foo");<br />
test("llSetSitText"); llSetSitText("foo");<br />
test("llSetCameraEyeOffset"); llSetCameraEyeOffset(<1.1,2.2,3.3>);<br />
test("llSetCameraAtOffset"); llSetCameraAtOffset(<1.1,2.2,3.3>);<br />
test("llVolumeDetect"); llVolumeDetect(42);<br />
test("llResetOtherScript"); llResetOtherScript("foo");<br />
test("llGetScriptState"); integerResult = llGetScriptState("foo");<br />
test("llRemoteLoadScript"); llRemoteLoadScript(NULL_KEY, "foo", 42, 42);<br />
test("llOpenRemoteDataChannel"); llOpenRemoteDataChannel();<br />
test("llSendRemoteData"); keyResult = llSendRemoteData(NULL_KEY, "foo", 42, "foo");<br />
test("llRemoteDataReply"); llRemoteDataReply(NULL_KEY, NULL_KEY, "foo", 42);<br />
test("llCloseRemoteDataChannel"); llCloseRemoteDataChannel(NULL_KEY);<br />
test("llMD5String"); stringResult = llMD5String("foo", 42);<br />
test("llStringToBase64"); stringResult = llStringToBase64("foo");<br />
test("llBase64ToString"); stringResult = llBase64ToString("foo");<br />
test("llXorBase64Strings"); stringResult = llXorBase64Strings("foo", "foo");<br />
test("llSetRemoteScriptAccessPin"); llSetRemoteScriptAccessPin(42);<br />
test("llRemoteLoadScriptPin"); llRemoteLoadScriptPin(NULL_KEY, "foo", 42, 42, 42);<br />
test("llRemoteDataSetRegion"); llRemoteDataSetRegion();<br />
test("llLog10"); floatResult = llLog10(0.5);<br />
test("llLog"); floatResult = llLog(0.5);<br />
test("llSetParcelMusicURL"); llSetParcelMusicURL("foo");<br />
test("llGetRootPosition"); vectorResult = llGetRootPosition();<br />
test("llGetRootRotation"); rotationResult = llGetRootRotation();<br />
test("llGetObjectDesc"); stringResult = llGetObjectDesc();<br />
test("llSetObjectDesc"); llSetObjectDesc("foo");<br />
test("llGetCreator"); keyResult = llGetCreator();<br />
test("llGetTimestamp"); stringResult = llGetTimestamp();<br />
test("llSetLinkAlpha"); llSetLinkAlpha(42, 0.5, 42);<br />
test("llGetNumberOfPrims"); integerResult = llGetNumberOfPrims();<br />
test("llGetNumberOfNotecardLines"); keyResult = llGetNumberOfNotecardLines("foo");<br />
test("llGetBoundingBox"); listResult = llGetBoundingBox(NULL_KEY);<br />
test("llGetGeometricCenter"); vectorResult = llGetGeometricCenter();<br />
test("llIntegerToBase64"); stringResult = llIntegerToBase64(42);<br />
test("llBase64ToInteger"); integerResult = llBase64ToInteger("foo");<br />
test("llGetGMTclock"); floatResult = llGetGMTclock();<br />
test("llGetSimulatorHostname"); stringResult = llGetSimulatorHostname();<br />
test("llSetLocalRot"); llSetLocalRot(<1.1,2.2,3.3,4.4>);<br />
test("llRezAtRoot"); llRezAtRoot("foo", <1.1,2.2,3.3>, <1.1,2.2,3.3>, <1.1,2.2,3.3,4.4>, 42);<br />
test("llGetObjectPermMask"); integerResult = llGetObjectPermMask(42);<br />
//test("llSetObjectPermMask"); llSetObjectPermMask(42,42);<br />
test("llGetInventoryPermMask"); integerResult = llGetInventoryPermMask("foo", 42);<br />
//test("llSetInventoryPermMask"); llSetInventoryPermMask("foo", 42, 42);<br />
test("llOwnerSay"); llOwnerSay("foo");<br />
test("llGetInventoryCreator"); keyResult = llGetInventoryCreator("foo");<br />
test("llRequestSimulatorData"); keyResult = llRequestSimulatorData("foo", 42);<br />
test("llForceMouselook"); llForceMouselook(42);<br />
test("llGetObjectMass"); floatResult = llGetObjectMass(NULL_KEY);<br />
test("llLoadURL"); llLoadURL(NULL_KEY, "foo", "foo");<br />
test("llModPow"); integerResult = llModPow(42, 42, 42);<br />
test("llGetInventoryType"); integerResult = llGetInventoryType("foo");<br />
test("llGetCameraPos"); vectorResult = llGetCameraPos();<br />
test("llGetCameraRot"); rotationResult = llGetCameraRot();<br />
test("llSetPrimURL"); llSetPrimURL("foo");<br />
test("llRefreshPrimURL"); llRefreshPrimURL();<br />
test("llEscapeURL"); stringResult = llEscapeURL("foo");<br />
test("llUnescapeURL"); stringResult = llUnescapeURL("foo");<br />
test("llMapDestination"); llMapDestination("foo", <1.1,2.2,3.3>, <1.1,2.2,3.3>);<br />
test("llAddToLandBanList"); llAddToLandBanList(NULL_KEY, 0.5);<br />
test("llRemoveFromLandPassList"); llRemoveFromLandPassList(NULL_KEY);<br />
test("llRemoveFromLandBanList"); llRemoveFromLandBanList(NULL_KEY);<br />
test("llResetLandBanList"); llResetLandBanList();<br />
test("llResetLandPassList"); llResetLandPassList();<br />
test("llClearCameraParams"); llClearCameraParams();<br />
test("llGetUnixTime"); integerResult = llGetUnixTime();<br />
test("llGetParcelFlags"); integerResult = llGetParcelFlags(<1.1,2.2,3.3>);<br />
test("llGetRegionFlags"); integerResult = llGetRegionFlags();<br />
test("llGetObjectPrimCount"); integerResult = llGetObjectPrimCount(NULL_KEY);<br />
test("llGetParcelPrimOwners"); listResult = llGetParcelPrimOwners(<1.1,2.2,3.3>); <br />
test("llGetParcelPrimCount"); integerResult = llGetParcelPrimCount(<1.1,2.2,3.3>, 42, 42);<br />
test("llGetParcelMaxPrims"); integerResult = llGetParcelMaxPrims(<1.1,2.2,3.3>, 42);<br />
test("llSetLinkTexture"); llSetLinkTexture(42, "foo", 42);<br />
test("llStringTrim"); stringResult = llStringTrim("foo", 42);<br />
test("llRegionSay"); llRegionSay(42, "foo");<br />
test("llListSort"); listResult = llListSort([3], 42, 42);<br />
test("llList2List"); listResult = llList2List([3], 42, 42);<br />
test("llDeleteSubList"); listResult = llDeleteSubList([3], 42, 42);<br />
test("llGetListEntryType"); integerResult = llGetListEntryType([3], 42);<br />
test("llList2CSV"); stringResult = llList2CSV([3]);<br />
test("llListRandomize"); listResult = llListRandomize([3], 42);<br />
test("llList2ListStrided"); listResult = llList2ListStrided([3], 42, 42, 42);<br />
test("llListInsertList"); listResult = llListInsertList([3], [3], 42);<br />
test("llListFindList"); integerResult = llListFindList([3], [3]);<br />
test("llParseString2List"); listResult = llParseString2List("foo", [3], [3]);<br />
test("llParticleSystem"); llParticleSystem([3]);<br />
test("llGiveInventoryList"); llGiveInventoryList(NULL_KEY, "foo", [3]);<br />
test("llDumpList2String"); stringResult = llDumpList2String([3], "foo");<br />
test("llDialog"); llDialog(NULL_KEY, "foo", [3], 42);<br />
test("llSetPrimitiveParams"); llSetPrimitiveParams([3]);<br />
test("llGetPrimitiveParams"); listResult = llGetPrimitiveParams([3]);<br />
test("llParseStringKeepNulls"); listResult = llParseStringKeepNulls("foo", [3], [3]);<br />
test("llListReplaceList"); listResult = llListReplaceList([3], [3], 42, 42);<br />
test("llParcelMediaCommandList"); llParcelMediaCommandList([3]);<br />
test("llParcelMediaQuery"); listResult = llParcelMediaQuery([3]);<br />
test("llSetPayPrice"); llSetPayPrice(42, [3]);<br />
test("llSetCameraParams"); llSetCameraParams([3]);<br />
test("llListStatistics"); floatResult = llListStatistics(42, [3]);<br />
test("llGetParcelDetails"); listResult = llGetParcelDetails(<1.1,2.2,3.3>, [3]);<br />
test("llSetLinkPrimitiveParams"); llSetLinkPrimitiveParams(42, [3]);<br />
//test("llGetObjectDetails"); listResult = llGetObjectDetails(NULL_KEY, [3]);<br />
}<br />
<br />
default<br />
{<br />
touch_start(integer total_number)<br />
{<br />
llResetTime();<br />
tests();<br />
llSay(0, "Ran " + (string) gTests + " tests in " + (string) llGetTime() + " seconds");<br />
gTests = 0;<br />
}<br />
}<br />
</pre></div>
Periapse Linden