aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-04-18Add regression test to check that OARs start with the control file.Justin Clark-Casey (justincc)1-8/+10
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)1-1/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2010-11-20Knock V0_2 decals off archive tests since they're misleadingJustin Clark-Casey (justincc)1-8/+8
2010-11-20Fix unit tests and save problemsJustin Clark-Casey (justincc)1-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
2010-11-20correct build break. for some reason, xbuild didn't rebuild test dllsJustin Clark-Casey (justincc)1-2/+2
2010-10-16change --old-guids switch on the save oar command line to --version=<x>Justin Clark-Casey (justincc)1-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
2010-10-16save oar control file first rather than in the middle so that it's the first ↵Justin Clark-Casey (justincc)1-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
2010-09-07* Cache null account responses in the SimianUserAccountServiceConnector to ↵John Hurliman1-1/+4
avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache
2010-09-07If a scene object part UUID is changed (only possible when not in a scene), ↵Justin Clark-Casey (justincc)1-1/+1
then adjust the inventory items to point to the new uuid as well
2010-06-04remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)1-1/+1
easily configured for test purposes
2010-05-21make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)1-27/+10
reused in both tests and oar code reduction in checking is outweighed by greater test clarity
2010-05-21add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)1-2/+30
2010-04-16Add --skip-assets option to load oar.Justin Clark-Casey (justincc)1-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.
2010-02-21One more test running.Diva Canto1-1/+1
2010-02-15Formatting cleanup.Jeff Ames1-12/+12
2010-01-29use common sop2 setup for TestMergeOarV0_2()Justin Clark-Casey (justincc)1-16/+12
2010-01-29make TestSaveOarV0_2() use a common part2 constructionJustin Clark-Casey (justincc)1-18/+14
2010-01-29use common part1 createio nin TestMergeOarV0_2()Justin Clark-Casey (justincc)1-16/+5
2010-01-29minor: swap which part uses the automatically set up scene in TestMergeOarV0_2()Justin Clark-Casey (justincc)1-25/+13
2010-01-29use common part1 creation in ArchiverTests.TestLoadOarV0_2()Justin Clark-Casey (justincc)1-30/+28
2010-01-29refactor out scene object 1 creation n ArchiverTetssJustin Clark-Casey (justincc)1-44/+22
2010-01-29factor out scene setup in ArchiverTestsJustin Clark-Casey (justincc)1-40/+53
2010-01-29Add method to get all items with the same name from a particular primJustin Clark-Casey (justincc)1-5/+4
Extend load oar test to check loading of a sound item
2010-01-22Add first part of test for checking restore of task inventory items on oar loadJustin Clark-Casey (justincc)2-1/+49
Passes but not yet complete
2010-01-22complete assertion checks of all other oar loaded region settingsJustin Clark-Casey (justincc)1-0/+28
2010-01-22Allow oar loading to work even if an estate module is not presentJustin Clark-Casey (justincc)1-0/+70
Write bare bones unit test for region setting loads
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2009-10-01Formatting cleanup.Jeff Ames1-5/+5
2009-08-11* Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares1-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.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-29* Add xml2 load testJustin Clarke Casey1-2/+0
2009-05-18* Resolve http://opensimulator.org/mantis/view.php?id=3191Justin Clarke Casey1-4/+4
* Catch directory exception on load oar as well as file exception
2009-05-18* Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey1-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
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-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
2009-05-14* refactor: break some of xml2 serialization out of sogJustin Clarke Casey1-1/+2
2009-05-07remove misleading commentSean Dague1-3/+0
2009-05-07instrument most of the tests with a new InMethod function that may help us ↵Sean Dague1-0/+3
figure out where that pesky deadlock is during test runs.
2009-04-28* Get rid of some extraneous debug log output from the last commitJustin Clarke Casey1-2/+2
2009-04-28* Stop oar loading barfing if the archive contains directory entriesJustin Clarke Casey1-4/+34
2009-04-24* Write separate unit test for replicating iar structure to a user inventoryJustin Clarke Casey1-3/+2
2009-04-24* Write basic, incomplete load iar testJustin Clarke Casey1-6/+0
2009-04-23* refactor: move archive user inventory item serialization out to a separate ↵Justin Clarke Casey1-1/+1
file
2009-04-22From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-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.
2009-04-15* Make it possible to add a request id to load and save oar requestsJustin Clarke Casey1-3/+10
* This allows specific requests to be identified.
2009-04-14* Make archiver tests pump the asset server manually instead of starting the ↵Justin Clarke Casey1-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
2009-04-09* Tagged long running tests with LongRunningAttribute.lbsa711-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.
2009-03-16Rename OpenSim.Framework.Archive to OpenSim.Framework.SerializationMike Mazur1-77/+77
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-13* Support loading empty folders in an iarJustin Clarke Casey1-4/+4
2009-03-12* Move SceneObject tests into their proper namespaceJustin Clarke Casey1-0/+6
* Add some more debug code to narrow down where the tests are freezing
2009-03-12Moving TarArchive to OpenSim.Framework.ArchiveMike Mazur1-1/+2
We now build OpenSim.Framework.Archive.dll which aims to contain code used for archiving various things in OpenSim. Also remove trailing whitespace.