aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-05 17:38:39 +0000
committerJustin Clarke Casey2009-01-05 17:38:39 +0000
commit04ffcce7ea4fd303cd05e31aa8ece999c17f45b0 (patch)
tree74196c15e8c716d3361cce6343eb1c7a48338c5d /OpenSim/Tests
parent* Check in login service tests beachhead (diff)
downloadopensim-SC_OLD-04ffcce7ea4fd303cd05e31aa8ece999c17f45b0.zip
opensim-SC_OLD-04ffcce7ea4fd303cd05e31aa8ece999c17f45b0.tar.gz
opensim-SC_OLD-04ffcce7ea4fd303cd05e31aa8ece999c17f45b0.tar.bz2
opensim-SC_OLD-04ffcce7ea4fd303cd05e31aa8ece999c17f45b0.tar.xz
* Extend stub to test the successful login of a user on the local login service
* Test does not do authentication
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs5
-rw-r--r--OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs5
2 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs
index 472645c..204ebd7 100644
--- a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs
+++ b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs
@@ -49,7 +49,10 @@ namespace OpenSim.Tests.Common.Mock
49 49
50 LocalUserServices lus = new LocalUserServices(991, 992, lis); 50 LocalUserServices lus = new LocalUserServices(991, 992, lis);
51 m_userService = lus; 51 m_userService = lus;
52 m_userAdminService = lus; 52 m_userAdminService = lus;
53
54 LocalBackEndServices gs = new LocalBackEndServices();
55 m_gridService = gs;
53 } 56 }
54 } 57 }
55} 58}
diff --git a/OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs b/OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs
index a5e2a37..6be7b3d 100644
--- a/OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs
+++ b/OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs
@@ -102,7 +102,10 @@ namespace OpenSim.Tests.Common.Mock
102 102
103 public void UpdateUserFriendPerms(UUID friendlistowner, UUID friend, uint perms) {} 103 public void UpdateUserFriendPerms(UUID friendlistowner, UUID friend, uint perms) {}
104 104
105 public List<FriendListItem> GetUserFriendList(UUID friendlistowner) { return null; } 105 public List<FriendListItem> GetUserFriendList(UUID friendlistowner)
106 {
107 return new List<FriendListItem>();
108 }
106 109
107 public Dictionary<UUID, FriendRegionInfo> GetFriendRegionInfos(List<UUID> uuids) { return null; } 110 public Dictionary<UUID, FriendRegionInfo> GetFriendRegionInfos(List<UUID> uuids) { return null; }
108 111