aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2009-03-10* Enable test logging for TestSaveOarV0p2 to capture more information the ↵Justin Clarke Casey1-3/+4
next time this hiccups
2009-03-06* Improve memory usage when writing OARsJustin Clarke Casey1-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
2009-02-18* Move asset gathering code from oar module to OpenSim.Region.Framework ↵Justin Clarke Casey1-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
2009-02-17* switch to pulsing monitors to perform test sync instead of events, since ↵Justin Clarke Casey1-11/+17
this doesn't allow one to accidentally forget to reset the event
2009-02-17* Get rid of a unit test race condition based on my misreading of the ↵Justin Clarke Casey1-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)
2009-02-13* Change static field "initialized" in RestInterregionComms to an instance fieldJustin Clarke Casey1-1/+1
* This was the cause of teleport tests interfering with each other
2009-02-12large scale fix for svn props after "the great refactor"Sean Dague1-13/+13
2009-02-12* optimized usings.lbsa711-15/+14
2009-02-10* Implement merging of oars in codeJustin Clarke Casey1-2/+80
* Not fully tested yet and not yet available as an option from the user console