diff options
author | Diva Canto | 2015-05-11 19:55:23 -0700 |
---|---|---|
committer | Diva Canto | 2015-05-11 19:55:23 -0700 |
commit | 923a57a91fa9629a844da6cd59ca8e9d2b0fbcde (patch) | |
tree | 859b98b1cdfb51c485d4704e3d0a1292300ca446 /bin | |
parent | Forgot to delete an unused project from Prebuild. Done now. (diff) | |
download | opensim-SC_OLD-923a57a91fa9629a844da6cd59ca8e9d2b0fbcde.zip opensim-SC_OLD-923a57a91fa9629a844da6cd59ca8e9d2b0fbcde.tar.gz opensim-SC_OLD-923a57a91fa9629a844da6cd59ca8e9d2b0fbcde.tar.bz2 opensim-SC_OLD-923a57a91fa9629a844da6cd59ca8e9d2b0fbcde.tar.xz |
Added tests for UserAccountService in Robust. In the process fixed a couple of bugs in the network connectors. For some reason the robust-bound code had a CreateUser method, while the client-bound code had no such method. I assume someone is extending the client-side code with their own connectors. I added the missing method, but didn't add it to the service interface.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/Robust.Tests.ini | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/bin/Robust.Tests.ini b/bin/Robust.Tests.ini index 357434e..c25e39b 100644 --- a/bin/Robust.Tests.ini +++ b/bin/Robust.Tests.ini | |||
@@ -54,9 +54,7 @@ | |||
54 | GridServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridServiceConnector" | 54 | GridServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridServiceConnector" |
55 | PresenceServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:PresenceServiceConnector" | 55 | PresenceServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:PresenceServiceConnector" |
56 | InstantMessageServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:InstantMessageServerConnector" | 56 | InstantMessageServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:InstantMessageServerConnector" |
57 | 57 | UserAccountServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:UserAccountServiceConnector" | |
58 | ;UserAccountServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:UserAccountServiceConnector" | ||
59 | |||
60 | InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" | 58 | InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" |
61 | 59 | ||
62 | ;; Uncomment as more tests are added | 60 | ;; Uncomment as more tests are added |
@@ -227,17 +225,20 @@ | |||
227 | ; * Realm = "users" will use the legacy tables as an authentication source | 225 | ; * Realm = "users" will use the legacy tables as an authentication source |
228 | ; * | 226 | ; * |
229 | [UserAccountService] | 227 | [UserAccountService] |
228 | StorageProvider = "OpenSim.Data.Null.dll" | ||
229 | ConnectionString = "" | ||
230 | |||
230 | ; for the server connector | 231 | ; for the server connector |
231 | LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService" | 232 | LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService" |
232 | ; Realm = "useraccounts" | 233 | ; Realm = "useraccounts" |
233 | 234 | ||
234 | ; These are for creating new accounts by the service | 235 | ; These are for creating new accounts by the service |
235 | AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | 236 | ;AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" |
236 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | 237 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" |
237 | GridService = "OpenSim.Services.GridService.dll:GridService" | 238 | GridService = "OpenSim.Services.GridService.dll:GridService" |
238 | InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService" | 239 | InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService" |
239 | AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" | 240 | ;AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" |
240 | GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService" | 241 | ;GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService" |
241 | 242 | ||
242 | ;; This switch creates the minimum set of body parts and avatar entries for a viewer 2 | 243 | ;; This switch creates the minimum set of body parts and avatar entries for a viewer 2 |
243 | ;; to show a default "Ruth" avatar rather than a cloud for a newly created user. | 244 | ;; to show a default "Ruth" avatar rather than a cloud for a newly created user. |
@@ -246,11 +247,11 @@ | |||
246 | 247 | ||
247 | ;; Allow the service to process HTTP createuser calls. | 248 | ;; Allow the service to process HTTP createuser calls. |
248 | ;; Default is false. | 249 | ;; Default is false. |
249 | ; AllowCreateUser = false | 250 | AllowCreateUser = true |
250 | 251 | ||
251 | ;; Allow the service to process HTTP setaccount calls. | 252 | ;; Allow the service to process HTTP setaccount calls. |
252 | ;; Default is false. | 253 | ;; Default is false. |
253 | ; AllowSetAccount = false | 254 | AllowSetAccount = true |
254 | 255 | ||
255 | 256 | ||
256 | [GridUserService] | 257 | [GridUserService] |