diff options
author | Sean Dague | 2008-10-16 15:58:03 +0000 |
---|---|---|
committer | Sean Dague | 2008-10-16 15:58:03 +0000 |
commit | b9a736f0b8950c9e2481fade014b6014f7dba68b (patch) | |
tree | b65a26c0605d14d67a92ce99bd1b7fecff8e7c01 /OpenSim | |
parent | - Removed debug print method (diff) | |
download | opensim-SC-b9a736f0b8950c9e2481fade014b6014f7dba68b.zip opensim-SC-b9a736f0b8950c9e2481fade014b6014f7dba68b.tar.gz opensim-SC-b9a736f0b8950c9e2481fade014b6014f7dba68b.tar.bz2 opensim-SC-b9a736f0b8950c9e2481fade014b6014f7dba68b.tar.xz |
- Removed a Console.Writeline and added a Test that will be changed
if the last commit is accepted
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Tests/BasicUserTest.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs index c12b2d5..d22262d 100644 --- a/OpenSim/Data/Tests/BasicUserTest.cs +++ b/OpenSim/Data/Tests/BasicUserTest.cs | |||
@@ -219,8 +219,13 @@ namespace OpenSim.Data.Tests | |||
219 | UserAgentData a4 = NewAgent(zero,agent4); | 219 | UserAgentData a4 = NewAgent(zero,agent4); |
220 | db.AddNewUserAgent(a0); | 220 | db.AddNewUserAgent(a0); |
221 | db.AddNewUserAgent(a4); | 221 | db.AddNewUserAgent(a4); |
222 | Assert.That(db.GetAgentByUUID(user4),Is.Null); | 222 | |
223 | Assert.That(db.GetAgentByUUID(zero),Is.Null); | 223 | UserAgentData a0a = db.GetAgentByUUID(user4); |
224 | UserAgentData a4a = db.GetAgentByUUID(zero); | ||
225 | Assert.That(zero,Is.EqualTo(a0a.SessionID)); | ||
226 | Assert.That(user4,Is.EqualTo(a0a.ProfileID)); | ||
227 | Assert.That(agent4,Is.EqualTo(a4a.SessionID)); | ||
228 | Assert.That(zero,Is.EqualTo(a4a.ProfileID)); | ||
224 | } | 229 | } |
225 | 230 | ||
226 | [Test] | 231 | [Test] |