aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Moving TarArchive to OpenSim.Framework.ArchiveMike Mazur2009-03-121-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.
* * Enable test logging for TestSaveOarV0p2 to capture more information the ↵Justin Clarke Casey2009-03-101-3/+4
| | | | next time this hiccups
* * Improve memory usage when writing OARsJustin Clarke Casey2009-03-061-4/+4
| | | | | | | | * This should make saving large OARs a somewhat better experience * However, the problem where saving an archive pulls large numbers of assets into the asset cache isn't yet resolved * This patch also removes lots of archive writing spam that crept in
* * Move asset gathering code from oar module to OpenSim.Region.Framework ↵Justin Clarke Casey2009-02-181-1/+1
| | | | | | | | since this is useful in a variety of situations * Comment out one oar test since I think somehow the two save tests are causing the occasional test failures
* * switch to pulsing monitors to perform test sync instead of events, since ↵Justin Clarke Casey2009-02-171-11/+17
| | | | this doesn't allow one to accidentally forget to reset the event
* * Get rid of a unit test race condition based on my misreading of the ↵Justin Clarke Casey2009-02-171-2/+4
| | | | | | | | AutoResetEvent docs * Hopefully this will reduce the spike in build failures seen in the past few days (since I introduced an addition oar test)
* * Change static field "initialized" in RestInterregionComms to an instance fieldJustin Clarke Casey2009-02-131-1/+1
| | | | | | * This was the cause of teleport tests interfering with each other
* large scale fix for svn props after "the great refactor"Sean Dague2009-02-121-13/+13
|