diff options
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/Tests/BasicUserTest.cs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs index 30d4d45..5b82b3b 100644 --- a/OpenSim/Data/Tests/BasicUserTest.cs +++ b/OpenSim/Data/Tests/BasicUserTest.cs | |||
@@ -126,7 +126,6 @@ namespace OpenSim.Data.Tests | |||
126 | UserProfileData u1 = NewUser(user1,fname1,lname1); | 126 | UserProfileData u1 = NewUser(user1,fname1,lname1); |
127 | UserProfileData u2 = NewUser(user2,fname2,lname2); | 127 | UserProfileData u2 = NewUser(user2,fname2,lname2); |
128 | UserProfileData u3 = NewUser(user3,fname3,lname3); | 128 | UserProfileData u3 = NewUser(user3,fname3,lname3); |
129 | |||
130 | db.AddNewUserProfile(u1); | 129 | db.AddNewUserProfile(u1); |
131 | db.AddNewUserProfile(u2); | 130 | db.AddNewUserProfile(u2); |
132 | db.AddNewUserProfile(u3); | 131 | db.AddNewUserProfile(u3); |
@@ -324,6 +323,17 @@ namespace OpenSim.Data.Tests | |||
324 | name.Append(ch); | 323 | name.Append(ch); |
325 | } | 324 | } |
326 | return name.ToString(); | 325 | return name.ToString(); |
327 | } | 326 | } |
327 | |||
328 | public void PrintFriendsList(List<FriendListItem> fl) | ||
329 | { | ||
330 | Console.WriteLine("Friends {0} and {1} and {2}", agent1, agent2, agent3); | ||
331 | Console.WriteLine("List owner is {0}",fl[0].FriendListOwner); | ||
332 | for (int i = 0; i < fl.Count; i++) | ||
333 | { | ||
334 | Console.WriteLine("Friend {0}",fl[i].Friend); | ||
335 | } | ||
336 | |||
337 | } | ||
328 | } | 338 | } |
329 | } | 339 | } |