Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Simplify test code by always setting up mock 'in memory' user and ↵ | Justin Clarke Casey | 2009-01-05 | 1 | -3/+0 |
| | | | | | | | | inventory data plugins for every TestCommunicationsManager * imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use | ||||
* | Minor: fix a comment... scratch that,reverse it. | Teravus Ovares | 2008-12-21 | 1 | -1/+1 |
| | |||||
* | * Commit linkset Group (multiprim) linked/delinked to another linkset group ↵ | Teravus Ovares | 2008-12-21 | 1 | -0/+126 |
| | | | | (multiprim) test. | ||||
* | * Adding a two prim linking/delinking test. This test is likely to get on ↵ | Teravus Ovares | 2008-12-21 | 1 | -0/+73 |
| | | | | people's nerves since linking/delinking is easily broken. But.. that's why we have tests! | ||||
* | * Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaks | Justin Clarke Casey | 2008-12-15 | 1 | -1/+1 |
| | | | | | | | * This pushes an identifier for the OpenSim scene to the physics scene. This allows log messages from the physics scene to identify which OpenSim scene they relate to. * Thanks Gerhard | ||||
* | * Actually properly enable the purge folders test and correct some problems | Justin Clarke Casey | 2008-12-12 | 1 | -3/+1 |
| | |||||
* | * Deleted old EntiyList tests, added new EntityManager tests | Sean Dague | 2008-12-12 | 1 | -111/+51 |
| | | | | | | | * Edited EntityManager to treat Exceptions From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com> | ||||
* | * Fold mock classes into existing OpenSim/Tests/Common assembly rather than ↵ | Justin Clarke Casey | 2008-12-11 | 4 | -4/+4 |
| | | | | sprouting another one | ||||
* | * minor: Move mock test classes into mock namespace | Justin Clarke Casey | 2008-12-11 | 4 | -4/+4 |
| | |||||
* | * refactor: Move test infrastructure code to its own package so that it can ↵ | Justin Clarke Casey | 2008-12-10 | 11 | -1405/+5 |
| | | | | | | | | be reused by more than Environment tests * This shuffles the test packages in prebuild.xml below it so they can all potentially reference it | ||||
* | * Establish OpenSim.Framework.Communications.Tests beachhead | Justin Clarke Casey | 2008-12-10 | 1 | -6/+1 |
| | | | | | | * No valid tests yet | ||||
* | * Put in the code necessary to allow inventory transfer of whole folders ↵ | Justin Clarke Casey | 2008-12-04 | 1 | -1/+4 |
| | | | | | | | | (and their contents) between agents, not just single items * However, this is not currently activated since it's not absolutely fully tested and there's a bug lurking in there to do with the sending of the BulkInventoryUpdate packets | ||||
* | * test: Extend take object test to finally check that the object made it ↵ | Justin Clarke Casey | 2008-11-28 | 2 | -7/+28 |
| | | | | into user inventory and that it was removed from the scene | ||||
* | * simplify AddNewClient since making this root without using MakeRootAgent() ↵ | Justin Clarke Casey | 2008-11-28 | 2 | -2/+9 |
| | | | | no longer sets everything up properly | ||||
* | * test: Add a wodge of code in order to be able to slightly extend a test to ↵ | Justin Clarke Casey | 2008-11-28 | 7 | -50/+142 |
| | | | | | | | | deliver a taken object to a user inventory folder without throwing an exception * test doesn't actually double check for the presence of the item yet | ||||
* | * test: Separate out async deletion methods to test delete and take copy ↵ | Justin Clarke Casey | 2008-11-28 | 2 | -11/+44 |
| | | | | | | | | separately. * The take copy test doesn't currently actually test the take | ||||
* | * refactor: Replace derez destiation magic numbers with an enumeration | Justin Clarke Casey | 2008-11-28 | 1 | -1/+1 |
| | |||||
* | * refactor: rename UserServiceAdmin to UserAdminService | Justin Clarke Casey | 2008-11-28 | 2 | -2/+2 |
| | |||||
* | * minor: Eliminate unused paramter in LocalUserServices constructors | Justin Clarke Casey | 2008-11-28 | 1 | -1/+1 |
| | |||||
* | * refactor: move CreateUser into UserServiceAdmin | Justin Clarke Casey | 2008-11-28 | 2 | -5/+6 |
| | |||||
* | * test: Inch forward with another test by using a skeletal in memory ↵ | Justin Clarke Casey | 2008-11-27 | 4 | -7/+71 |
| | | | | inventory data plugin | ||||
* | * Add a file I forgot in the last commit. | Justin Clarke Casey | 2008-11-27 | 1 | -0/+124 |
| | |||||
* | * test: Add the ability to add a plugin directory to the user and inventory ↵ | Justin Clarke Casey | 2008-11-27 | 3 | -5/+17 |
| | | | | | | | | services in order to extend unit tests for user and inventory information * I can't spend any longer in trying to get Mono.Addins to work with the unit tests, so this is not a proper plugin at this time | ||||
* | * Fix some tests | Teravus Ovares | 2008-11-27 | 1 | -1/+2 |
| | |||||
* | Thank you kindly, Nlin for a patch that: | Charles Krinke | 2008-11-27 | 1 | -0/+6 |
| | | | | | | | | | | | | | | Adds a new method to IClientAPI to allow adding message handlers for GenericMessages (of which "autopilot" is one). Part 2 adds a specific autopilot handler in ScenePresence.cs. 2) Removing unused variables and functions. 3) Simplifying the navigation logic in ScenePresence.cs. The original patch was somewhat complex because it included orientation logic for a future enhancement of orienting the avatar to point towards the direction being walked. Currently this isn't working, though, so I removed the orientation code, which leaves just the smaller and hopefully simpler-to-understand movement code. | ||||
* | First stage group permissions plumbing | Melanie Thielker | 2008-11-22 | 1 | -0/+5 |
| | |||||
* | * Extend sog delete to inventory test to crank the normally async sog ↵ | Justin Clarke Casey | 2008-11-21 | 1 | -1/+12 |
| | | | | | | | | deleter by hand * After the crank, assert that the object has now been removed from the scene | ||||
* | * Largely revert the last revision and improve on the previous way of doing ↵ | Justin Clarke Casey | 2008-11-21 | 1 | -2/+2 |
| | | | | | | | | | | things * Deleting the object before the async to inventory is bad since if OpenSim crashes (or is shutdown!) in the time inbetween, then the object is lost * Also now delete the object from the scene only after it has gone to inventory - in the old way there was still a race condition * This is still not ideal since the 'deleted' object remains in the scene and probably could be manipulated. But this is better than the alternative | ||||
* | * On delete to inventory, actually remove the group from the scene before ↵ | Justin Clarke Casey | 2008-11-21 | 2 | -9/+20 |
| | | | | | | | | | the async stage. * Last time I accidentally left the existing code in place that merely wiped the group from the client (but not the scene) * Put in an incomplete 'delete object o inventory' test to assert that this happens | ||||
* | * refactor: change some method names and doc in the physics plugin manager | Justin Clarke Casey | 2008-11-20 | 1 | -1/+1 |
| | | | | | | * move the directory choice for plugins outside into RegionApplicationBase | ||||
* | * Allow physics dlls to be loaded separately, rather than just the contents ↵ | Justin Clarke Casey | 2008-11-20 | 2 | -1/+10 |
| | | | | | | | | of bin/Physics * This is primarily to see if not loading ODE in the unit tests will allow them to proceed, though the option of separate loading is probably a good thing in itself | ||||
* | * Add a scratch test for removing a client from a scene | Justin Clarke Casey | 2008-11-20 | 2 | -2/+19 |
| | |||||
* | * Add forgotton tag to existing remove scene object test | Justin Clarke Casey | 2008-11-20 | 2 | -0/+27 |
| | |||||
* | * Add enough infrastructure code to run an extremely basic and flaky add ↵ | Justin Clarke Casey | 2008-11-20 | 4 | -5/+999 |
| | | | | root agent scene test | ||||
* | * Add just enough to allow the scene presences test to establish a new user ↵ | Justin Clarke Casey | 2008-11-19 | 3 | -6/+66 |
| | | | | connection (though not yet an actual ScenePresence) | ||||
* | cleaning up warning | Dr Scofield | 2008-11-17 | 1 | -1/+2 |
| | |||||
* | * test: Add scene root agent test stub, since I'll be picking up with ↵ | Justin Clarke Casey | 2008-11-14 | 1 | -0/+79 |
| | | | | something else the next time I start coding on OpenSim | ||||
* | * refactor: Have the entity list tests use the infrastructure method rather ↵ | Justin Clarke Casey | 2008-11-14 | 1 | -15/+2 |
| | | | | than cut n paste | ||||
* | * Move test scene construction infrastructure methods to a separate class ↵ | Justin Clarke Casey | 2008-11-14 | 2 | -42/+82 |
| | | | | for future common use | ||||
* | * Rename scene tests to scene object tests since that is what they are ↵ | Justin Clarke Casey | 2008-11-12 | 1 | -2/+2 |
| | | | | actually concerned with | ||||
* | * test: Add basic synchronous object remove test | Justin Clarke Casey | 2008-11-12 | 1 | -4/+10 |
| | |||||
* | * Create TestScene to get at the async object deleter for use in a future test | Justin Clarke Casey | 2008-11-11 | 2 | -2/+57 |
| | |||||
* | * Put an Enabled switch on the async object deleter for future testing purposes | Justin Clarke Casey | 2008-11-11 | 1 | -0/+8 |
| | |||||
* | minor: refactor some SceneTests code for future tests | Justin Clarke Casey | 2008-11-11 | 1 | -7/+24 |
| | |||||
* | * Remove mono warnings | Justin Clarke Casey | 2008-11-10 | 1 | -32/+9 |
| | | | | | | * Remove duplicate test part | ||||
* | fix unit tests use SetRootPart now | Sean Dague | 2008-11-10 | 1 | -3/+3 |
| | | | | | From: Sean Dague <sdague@gmail.com> | ||||
* | make things compile, but the test still fails because of the root part | Sean Dague | 2008-11-10 | 1 | -3/+0 |
| | | | | | changes | ||||
* | Lock tests on EntityList.cs, multithreaded object addition | Sean Dague | 2008-11-10 | 1 | -0/+289 |
| | | | | | | | and removal. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com> | ||||
* | * minor: remove useless exception catch | Justin Clarke Casey | 2008-11-10 | 1 | -1/+1 |
| | |||||
* | * refactor: Expose SOG.SetRootPart for outsiders to use rather than setting ↵ | Justin Clarke Casey | 2008-11-10 | 1 | -4/+2 |
| | | | | | | | | RootPart and adding the part separately * Make RootPart read only |