aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Robust
diff options
context:
space:
mode:
authorMelanie Thielker2017-01-05 19:07:37 +0000
committerMelanie Thielker2017-01-05 19:07:37 +0000
commitb16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch)
tree6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Tests/Robust
parentMake it possible to disable the bakes module in the way it is described in co... (diff)
downloadopensim-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/Tests/Robust')
-rw-r--r--OpenSim/Tests/Robust/Clients/Grid/GridClient.cs4
-rw-r--r--OpenSim/Tests/Robust/Clients/Inventory/InventoryClient.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Tests/Robust/Clients/Grid/GridClient.cs b/OpenSim/Tests/Robust/Clients/Grid/GridClient.cs
index 671aca7..1549851 100644
--- a/OpenSim/Tests/Robust/Clients/Grid/GridClient.cs
+++ b/OpenSim/Tests/Robust/Clients/Grid/GridClient.cs
@@ -95,7 +95,7 @@ namespace Robust.Tests
95 Assert.AreNotEqual(regions, null, "GetRegionsByName failed"); 95 Assert.AreNotEqual(regions, null, "GetRegionsByName failed");
96 Assert.AreEqual(regions.Count, 3, "GetRegionsByName should return 3"); 96 Assert.AreEqual(regions.Count, 3, "GetRegionsByName should return 3");
97 97
98 regions = m_Connector.GetRegionRange(UUID.Zero, 98 regions = m_Connector.GetRegionRange(UUID.Zero,
99 (int)Util.RegionToWorldLoc(900), (int)Util.RegionToWorldLoc(1002), 99 (int)Util.RegionToWorldLoc(900), (int)Util.RegionToWorldLoc(1002),
100 (int)Util.RegionToWorldLoc(900), (int)Util.RegionToWorldLoc(1002) ); 100 (int)Util.RegionToWorldLoc(900), (int)Util.RegionToWorldLoc(1002) );
101 Assert.AreNotEqual(regions, null, "GetRegionRange failed"); 101 Assert.AreNotEqual(regions, null, "GetRegionRange failed");
@@ -126,7 +126,7 @@ namespace Robust.Tests
126 region.ExternalHostName = "127.0.0.1"; 126 region.ExternalHostName = "127.0.0.1";
127 region.HttpPort = 9000; 127 region.HttpPort = 9000;
128 region.InternalEndPoint = new System.Net.IPEndPoint(System.Net.IPAddress.Parse("0.0.0.0"), 9000); 128 region.InternalEndPoint = new System.Net.IPEndPoint(System.Net.IPAddress.Parse("0.0.0.0"), 9000);
129 129
130 return region; 130 return region;
131 } 131 }
132 } 132 }
diff --git a/OpenSim/Tests/Robust/Clients/Inventory/InventoryClient.cs b/OpenSim/Tests/Robust/Clients/Inventory/InventoryClient.cs
index d5c7dcb..fe46a4f 100644
--- a/OpenSim/Tests/Robust/Clients/Inventory/InventoryClient.cs
+++ b/OpenSim/Tests/Robust/Clients/Inventory/InventoryClient.cs
@@ -176,7 +176,7 @@ namespace Robust.Tests
176 Assert.NotNull(items, "(Repeat) Failed to get multiple items"); 176 Assert.NotNull(items, "(Repeat) Failed to get multiple items");
177 Assert.IsTrue(items.Length == 2, "(Repeat) Requested 2 items, but didn't receive 2 items"); 177 Assert.IsTrue(items.Length == 2, "(Repeat) Requested 2 items, but didn't receive 2 items");
178 178
179 // This item doesn't exist, but [0] does, and it's cached. 179 // This item doesn't exist, but [0] does, and it's cached.
180 uuids[1] = new UUID("bb000000-0000-0000-0000-0000000000bb"); 180 uuids[1] = new UUID("bb000000-0000-0000-0000-0000000000bb");
181 // Fetching should return 2 items, but [1] should be null 181 // Fetching should return 2 items, but [1] should be null
182 items = m_Connector.GetMultipleItems(m_userID, uuids); 182 items = m_Connector.GetMultipleItems(m_userID, uuids);
@@ -185,7 +185,7 @@ namespace Robust.Tests
185 Assert.AreEqual("Test Notecard 1", items[0].Name, "(Three times) Wrong name for Notecard 1"); 185 Assert.AreEqual("Test Notecard 1", items[0].Name, "(Three times) Wrong name for Notecard 1");
186 Assert.IsNull(items[1], "(Three times) Expecting 2nd item to be null"); 186 Assert.IsNull(items[1], "(Three times) Expecting 2nd item to be null");
187 187
188 // Now both don't exist 188 // Now both don't exist
189 uuids[0] = new UUID("aa000000-0000-0000-0000-0000000000aa"); 189 uuids[0] = new UUID("aa000000-0000-0000-0000-0000000000aa");
190 items = m_Connector.GetMultipleItems(m_userID, uuids); 190 items = m_Connector.GetMultipleItems(m_userID, uuids);
191 Assert.Null(items[0], "Request to multiple non-existent items is supposed to return null [0]"); 191 Assert.Null(items[0], "Request to multiple non-existent items is supposed to return null [0]");