Commit Graph

179 Commits

Author SHA1 Message Date
Justin Clark-Casey (justincc)
fa1d79533e Only allow iar load/save if user is logged in to the region simulator 2009-09-07 19:57:44 +01:00
Justin Clark-Casey (justincc)
10b075a33d change default iar filename 2009-09-07 18:42:53 +01:00
Justin Clark-Casey (justincc)
61c286f5d6 change iar load to make discrete inventory service requests rather than the cache 2009-09-06 22:07:35 +01:00
Justin Clark-Casey (justincc)
5640cac8e0 Add convenience functions to InventoryArchiveUtils for locating folders by assuming we're starting from the root
Change test methods to use convenience functions
2009-09-06 21:34:20 +01:00
Justin Clark-Casey (justincc)
a92afe8dca change load iar test to use non-cache find item by path function 2009-09-06 21:26:27 +01:00
Justin Clark-Casey (justincc)
d8316810a1 remove now unnecessary parts of save iar test 2009-09-06 21:20:41 +01:00
Justin Clark-Casey (justincc)
881051c8cc Convert iar write request to use inventory service requests rather than cache 2009-09-06 21:14:42 +01:00
Justin Clark-Casey (justincc)
79c22651d7 refactor: use direct scene reference in inventory archive read request 2009-09-06 20:16:56 +01:00
Justin Clark-Casey (justincc)
8616230fcf refactor: replace some uses of iar module reference with scene instead 2009-09-06 20:04:18 +01:00
Justin Clark-Casey (justincc)
304c78bbbb Temporarily re-enable save iar test by manually insert the item into the old cache during the test 2009-09-06 19:30:03 +01:00
Justin Clark-Casey (justincc)
7ca61e0174 Add ids to iar requests
Stop save iar test wrongly relying on thread pulsing (still disabled though)
2009-09-04 21:10:56 +01:00
Justin Clark-Casey (justincc)
4c560df8ac If running tests manually, fail immediately on error 2009-09-04 19:22:09 +01:00
Justin Clark-Casey (justincc)
64fa23df7c If a test dll fails, stop immediately rather than trying all the other test dlls
This is very useful behaviour if debugging test failures otherwise it's hard to pick out the test output
Also, some minor method shuffling in the iar module
2009-09-03 19:41:38 +01:00
dr scofield (aka dirk husemann)
05756e1fb9 warnings safari. 2009-09-02 11:06:18 +02:00
Justin Clark-Casey (justincc)
7ff4c2e50b Pull out distinct cache system folders and drop cache methods in InventoryCache 2009-08-28 17:07:17 +01:00
Justin Clark-Casey (justincc)
7f8df4242b Correct build break 2009-08-28 12:58:10 +01:00
Justin Clark-Casey (justincc)
d649194be3 minor: formatting and comments 2009-08-28 12:52:40 +01:00
Justin Clark-Casey (justincc)
cf58c0ab08 minor: remove some commented out iar test code 2009-08-28 12:01:21 +01:00
Jeff Ames
158ad39df0 Add copyright header. Formatting cleanup. 2009-08-21 15:47:55 +09:00
Adam Frisby
01f394d203 * Fleshes more of NPCModule out.
* Implements some OSSL commands:
        key osNpcCreate(string user, string name, vector position, key cloneFrom);
        void osNpcMoveTo(key npc, vector position);
        void osNpcSay(key npc, string message);
        void osNpcRemove(key npc);
