diff options
author | Sean Dague | 2008-12-03 19:19:51 +0000 |
---|---|---|
committer | Sean Dague | 2008-12-03 19:19:51 +0000 |
commit | 95de4717b657d4f10d1b7b4e36d1e78bcf4e192f (patch) | |
tree | 15d04f98548e5e14beb69eadc32128d07dea5588 /OpenSim/Data/Tests | |
parent | * Locked some RemoteAdmin methods due to racing condition bad behavior. (diff) | |
download | opensim-SC_OLD-95de4717b657d4f10d1b7b4e36d1e78bcf4e192f.zip opensim-SC_OLD-95de4717b657d4f10d1b7b4e36d1e78bcf4e192f.tar.gz opensim-SC_OLD-95de4717b657d4f10d1b7b4e36d1e78bcf4e192f.tar.bz2 opensim-SC_OLD-95de4717b657d4f10d1b7b4e36d1e78bcf4e192f.tar.xz |
* Minor test correction, comment removal
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 1 | ||||
-rw-r--r-- | OpenSim/Data/Tests/BasicUserTest.cs | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index fc86707..a38a15f 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -476,7 +476,6 @@ namespace OpenSim.Data.Tests | |||
476 | Dictionary<UUID, SceneObjectPart> mydic = new Dictionary<UUID, SceneObjectPart>(); | 476 | Dictionary<UUID, SceneObjectPart> mydic = new Dictionary<UUID, SceneObjectPart>(); |
477 | SceneObjectGroup sog = NewSOG("Test SOG",id); | 477 | SceneObjectGroup sog = NewSOG("Test SOG",id); |
478 | mydic.Add(sog.RootPart.UUID,sog.RootPart); | 478 | mydic.Add(sog.RootPart.UUID,sog.RootPart); |
479 | Console.WriteLine("Let's Start!"); | ||
480 | for (int i=0;i<30;i++) | 479 | for (int i=0;i<30;i++) |
481 | { | 480 | { |
482 | UUID tmp = UUID.Random(); | 481 | UUID tmp = UUID.Random(); |
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs index bfe5976..e7e6b84 100644 --- a/OpenSim/Data/Tests/BasicUserTest.cs +++ b/OpenSim/Data/Tests/BasicUserTest.cs | |||
@@ -142,7 +142,6 @@ namespace OpenSim.Data.Tests | |||
142 | Assert.That(user3,Is.EqualTo(u3a.ID)); | 142 | Assert.That(user3,Is.EqualTo(u3a.ID)); |
143 | 143 | ||
144 | // and one email test | 144 | // and one email test |
145 | Assert.That(u1.Email, Is.EqualTo(u1a.Email)); | ||
146 | Assert.That(u3.Email, Is.Null); | 145 | Assert.That(u3.Email, Is.Null); |
147 | } | 146 | } |
148 | 147 | ||
@@ -658,7 +657,7 @@ namespace OpenSim.Data.Tests | |||
658 | u.FirstName = fname; | 657 | u.FirstName = fname; |
659 | u.SurName = lname; | 658 | u.SurName = lname; |
660 | u.PasswordHash = "NOTAHASH"; | 659 | u.PasswordHash = "NOTAHASH"; |
661 | u.PasswordSalt = "NOTSALT"; | 660 | u.PasswordSalt = "NOTSALT"; |
662 | // MUST specify at least these 5 parameters or an exception is raised | 661 | // MUST specify at least these 5 parameters or an exception is raised |
663 | 662 | ||
664 | return u; | 663 | return u; |