diff options
author | Sean Dague | 2008-10-15 18:15:46 +0000 |
---|---|---|
committer | Sean Dague | 2008-10-15 18:15:46 +0000 |
commit | 63ef14bd8c5024eadf00fae50c12749b2a7fbf31 (patch) | |
tree | d82e5ecee3fb2d34d98d6c118661ecc29f0cf611 | |
parent | - Removed a Console.Writeline and added a Test that will be changed (diff) | |
download | opensim-SC_OLD-63ef14bd8c5024eadf00fae50c12749b2a7fbf31.zip opensim-SC_OLD-63ef14bd8c5024eadf00fae50c12749b2a7fbf31.tar.gz opensim-SC_OLD-63ef14bd8c5024eadf00fae50c12749b2a7fbf31.tar.bz2 opensim-SC_OLD-63ef14bd8c5024eadf00fae50c12749b2a7fbf31.tar.xz |
- Added User Appearance Set and Get tests
-rw-r--r-- | OpenSim/Data/Tests/BasicUserTest.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs index 1537d67..5d798d3 100644 --- a/OpenSim/Data/Tests/BasicUserTest.cs +++ b/OpenSim/Data/Tests/BasicUserTest.cs | |||
@@ -282,6 +282,16 @@ namespace OpenSim.Data.Tests | |||
282 | fl1 = db.GetUserFriendList(user1); | 282 | fl1 = db.GetUserFriendList(user1); |
283 | Assert.That(fl1[0].FriendPerms,Is.EqualTo(4)); | 283 | Assert.That(fl1[0].FriendPerms,Is.EqualTo(4)); |
284 | } | 284 | } |
285 | |||
286 | [Test] | ||
287 | public void T040_UserAppearance() | ||
288 | { | ||
289 | AvatarAppearance appear = new AvatarAppearance(); | ||
290 | appear.Owner = user1; | ||
291 | db.UpdateUserAppearance(user1, appear); | ||
292 | AvatarAppearance user1app = db.GetUserAppearance(user1); | ||
293 | Assert.That(user1,Is.EqualTo(user1app.Owner)); | ||
294 | } | ||
285 | 295 | ||
286 | public UserProfileData NewUser(UUID id,string fname,string lname) | 296 | public UserProfileData NewUser(UUID id,string fname,string lname) |
287 | { | 297 | { |