diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs index 9b7cab2..d652b0d1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs | |||
@@ -160,7 +160,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
160 | // Item has copy permissions so original should stay intact. | 160 | // Item has copy permissions so original should stay intact. |
161 | List<TaskInventoryItem> originalItems = so1.RootPart.Inventory.GetInventoryItems(); | 161 | List<TaskInventoryItem> originalItems = so1.RootPart.Inventory.GetInventoryItems(); |
162 | Assert.That(originalItems.Count, Is.EqualTo(1)); | 162 | Assert.That(originalItems.Count, Is.EqualTo(1)); |
163 | 163 | ||
164 | // Should now have copied. | 164 | // Should now have copied. |
165 | List<TaskInventoryItem> copiedItems = so2.RootPart.Inventory.GetInventoryItems(inventoryItemName); | 165 | List<TaskInventoryItem> copiedItems = so2.RootPart.Inventory.GetInventoryItems(inventoryItemName); |
166 | Assert.That(copiedItems.Count, Is.EqualTo(1)); | 166 | Assert.That(copiedItems.Count, Is.EqualTo(1)); |
@@ -194,7 +194,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
194 | 194 | ||
195 | api.llGiveInventory(user2Id.ToString(), inventoryItemName); | 195 | api.llGiveInventory(user2Id.ToString(), inventoryItemName); |
196 | 196 | ||
197 | InventoryItemBase receivedItem | 197 | InventoryItemBase receivedItem |
198 | = UserInventoryHelpers.GetInventoryItem( | 198 | = UserInventoryHelpers.GetInventoryItem( |
199 | m_scene.InventoryService, user2Id, string.Format("Objects/{0}", inventoryItemName)); | 199 | m_scene.InventoryService, user2Id, string.Format("Objects/{0}", inventoryItemName)); |
200 | 200 | ||
@@ -222,7 +222,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
222 | 222 | ||
223 | // Create an object embedded inside the first | 223 | // Create an object embedded inside the first |
224 | UUID itemId = TestHelpers.ParseTail(0x20); | 224 | UUID itemId = TestHelpers.ParseTail(0x20); |
225 | TaskInventoryItem tii | 225 | TaskInventoryItem tii |
226 | = TaskInventoryHelpers.AddSceneObject(m_scene.AssetService, so1.RootPart, inventoryItemName, itemId, user1Id); | 226 | = TaskInventoryHelpers.AddSceneObject(m_scene.AssetService, so1.RootPart, inventoryItemName, itemId, user1Id); |
227 | tii.NextPermissions &= ~((uint)PermissionMask.Modify); | 227 | tii.NextPermissions &= ~((uint)PermissionMask.Modify); |
228 | 228 | ||
@@ -230,7 +230,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
230 | 230 | ||
231 | api.llGiveInventory(user2Id.ToString(), inventoryItemName); | 231 | api.llGiveInventory(user2Id.ToString(), inventoryItemName); |
232 | 232 | ||
233 | InventoryItemBase receivedItem | 233 | InventoryItemBase receivedItem |
234 | = UserInventoryHelpers.GetInventoryItem( | 234 | = UserInventoryHelpers.GetInventoryItem( |
235 | m_scene.InventoryService, user2Id, string.Format("Objects/{0}", inventoryItemName)); | 235 | m_scene.InventoryService, user2Id, string.Format("Objects/{0}", inventoryItemName)); |
236 | 236 | ||