Fixed failing test
parent
959872315f
commit
2c9ffc2a87
|
@ -173,8 +173,8 @@ namespace OpenSim.Framework.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void SLUtilTypeConvertTests()
|
public void SLUtilTypeConvertTests()
|
||||||
{
|
{
|
||||||
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
|
int[] assettypes = new int[]{-1,0,1,2,3,5,6,7,8,10,11,12,13,17,18,19,20,21,22
|
||||||
,23,24,25,46,47,48};
|
,24,25};
|
||||||
string[] contenttypes = new string[]
|
string[] contenttypes = new string[]
|
||||||
{
|
{
|
||||||
"application/octet-stream",
|
"application/octet-stream",
|
||||||
|
@ -186,26 +186,18 @@ namespace OpenSim.Framework.Tests
|
||||||
"application/vnd.ll.primitive",
|
"application/vnd.ll.primitive",
|
||||||
"application/vnd.ll.notecard",
|
"application/vnd.ll.notecard",
|
||||||
"application/vnd.ll.folder",
|
"application/vnd.ll.folder",
|
||||||
"application/vnd.ll.rootfolder",
|
|
||||||
"application/vnd.ll.lsltext",
|
"application/vnd.ll.lsltext",
|
||||||
"application/vnd.ll.lslbyte",
|
"application/vnd.ll.lslbyte",
|
||||||
"image/tga",
|
"image/tga",
|
||||||
"application/vnd.ll.bodypart",
|
"application/vnd.ll.bodypart",
|
||||||
"application/vnd.ll.trashfolder",
|
|
||||||
"application/vnd.ll.snapshotfolder",
|
|
||||||
"application/vnd.ll.lostandfoundfolder",
|
|
||||||
"audio/x-wav",
|
"audio/x-wav",
|
||||||
"image/tga",
|
"image/tga",
|
||||||
"image/jpeg",
|
"image/jpeg",
|
||||||
"application/vnd.ll.animation",
|
"application/vnd.ll.animation",
|
||||||
"application/vnd.ll.gesture",
|
"application/vnd.ll.gesture",
|
||||||
"application/x-metaverse-simstate",
|
"application/x-metaverse-simstate",
|
||||||
"application/vnd.ll.favoritefolder",
|
|
||||||
"application/vnd.ll.link",
|
"application/vnd.ll.link",
|
||||||
"application/vnd.ll.linkfolder",
|
"application/vnd.ll.linkfolder",
|
||||||
"application/vnd.ll.currentoutfitfolder",
|
|
||||||
"application/vnd.ll.outfitfolder",
|
|
||||||
"application/vnd.ll.myoutfitsfolder"
|
|
||||||
};
|
};
|
||||||
for (int i=0;i<assettypes.Length;i++)
|
for (int i=0;i<assettypes.Length;i++)
|
||||||
{
|
{
|
||||||
|
@ -223,7 +215,7 @@ namespace OpenSim.Framework.Tests
|
||||||
String.Format("Incorrect AssetType mapped from Content-Type {0}", contenttypes[i]));
|
String.Format("Incorrect AssetType mapped from Content-Type {0}", contenttypes[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
int[] inventorytypes = new int[] {-1,0,1,2,3,6,7,8,9,10,15,17,18,20};
|
int[] inventorytypes = new int[] {-1,0,1,2,3,6,7,8,10,15,17,18,20};
|
||||||
string[] invcontenttypes = new string[]
|
string[] invcontenttypes = new string[]
|
||||||
{
|
{
|
||||||
"application/octet-stream",
|
"application/octet-stream",
|
||||||
|
@ -233,7 +225,6 @@ namespace OpenSim.Framework.Tests
|
||||||
"application/vnd.ll.landmark",
|
"application/vnd.ll.landmark",
|
||||||
"application/vnd.ll.primitive",
|
"application/vnd.ll.primitive",
|
||||||
"application/vnd.ll.notecard",
|
"application/vnd.ll.notecard",
|
||||||
"application/vnd.ll.folder",
|
|
||||||
"application/vnd.ll.rootfolder",
|
"application/vnd.ll.rootfolder",
|
||||||
"application/vnd.ll.lsltext",
|
"application/vnd.ll.lsltext",
|
||||||
"image/x-j2c",
|
"image/x-j2c",
|
||||||
|
@ -272,8 +263,8 @@ namespace OpenSim.Framework.Tests
|
||||||
};
|
};
|
||||||
sbyte[] invtypes = new sbyte[]
|
sbyte[] invtypes = new sbyte[]
|
||||||
{
|
{
|
||||||
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
|
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
|
||||||
, 8, 8, 8, 19, 19, 20, 20, 15, -1
|
, 14, 15, 16, 19, 19, 20, 20, 15, -1
|
||||||
};
|
};
|
||||||
|
|
||||||
for (int i = 0; i < invtypes.Length; i++)
|
for (int i = 0; i < invtypes.Length; i++)
|
||||||
|
|
Loading…
Reference in New Issue