Massive tab and trailing space cleanup

This commit is contained in:
Melanie Thielker
2017-01-05 19:07:37 +00:00
parent e88e2945e9
commit b16abc8166
959 changed files with 23646 additions and 23646 deletions

View File

@@ -96,7 +96,7 @@ namespace OpenSim.Framework.Tests
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_FOOT_SIZE] = 45;
// head
// head
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_HEAD_SIZE] = 255;
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_SQUASH_STRETCH_HEAD] = 0; // head stretch
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_HEAD_SHAPE] = 155;
@@ -106,7 +106,7 @@ namespace OpenSim.Framework.Tests
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_FACE_SHEAR] = 127;
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_FOREHEAD_ANGLE] = 104;
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_BIG_BROW] = 94;
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_PUFFY_UPPER_CHEEKS] = 0; // upper cheeks
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_PUFFY_UPPER_CHEEKS] = 0; // upper cheeks
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_DOUBLE_CHIN] = 122; // lower cheeks
VisualParams[(int)AvatarAppearance.VPElement.SHAPE_HIGH_CHEEK_BONES] = 130;
@@ -232,7 +232,7 @@ namespace OpenSim.Framework.Tests
/// <summary>
/// Test to ensure that the serialization format is the same and the underlying types don't change without notice
/// oldSerialization is just a json serialization of the OSDMap packed for the AgentCircuitData.
/// The idea is that if the current json serializer cannot parse the old serialization, then the underlying types
/// The idea is that if the current json serializer cannot parse the old serialization, then the underlying types
/// have changed and are incompatible.
/// </summary>
[Test]
@@ -319,7 +319,7 @@ namespace OpenSim.Framework.Tests
string str = OSDParser.SerializeJsonString(map);
//System.Console.WriteLine(str);
map2 = (OSDMap) OSDParser.DeserializeJson(str);
}
}
catch (System.NullReferenceException)
{
//spurious litjson errors :P

View File

@@ -183,7 +183,7 @@ namespace OpenSim.Framework.Tests
resp = agentCircuitManager.AuthenticateSession(UUID.Random(), AgentId1, circuitcode1);
Assert.That(!resp.Authorised);
resp = agentCircuitManager.AuthenticateSession(SessionId1, AgentId1, circuitcode2);
Assert.That(!resp.Authorised);

View File

@@ -84,7 +84,7 @@ namespace OpenSim.Framework.Tests
anim4.AnimID = anim2.AnimID;
anim4.ObjectID = anim2.ObjectID;
anim4.SequenceNum = anim2.SequenceNum;
Assert.That(anim4.ObjectID == objUUID2 && anim4.AnimID == animUUID2 && anim4.SequenceNum == 1, "void constructor and manual field population failed to set the properties correctly.");
}
}

View File

@@ -70,7 +70,7 @@ namespace OpenSim.Framework.Tests
Assert.That(citem == null, "Item should not be in Cache");
}
[Test]
public void ExpireItemManually()
{
@@ -96,7 +96,7 @@ namespace OpenSim.Framework.Tests
cachedItem.Store(foo);
cache.Store(cacheItemUUID.ToString(), cachedItem);
cache.Clear();
object citem = cache.Get(cacheItemUUID.ToString());
Assert.That(citem == null, "Item should not be in Cache because we manually invalidated it");
}

View File

@@ -85,6 +85,6 @@ namespace OpenSim.Framework.Tests
Assert.That(TestLocation2.Equals(cln), "Cloned object failed .Equals(obj) Test");
}
}
}

View File

@@ -110,7 +110,7 @@ namespace OpenSim.Framework.Tests
&& position2.Center == position1.Center
&& position2.RegionHandle == position1.RegionHandle
&& position2.Far == position1.Far
,"Copy From ChildAgentDataUpdate failed");
position2 = new AgentPosition();
@@ -148,13 +148,13 @@ namespace OpenSim.Framework.Tests
// string time = settings.LoadedCreationTime;
Assert.That(m_RegionSettingsOnSaveEventFired, "RegionSettings Save Event didn't Fire");
}
public void RegionSaveFired(RegionSettings settings)
{
m_RegionSettingsOnSaveEventFired = true;
}
[Test]
public void InventoryItemBaseConstructorTest01()
{
@@ -164,7 +164,7 @@ namespace OpenSim.Framework.Tests
UUID ItemID = UUID.Random();
UUID OwnerID = UUID.Random();
InventoryItemBase b2 = new InventoryItemBase(ItemID);
Assert.That(b2.ID == ItemID, "ID constructor should create an inventory item with ID = ItemID");
Assert.That(b2.Owner == UUID.Zero, "ID constructor should create an inventory item with Owner = UUID.Zero");
@@ -268,7 +268,7 @@ namespace OpenSim.Framework.Tests
Assert.That(fld.ID == uuid1, "ID,Owner constructor failed to save value in ID field.");
Assert.That(fld.Owner == uuid2, "ID,Owner constructor failed to save value in ID field.");
}
[Test]
public void AsssetBaseConstructorTest01()
{
@@ -304,6 +304,6 @@ namespace OpenSim.Framework.Tests
Culture.SetCurrentCulture();
Assert.That(Thread.CurrentThread.CurrentCulture.Name == ci.Name, "SetCurrentCulture failed to set thread culture to en-US");
}
}
}
}

View File

@@ -127,9 +127,9 @@ namespace OpenSim.Framework.Tests
int[] nonprimes = {
4, 6, 8, 10, 14, 16, 18, 22, 28, 30, 36, 40, 42, 46, 52, 58, 60, 66, 70, 72, 78, 82, 88,
96, 366, 372, 378, 382, 388, 396, 400, 408, 418, 420, 430, 432, 438, 442, 448, 456, 460, 462,
466, 478, 486, 490, 498, 502, 508, 856, 858, 862, 876, 880, 882, 886, 906, 910, 918, 928, 936,
940, 946, 952, 966, 970, 976, 982, 990, 996, 1008, 1740, 1746, 1752, 1758, 4650, 4656, 4662,
96, 366, 372, 378, 382, 388, 396, 400, 408, 418, 420, 430, 432, 438, 442, 448, 456, 460, 462,
466, 478, 486, 490, 498, 502, 508, 856, 858, 862, 876, 880, 882, 886, 906, 910, 918, 928, 936,
940, 946, 952, 966, 970, 976, 982, 990, 996, 1008, 1740, 1746, 1752, 1758, 4650, 4656, 4662,
4672, 4678, 4690, 7740, 7752, 7756, 7758, 7788, 7792, 7816, 7822, 7828, 7840, 7852, 7866, 7872,
7876, 7878, 7882, 7900, 7906, 7918
};

View File

@@ -233,7 +233,7 @@ namespace OpenSim.Framework.Tests
"application/vnd.ll.clothing",
"application/vnd.ll.gesture"
};
for (int i=0;i<inventorytypes.Length;i++)
{
Assert.AreEqual(invcontenttypes[i], SLUtil.SLInvTypeToContentType(inventorytypes[i]),