aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Inventory/TestInventory.cs
diff options
context:
space:
mode:
authorJeff Ames2008-05-14 05:11:23 +0000
committerJeff Ames2008-05-14 05:11:23 +0000
commitc995d60d37032db3198b8496e186aa7a892dc7a8 (patch)
tree826147e66f61c812897d9b0acdb16ebfeb30d4d3 /OpenSim/Tests/Inventory/TestInventory.cs
parent* Added 3 warnings in response to the warnings. Adam, read the warnings. (diff)
downloadopensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.zip
opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.gz
opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.bz2
opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.xz
Formatting cleanup.
Diffstat (limited to 'OpenSim/Tests/Inventory/TestInventory.cs')
-rw-r--r--OpenSim/Tests/Inventory/TestInventory.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Tests/Inventory/TestInventory.cs b/OpenSim/Tests/Inventory/TestInventory.cs
index c1351d9..3083c89 100644
--- a/OpenSim/Tests/Inventory/TestInventory.cs
+++ b/OpenSim/Tests/Inventory/TestInventory.cs
@@ -147,13 +147,12 @@ namespace OpenSim.Test.Inventory
147 Assert.IsNotNull(folders, "Failed to get rootfolders for user"); 147 Assert.IsNotNull(folders, "Failed to get rootfolders for user");
148 148
149 bool foundRoot = false; 149 bool foundRoot = false;
150 foreach(InventoryFolderBase f in folders) { 150 foreach (InventoryFolderBase f in folders)
151 151 {
152 // a root folder has a zero valued LLUUID 152 // a root folder has a zero valued LLUUID
153 Assert.AreEqual(f.parentID, LLUUID.Zero, "non root folder returned"); 153 Assert.AreEqual(f.parentID, LLUUID.Zero, "non root folder returned");
154 154
155 155 if (f.agentID == root.agentID)
156 if(f.agentID == root.agentID)
157 { 156 {
158 // we cannot have two different user specific root folders 157 // we cannot have two different user specific root folders
159 Assert.IsFalse(foundRoot, "Two different user specific root folders returned"); 158 Assert.IsFalse(foundRoot, "Two different user specific root folders returned");