Sample Automation Test

From Second Life Wiki
Revision as of 06:19, 28 March 2008 by Vektor Linden (talk | contribs)
Jump to navigation Jump to search

[llGetNumberOfNotecardLines]

[URL] http://wiki.secondlife.com/wiki/TestUnit_TestScript_DataServer_Notecard.lsl

[CONTRIBUTION] i3DNOW! 6.23.2007

[MODIFICATIONS]

[TEST GROUP] Dataserver

[TAGS] lsl2 notecard dataserver

[VERSION] 0.2

[DURATION] 00:00.15

[TESTERS] 1

[OVERVIEW / GOAL] This tests the functionality of the llGetNumberOfNotecardLines function.

[EXPECTED OUTCOME] 3 notecard lines are read

[SETUP ENVIRONMENT SCRIPT] NONE

[DEPENDENCIES] No other tests need to be run prior to the execution of this test.

[SETUP] Rez the test harness and the DataServer Notecard test unit. If the DataServer Notecard test unit has not been created, you may create a new test unit by copying the source from the URL above, and add it to a new test unit. A simple way to create a new test unit is to copy an exiting one, and replace the TestUnit_TestScript with the copied source.

[TEST DATA] DataServer_Notecard (will elaborate probably will add to Gold Data Set - see link below for data included in the notecard)

[NOTE] None

[INV] DataServerNotecardTest_nc

[LSL SCRIPT] This is where LSL code will be for the test.

[CASE NAME] llGetNumberOfNotecardLines 1

[REPORT DATA] lineOne, lineTwo, lineThree, notecardLines, notecardRequestKey, notecardLineRequest, currentNoteLine