aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Tests
diff options
context:
space:
mode:
authorDiva Canto2015-08-08 12:56:52 -0700
committerDiva Canto2015-08-08 12:56:52 -0700
commit2c9ffc2a876bf97ecdcc30d57d424341c3ca0a85 (patch)
treec2fbf84ab95a18cf5fdcbd137835969ebdb331b2 /OpenSim/Framework/Tests
parentWARNING: massive refactor to follow libomv's latest changes regarding invento... (diff)
downloadopensim-SC-2c9ffc2a876bf97ecdcc30d57d424341c3ca0a85.zip
opensim-SC-2c9ffc2a876bf97ecdcc30d57d424341c3ca0a85.tar.gz
opensim-SC-2c9ffc2a876bf97ecdcc30d57d424341c3ca0a85.tar.bz2
opensim-SC-2c9ffc2a876bf97ecdcc30d57d424341c3ca0a85.tar.xz
Fixed failing test
Diffstat (limited to 'OpenSim/Framework/Tests')
-rw-r--r--OpenSim/Framework/Tests/UtilTest.cs19
1 files changed, 5 insertions, 14 deletions
diff --git a/OpenSim/Framework/Tests/UtilTest.cs b/OpenSim/Framework/Tests/UtilTest.cs
index 960f5d8..cfe3139 100644
--- a/OpenSim/Framework/Tests/UtilTest.cs
+++ b/OpenSim/Framework/Tests/UtilTest.cs
@@ -173,8 +173,8 @@ namespace OpenSim.Framework.Tests
173 [Test] 173 [Test]
174 public void SLUtilTypeConvertTests() 174 public void SLUtilTypeConvertTests()
175 { 175 {
176 int[] assettypes = new int[]{-1,0,1,2,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22 176 int[] assettypes = new int[]{-1,0,1,2,3,5,6,7,8,10,11,12,13,17,18,19,20,21,22
177 ,23,24,25,46,47,48}; 177 ,24,25};
178 string[] contenttypes = new string[] 178 string[] contenttypes = new string[]
179 { 179 {
180 "application/octet-stream", 180 "application/octet-stream",
@@ -186,26 +186,18 @@ namespace OpenSim.Framework.Tests
186 "application/vnd.ll.primitive", 186 "application/vnd.ll.primitive",
187 "application/vnd.ll.notecard", 187 "application/vnd.ll.notecard",
188 "application/vnd.ll.folder", 188 "application/vnd.ll.folder",
189 "application/vnd.ll.rootfolder",
190 "application/vnd.ll.lsltext", 189 "application/vnd.ll.lsltext",
191 "application/vnd.ll.lslbyte", 190 "application/vnd.ll.lslbyte",
192 "image/tga", 191 "image/tga",
193 "application/vnd.ll.bodypart", 192 "application/vnd.ll.bodypart",
194 "application/vnd.ll.trashfolder",
195 "application/vnd.ll.snapshotfolder",
196 "application/vnd.ll.lostandfoundfolder",
197 "audio/x-wav", 193 "audio/x-wav",
198 "image/tga", 194 "image/tga",
199 "image/jpeg", 195 "image/jpeg",
200 "application/vnd.ll.animation", 196 "application/vnd.ll.animation",
201 "application/vnd.ll.gesture", 197 "application/vnd.ll.gesture",
202 "application/x-metaverse-simstate", 198 "application/x-metaverse-simstate",
203 "application/vnd.ll.favoritefolder",
204 "application/vnd.ll.link", 199 "application/vnd.ll.link",
205 "application/vnd.ll.linkfolder", 200 "application/vnd.ll.linkfolder",
206 "application/vnd.ll.currentoutfitfolder",
207 "application/vnd.ll.outfitfolder",
208 "application/vnd.ll.myoutfitsfolder"
209 }; 201 };
210 for (int i=0;i<assettypes.Length;i++) 202 for (int i=0;i<assettypes.Length;i++)
211 { 203 {
@@ -223,7 +215,7 @@ namespace OpenSim.Framework.Tests
223 String.Format("Incorrect AssetType mapped from Content-Type {0}", contenttypes[i])); 215 String.Format("Incorrect AssetType mapped from Content-Type {0}", contenttypes[i]));
224 } 216 }
225 217
226 int[] inventorytypes = new int[] {-1,0,1,2,3,6,7,8,9,10,15,17,18,20}; 218 int[] inventorytypes = new int[] {-1,0,1,2,3,6,7,8,10,15,17,18,20};
227 string[] invcontenttypes = new string[] 219 string[] invcontenttypes = new string[]
228 { 220 {
229 "application/octet-stream", 221 "application/octet-stream",
@@ -233,7 +225,6 @@ namespace OpenSim.Framework.Tests
233 "application/vnd.ll.landmark", 225 "application/vnd.ll.landmark",
234 "application/vnd.ll.primitive", 226 "application/vnd.ll.primitive",
235 "application/vnd.ll.notecard", 227 "application/vnd.ll.notecard",
236 "application/vnd.ll.folder",
237 "application/vnd.ll.rootfolder", 228 "application/vnd.ll.rootfolder",
238 "application/vnd.ll.lsltext", 229 "application/vnd.ll.lsltext",
239 "image/x-j2c", 230 "image/x-j2c",
@@ -272,8 +263,8 @@ namespace OpenSim.Framework.Tests
272 }; 263 };
273 sbyte[] invtypes = new sbyte[] 264 sbyte[] invtypes = new sbyte[]
274 { 265 {
275 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 18, 18, 18, 18, 6, 6, 7, 7, 8, 9, 10, 10, 10, 10 266 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 18, 18, 18, 18, 6, 6, 7, 7, -1, 8, 10, 10, 10, 10
276 , 8, 8, 8, 19, 19, 20, 20, 15, -1 267 , 14, 15, 16, 19, 19, 20, 20, 15, -1
277 }; 268 };
278 269
279 for (int i = 0; i < invtypes.Length; i++) 270 for (int i = 0; i < invtypes.Length; i++)