* Untested. Requires ThreatLevel.High.
2009-08-21 11:14:55 +10:00
Melanie
297393f349 Remove a load-order dependency in inventory transfer that was biting
Windows users
2009-08-20 21:05:00 +01:00
Melanie
4c8bcd2ff6 Add some output (at DEBUG level) to the message transfer module to aid
in tracking down an initialization failure.
2009-08-20 20:19:08 +01:00
Diva Canto
c5af39239f A better purge of trash folder. 2009-08-19 00:13:51 -07:00
Diva Canto
124f66bfc2 jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024 2009-08-18 22:17:47 -07:00
Diva Canto
d7aa622050 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-17 15:28:16 -07:00
Diva Canto
df889855ec Commented out one IAR test, because it's failing and needs attention from justincc or arthursv. I think the mock inventory service needs a little bit more beef. 2009-08-17 15:16:21 -07:00
Melanie
9ad3e72ae1 Did I say that i don't like git? Remove some stuff that shouldn't have
gone in.
2009-08-17 22:06:51 +01:00
Diva Canto
fa8a94577a Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-17 05:55:38 -07:00
Melanie
644db1e540 Add System.Xml reference to the console project 2009-08-17 09:40:38 +01:00
Diva Canto
cd444c1e82 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-14 14:04:15 -07:00
Justin Clark-Casey (justincc)
e17a2331a0 * Re-enable TestLoadIarV0_1ExistingUsers() 2009-08-14 20:38:56 +01:00
Justin Clark-Casey (justincc)
ff28ecee1b Re-enable TestSaveIarV0_1()
Implement more parts of TestAssetService
2009-08-14 20:07:13 +01:00
Justin Clark-Casey (justincc)
a668a5b0d3 Add standard doc and standard doc formatting to IAssetService 2009-08-14 19:59:42 +01:00
Justin Clark-Casey (justincc)
957962b482 Remove NRE catching on TestReplicateArchivePathToUserInventory() since race failure now appears to have gone 2009-08-14 19:06:24 +01:00
Diva Canto
5246dc33dc Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' starting to get on my nerves. 2009-08-13 14:10:12 -07:00
Diva Canto
6b9cc6c48d Inventory redirects from CachedUserInfo to InventoryService COMPLETE! 2009-08-13 11:30:29 -07:00
Diva Canto
6a0f7c2275 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-13 06:31:24 -07:00
Melanie
3669115d60 Some small fixes 2009-08-13 13:25:33 +01:00
Melanie
0f3f2e1dc0 Add reference to the profile module in the avatar profiles handler, plus
an example of how to override legacy core data with data retrieved from
the profile module
2009-08-13 13:19:12 +01:00
Diva Canto
7aa54593e0 Redirected all calls to CachedUserProfile methods to the inventory service. Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent. 2009-08-12 20:39:48 -07:00
Justin Clark-Casey (justincc)
fdd0ce68b3 Do new inventory module setup, which is why the test was failing (not the original race condition, hopefully!)
Still always catching the NRE for now pending analysis
2009-08-11 20:09:35 +01:00
Justin Clark-Casey (justincc)
2dbdb7e036 Re-enable TestReplicateArchivePathToUserInventory() but stop it failing on the NRE for now
Add temporarily logging for diagnosis
2009-08-11 17:49:52 +01:00
Justin Clark-Casey (justincc)
655438a59d Apply http://opensimulator.org/mantis/view.php?id=1448
Store and retrieve user profile url at runtime
Not yet persisted
Thanks Fly-Man
2009-08-11 17:29:15 +01:00
Justin Clark-Casey (justincc)
f9b60f5c34 Disable test again. Ho hum. 2009-08-11 17:05:01 +01:00
Justin Clark-Casey (justincc)
39c9f681ab re-enable just TestReplicateArchivePathToUserInventory() for now to find out if the race condition has been vanquished 2009-08-11 16:55:45 +01:00
Justin Clark-Casey (justincc)
226c082ed4 Establish CachedUserInfo.OnInventoryReceived event so that region/test inventory code can be written with the async inventory fetch 2009-08-11 16:45:16 +01:00
Arthur Valadares
18aa2ea0c5 * Improves SceneSetupHelper to allow the tester to choose a real or mock, inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality.
* SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize.

* With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
2009-08-11 12:07:54 -03:00
Melanie
eba23048ca Replace the Replaceable modules name 2009-08-10 23:08:22 +01:00
Justin Clark-Casey (justincc)
07e6a492a1 Disable all IAR tests for now due to possible failure-causing race condition 2009-08-06 19:35:52 +01:00
Justin Clark-Casey (justincc)
bc6de6f5f0 Disable TestReplicateArchivePathToUserInventory() pending more investigation 2009-08-05 20:05:22 +01:00