Deed Test

From Second Life Wiki
Revision as of 15:27, 26 April 2007 by Milo Linden (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

[DEEDTEST]

[VERSION] 0.1

[LENGTH] 00:45

[TESTERS] 2

[OVERVIEW] This test has been designed to the basic functionality related to Deeding.

[SETUP] This test requires 2 people with 512m2 land allocations and 1 person who isn't a member of Tester 1 or Tester 2's test group. This test also requires another account, perhaps an alt, for one step near the end. It might be better to use an alt instead of having to go find one more person for that step. Tester 1: Create a new group and invite UserB to the group as a member. Tester 2: Accept the invitation to the group.

[*]

[Deed Land]

[0010] Tester 2: Claim a 16m2 parcel of land and name it "PARCEL X".

[0020] Tester 2: Open the About Land floater for the parcel.

[0030] Tester 2: Set the group to your new group and check the "Allow Deed to Group" box.

[0040] Tester 2: Verify you cannot deed the land. (because you are not an officer of that group)

[0050] Tester 2: Claim an adjacent parcel of land (16 m2), name it "PARCEL Y", and set it to your new group.

[0060] Tester 1: Attempt to deed "PARCEL X". Verify you receive an error - "Deeding parcel failed because the group does not have enough land credits."

[0070] Tester 2: Check the the "Make Contribution With Deed" box in the About Land floater.

[0080] Tester 1: Attempt to deed "PARCEL X" again. Verify the deed succeeds.

[0090] Tester 1: Open you group info and change your land contribution to 16m2.

[0100] Tester 2: Turn Allow Deed on for "PARCEL Y".

[0110] Tester 1: Deed "PARCEL Y" to your group.

[0120] Tester 1: Verify that ownership of both parcels are set to the group. Verify the color of both parcels have changed to teal

[0130] Tester 1: Fly across a sim boundary, and fly back. Verify the land property outlines are the correct color. Green = your land, teal = land deeded to one of your groups, red = land claimed by someone else. Verify that the land info in the hover popup is correct.

[0140] Tester 1&2: Verify your group Land balance and Your contribution appears correct. UserB? should have a contribution of 15, and UserA? should have a contribution of 16.

[*]

[Land Editing]

[0150] Tester 1: Verify you can edit the land both with and without "Edit Land" enabled for the parcel.

[0160] Tester 2: Verify you cannot change any options in the land floater for the deeded land (you are a puny member)

[0170] Tester 2: Verify you can edit the land only if "Edit Land" is enabled for the parcel.

[*]

[Deleting Objects On Group Owned Land]

[0180] Tester 2: Make 2 boxes on the land

[0190] Tester 1: Verify that you can delete a box and return a box (because you are an officer of the group owning the land)

[0200] Tester 1: Make a box on the group land

[0210] Tester 2: Verify that you cannot delete the box (because you are a not an officer of the group owning the land)

[*]

[Land Access]

[0220] Tester 1: Set the access of the parcel to allow your group only.

[0230] Tester 1: Sell passes to allow temporary access.

[0240] Tester 1: Ban Tester 2 from entering the parcel

[0250] Tester 2: Verify you are banned from the parcel. Verify you cannot change any of the parcel options (because you are a mere member)

[0260] Tester 1: Invite Tester 2 into the group again, this time as an officer. Tester 2, accept the invite.

[0270] Tester 2: Verify you can modify the parcel options, remove yourself from the ban list, etc.

[0280] Tester 2: Leave the group. Verify you cannot change any of the parcel options.

[0290] Tester 1: Set the parcel for sale.

[0300] Tester 2: Buy the parcel. Verify all the previous parcel properties are still present, but have been unchecked.

[*]

[Deed Object]

[0310] Tester 1: Invite Tester 2 into the group as an member. UserB?, accept the invite.

[0320] Tester 2: Make 2 boxes.

[0330] Tester 2: Turn on "Share With Group" for the boxes.

[0340] Tester 2: Set next owner permissions to modify, so that modify is allowed after deeding to the group

[0350] Tester 1: Deed the boxes to the group. (currently in the tools menu)

[0360] Tester 1: Verify the boxes are owned by a group and not an individual

[0370] Tester 1&2: Verify both users can modify the boxes (Make sure objects are Full permissions...I will update this later when I have the time...group owned objects can be moved, modified and/or copied. The permissions for Group appear as 'G' when debug permissions are activated.)

[0380] Tester 1: Delete the boxes. Verify you receive a yes/no confirmation message before deleting these group owned boxes.

[0390] Tester 2: Make two boxes and make them deedable. Set one box for sale (original), and the other for sale (copy)

[0400] Tester 2: Make sure that next owner resell/give away is set for the boxes (You need to set next "Copy" to resell copies).

[0410] Tester 1: Deed the boxes. Reset the for sale flags on the boxes

[0420] Tester 2: Verify you can buy the boxes.

[0430] Tester 1: Verify the group received money from the purchase. Verify by using the Money tab in the group info floater.

[0440] Tester 1: Make a sphere, set it group modifyable (and next owner modify) and deed it to the group.

[0450] Tester 3: (who isn't a member of the group): Verify that you cannot take the sphere. Verify that you cannot delete the sphere.

[*]

[llRezObject Should Succeed On Deeded Object]

[0460] Tester 1: Make a cone, and in the Objects Tab, choose 'New Script'.

[SCRIPT] llRezObjectScript

[0460.0010] Tester 1: Copy the text from the notecard you were just offered into your 'New Script'.

[0460.0020] Tester 1: Save and close the script.

[0460.0030] Tester 1: Drop an object named "Object" into the cone and deed the cone to the group.

[0460.0040] Tester 1: Click the cone to rez an object.

[0460.0050] Tester 1: Verify the the object rezs an object, and that the rezzed object is owned by the group.

[*]

[llGiveMoney Should Fail On Deeded Object]

[0470] Tester 1: Make a cone, select the object tab, and click 'New Script'.

[SCRIPT] llGiveMoneyScript

[0470.0010] Tester 1: Copy the text from the notecard you were just offered into your 'New Script'.

[0470.0020] Tester 1: Save and close the script.

[0470.0030] Tester 1: Accept the Debit permissions.

[0470.0040] Tester 1: Deed the cone to the group.

[0471] Tester 2: Click the cone to receive $5 from Tester 1.

[0471.0010] Tester 2: Verify the the object fails to give you $5, because llGiveMoney should fail on deeded object.

[*]

[money Event should Work On Deeded Object]

[0480] Tester 1: Make a cone, and in the Objects Tab, choose 'New Script'.

[SCRIPT] llPayGroupViaObjectScript

[0480.0010] Tester 1: Copy the text from the notecard you were just offered into your 'New Script'.

[0480.0020] Tester 1: Save and close the script.

[0480:0030] Tester 1: Deed the cone to the group.

[0490] Tester 2: Pay the cone.

[0500] Tester 1: Verify the group received the money.

[END]


[llRezObjectScript]

default
{
    touch_start(integer num_detected)
    {
        llRezObject("Object", llGetPos() + <0,0,1>, ZERO_VECTOR, ZERO_ROTATION, 0);
    }
}


[llGiveMoneyScript]

default
{
    state_entry()
    {
        llRequestPermissions(llGetOwner(), PERMISSION_DEBIT);
    }
    touch_start(integer num_detected)
    {
        llGiveMoney(llDetectedKey(num_detected - 1), 5);
    }
}


[llPayGroupViaObjectScript]

default
{
    money(key id, integer amount)
    {
        llSay(0, llKey2Name(id)+" paid "+(string)amount);
    }
}