aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-25 18:32:39 +0000
committerJustin Clarke Casey2009-02-25 18:32:39 +0000
commit50dcd66896aa9d2f03193fb13ce0e74a8d88726f (patch)
tree620b9d4c0b3c6b64c20ee3ad5634e56d3fa6cdf3 /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
parent* Add InventoryArchiveConstants that I missed from last commit (diff)
downloadopensim-SC_OLD-50dcd66896aa9d2f03193fb13ce0e74a8d88726f.zip
opensim-SC_OLD-50dcd66896aa9d2f03193fb13ce0e74a8d88726f.tar.gz
opensim-SC_OLD-50dcd66896aa9d2f03193fb13ce0e74a8d88726f.tar.bz2
opensim-SC_OLD-50dcd66896aa9d2f03193fb13ce0e74a8d88726f.tar.xz
* Fix my own unit test
* Disable folder iar creation code for now (though this wasn't actually causing the test failure)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
index dafce81..cb613f7 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
@@ -128,7 +128,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
128 bool gotObject1File = false; 128 bool gotObject1File = false;
129 //bool gotObject2File = false; 129 //bool gotObject2File = false;
130 string expectedObject1FilePath = string.Format( 130 string expectedObject1FilePath = string.Format(
131 "{0}{1}_{2}.xml", 131 "{0}{1}{2}_{3}.xml",
132 InventoryArchiveConstants.INVENTORY_PATH,
132 "Objects/", 133 "Objects/",
133 item1.Name, 134 item1.Name,
134 item1Id); 135 item1Id);
@@ -151,7 +152,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
151 gotControlFile = true; 152 gotControlFile = true;
152 } 153 }
153 */ 154 */
154 if (filePath.StartsWith("Objects/") && filePath.EndsWith(".xml")) 155 if (filePath.StartsWith(InventoryArchiveConstants.INVENTORY_PATH) && filePath.EndsWith(".xml"))
155 { 156 {
156 //string fileName = filePath.Remove(0, "Objects/".Length); 157 //string fileName = filePath.Remove(0, "Objects/".Length);
157 158