aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2012-04-271-3/+3
| | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
* Fix bug where setting phantom on a prim would result in a server log message ↵Justin Clark-Casey (justincc)2012-04-221-2/+2
| | | | | | | | rather than setting phantom. This was an oversight when removing some race conditions from PhysicsActor setting recently. Regression tests extended to probe this code path. Extending regression tests required implementation of a BasicPhysicsPrim (there was none before). However, BasicPhysics plugin is still of no current practical use other than to fill in as a component for other parts of regression testing.
* Add experimental --publish option to "save oar" so that OARs reloaded to the ↵Justin Clark-Casey (justincc)2012-01-281-3/+80
| | | | same grid don't have the publisher as owner.
* Add basic request and send image regression tests for LLImageManagerJustin Clark-Casey (justincc)2012-01-191-1/+1
|
* Comment out the part of the load oar code that zeroes out prim sit target ↵Justin Clark-Casey (justincc)2011-09-091-0/+6
| | | | | | | orientations and positions. The warning about these causing problems is very old and may no longer apply. Hopes to fix http://opensimulator.org/mantis/view.php?id=5680
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-5/+5
|
* rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-4/+4
|
* Save the sun's position in OARsOren Hurvitz2011-06-101-0/+2
|
* Add a --noassets option to "save oar".Justin Clark-Casey (justincc)2011-05-261-2/+89
| | | | | This switch stops any assets being saved in the oar. This can be useful if you're using OAR to backup regions and you know you'll always have the original asset database available.
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-211-1/+0
| | | | OpenSim.Tests.Common instead
* When loading an OAR that doesn't have parcels, create a default parcelOren Hurvitz2011-05-141-0/+2
|
* Add regression test to check that OARs start with the control file.Justin Clark-Casey (justincc)2011-04-181-8/+10
|
* Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2011-03-091-1/+0
| | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
* Knock V0_2 decals off archive tests since they're misleadingJustin Clark-Casey (justincc)2010-11-201-8/+8
|
* Fix unit tests and save problemsJustin Clark-Casey (justincc)2010-11-201-1/+1
| | | | | | (note; contrary to previous commits, saving 0.4 OARs is actually broken since serialized objects in inventories are not yet converted properly). Firstly, if you can save a version 1.0 OAR then you can load it too. Secondly, closing the save stream even on success before assets/objects are saved is a bad idea
* correct build break. for some reason, xbuild didn't rebuild test dllsJustin Clark-Casey (justincc)2010-11-201-2/+2
|
* change --old-guids switch on the save oar command line to --version=<x>Justin Clark-Casey (justincc)2010-10-161-2/+2
| | | | | | if x is 0, then an old version 0.3 archive is saved. If it is anything else or missing, then a version 1.0 archive is saved version 1.0 archives cannot be loaded on OpenSim 0.7.0.2 and earlier also add various informational notices about what version we've saving/loading
* save oar control file first rather than in the middle so that it's the first ↵Justin Clark-Casey (justincc)2010-10-161-2/+2
| | | | | | thing we come accross on load this exposes a weekness with using tar where we don't control the order in which files are loaded. can't be helped for now
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2010-09-081-1/+4
|\
| * * Cache null account responses in the SimianUserAccountServiceConnector to ↵John Hurliman2010-09-071-1/+4
| | | | | | | | | | | | avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache
* | If a scene object part UUID is changed (only possible when not in a scene), ↵Justin Clark-Casey (justincc)2010-09-071-1/+1
|/ | | | then adjust the inventory items to point to the new uuid as well
* remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)2010-06-041-1/+1
| | | | easily configured for test purposes
* make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)2010-05-211-27/+10
| | | | | reused in both tests and oar code reduction in checking is outweighed by greater test clarity
* add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)2010-05-211-2/+30
|
* Add --skip-assets option to load oar.Justin Clark-Casey (justincc)2010-04-161-1/+1
| | | | | This allows you to load an oar without loading its assets. This is useful if you know that the required assets are already in the asset service, since loading without assets is quicker. This option will become more useful when the ability to save oars without assets is added, which should happen fairly soon. At this point there will also be better documentation.
* Merge branch 'master' into presence-refactorMelanie2010-02-221-12/+12
|\ | | | | | | This brings presence-refactor up to master again
| * Formatting cleanup.Jeff Ames2010-02-151-12/+12
| |
* | One more test running.Diva Canto2010-02-211-1/+1
| |
* | Merge branch 'master' into presence-refactorMelanie2010-02-082-112/+215
|\ \ | |/ | | | | | | This was a large, heavily conflicted merge and things MAY have got broken. Please check!
| * use common sop2 setup for TestMergeOarV0_2()Justin Clark-Casey (justincc)2010-01-291-16/+12
| |
| * make TestSaveOarV0_2() use a common part2 constructionJustin Clark-Casey (justincc)2010-01-291-18/+14
| |
| * use common part1 createio nin TestMergeOarV0_2()Justin Clark-Casey (justincc)2010-01-291-16/+5
| |
| * minor: swap which part uses the automatically set up scene in TestMergeOarV0_2()Justin Clark-Casey (justincc)2010-01-291-25/+13
| |
| * use common part1 creation in ArchiverTests.TestLoadOarV0_2()Justin Clark-Casey (justincc)2010-01-291-30/+28
| |
| * refactor out scene object 1 creation n ArchiverTetssJustin Clark-Casey (justincc)2010-01-291-44/+22
| |
| * factor out scene setup in ArchiverTestsJustin Clark-Casey (justincc)2010-01-291-40/+53
| |
| * Add method to get all items with the same name from a particular primJustin Clark-Casey (justincc)2010-01-291-5/+4
| | | | | | | | Extend load oar test to check loading of a sound item
| * Add first part of test for checking restore of task inventory items on oar loadJustin Clark-Casey (justincc)2010-01-222-1/+49
| | | | | | | | Passes but not yet complete
| * complete assertion checks of all other oar loaded region settingsJustin Clark-Casey (justincc)2010-01-221-0/+28
| |
| * Allow oar loading to work even if an estate module is not presentJustin Clark-Casey (justincc)2010-01-221-0/+70
| | | | | | | | Write bare bones unit test for region setting loads
* | OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+1
|/
* Formatting cleanup.Jeff Ames2009-10-011-5/+5
|
* * Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares2009-08-111-1/+1
| | | | | | | | 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.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* * Add xml2 load testJustin Clarke Casey2009-05-291-2/+0
|
* * Resolve http://opensimulator.org/mantis/view.php?id=3191Justin Clarke Casey2009-05-181-4/+4
| | | | | | * Catch directory exception on load oar as well as file exception
* * Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey2009-05-181-120/+120
| | | | | | * Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-151-120/+120
| | | | | | | | | | | | -- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
* * refactor: break some of xml2 serialization out of sogJustin Clarke Casey2009-05-141-1/+2
|
* remove misleading commentSean Dague2009-05-071-3/+0
|