diff options
author | Jeff Ames | 2008-05-14 05:11:23 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-14 05:11:23 +0000 |
commit | c995d60d37032db3198b8496e186aa7a892dc7a8 (patch) | |
tree | 826147e66f61c812897d9b0acdb16ebfeb30d4d3 /OpenSim/Tests/Inventory | |
parent | * Added 3 warnings in response to the warnings. Adam, read the warnings. (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Tests/Inventory/TestInventory.cs | 7 |
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"); |