aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorSean Dague2008-10-15 18:15:40 +0000
committerSean Dague2008-10-15 18:15:40 +0000
commit8e3c10234a748a5794c3fb8fbe1b2822f053406a (patch)
treea579a137ee6ebeccfb3a88b745043121294ced6b /OpenSim
parent* minor: remove some warnings (diff)
downloadopensim-SC-8e3c10234a748a5794c3fb8fbe1b2822f053406a.zip
opensim-SC-8e3c10234a748a5794c3fb8fbe1b2822f053406a.tar.gz
opensim-SC-8e3c10234a748a5794c3fb8fbe1b2822f053406a.tar.bz2
opensim-SC-8e3c10234a748a5794c3fb8fbe1b2822f053406a.tar.xz
Removed some comments
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Data/Tests/BasicUserTest.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs
index ef62a7d..24cb215 100644
--- a/OpenSim/Data/Tests/BasicUserTest.cs
+++ b/OpenSim/Data/Tests/BasicUserTest.cs
@@ -41,7 +41,6 @@ namespace OpenSim.Data.Tests
41{ 41{
42 public class BasicUserTest 42 public class BasicUserTest
43 { 43 {
44 //public UserDataBase db;
45 public IUserDataPlugin db; 44 public IUserDataPlugin db;
46 public UUID user1; 45 public UUID user1;
47 public UUID user2; 46 public UUID user2;
@@ -205,7 +204,7 @@ namespace OpenSim.Data.Tests
205 int tempu1, tempu2; 204 int tempu1, tempu2;
206 db.AddNewUserFriend(user1,user2, 1); 205 db.AddNewUserFriend(user1,user2, 1);
207 db.AddNewUserFriend(user1,user3, 2); 206 db.AddNewUserFriend(user1,user3, 2);
208 db.AddNewUserFriend(user1,user2, 4); //FAILS uniqueness in SQLite 207 db.AddNewUserFriend(user1,user2, 4);
209 List<FriendListItem> fl1 = db.GetUserFriendList(user1); 208 List<FriendListItem> fl1 = db.GetUserFriendList(user1);
210 Assert.That(fl1.Count,Is.EqualTo(2)); 209 Assert.That(fl1.Count,Is.EqualTo(2));
211 perms.Add(user2,1); 210 perms.Add(user2,1);
@@ -213,7 +212,6 @@ namespace OpenSim.Data.Tests
213 for (int i = 0; i < fl1.Count; i++) 212 for (int i = 0; i < fl1.Count; i++)
214 { 213 {
215 Assert.That(user1,Is.EqualTo(fl1[i].FriendListOwner)); 214 Assert.That(user1,Is.EqualTo(fl1[i].FriendListOwner));
216 // MySQL does not guarantee insertion order will be mantained
217 friends.Add(fl1[i].Friend,1); 215 friends.Add(fl1[i].Friend,1);
218 temp = perms[fl1[i].Friend]; 216 temp = perms[fl1[i].Friend];
219 Assert.That(temp,Is.EqualTo(fl1[i].FriendPerms)); 217 Assert.That(temp,Is.EqualTo(fl1[i].FriendPerms));