aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* instrument most of the tests with a new InMethod function that may help us ↵Sean Dague2009-05-071-0/+3
| | | | | | | figure out where that pesky deadlock is during test runs.
* * Get rid of some extraneous debug log output from the last commitJustin Clarke Casey2009-04-281-2/+2
|
* * Stop oar loading barfing if the archive contains directory entriesJustin Clarke Casey2009-04-281-4/+34
|
* * Write separate unit test for replicating iar structure to a user inventoryJustin Clarke Casey2009-04-241-3/+2
|
* * Write basic, incomplete load iar testJustin Clarke Casey2009-04-241-6/+0
|
* * refactor: move archive user inventory item serialization out to a separate ↵Justin Clarke Casey2009-04-231-1/+1
| | | | file
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-04-221-4/+11
| | | | | | | | Changes to enable script state persistence across non-restart serialization situations (inventory/OAR/attachments) Also fixing test cases for OAR and IAR so they don't barf with the new code.
* * Make it possible to add a request id to load and save oar requestsJustin Clarke Casey2009-04-151-3/+10
| | | | | | * This allows specific requests to be identified.
* * Make archiver tests pump the asset server manually instead of starting the ↵Justin Clarke Casey2009-04-141-1/+6
| | | | | | | | | normal runtime thread * This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset quque
* * Tagged long running tests with LongRunningAttribute.lbsa712009-04-091-2/+4
| | | | | | * Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever. * Feel free to run the unit tests as you code, and the rest before commit.
* Rename OpenSim.Framework.Archive to OpenSim.Framework.SerializationMike Mazur2009-03-161-77/+77
| | | | | Update using statements and prebuild.xml. Also trim trailing whitespace.
* * Support loading empty folders in an iarJustin Clarke Casey2009-03-131-4/+4
|
* * Move SceneObject tests into their proper namespaceJustin Clarke Casey2009-03-121-0/+6
| | | | | | * Add some more debug code to narrow down where the tests are freezing