aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2009-02-10* extend load oar test to check that an object was actually loadedJustin Clarke Casey1-5/+37
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield1-4/+4
NOTHING has been deleted or moved off to forge at this point. what has happened is that OpenSim.Region.Environment.Modules has been split in two: - OpenSim.Region.CoreModules: all those modules that are either directly or indirectly referenced from other OpenSim packages, or that provide functionality that the OpenSim developer community considers core functionality: CoreModules/Agent/AssetTransaction CoreModules/Agent/Capabilities CoreModules/Agent/TextureDownload CoreModules/Agent/TextureSender CoreModules/Agent/TextureSender/Tests CoreModules/Agent/Xfer CoreModules/Avatar/AvatarFactory CoreModules/Avatar/Chat/ChatModule CoreModules/Avatar/Combat CoreModules/Avatar/Currency/SampleMoney CoreModules/Avatar/Dialog CoreModules/Avatar/Friends CoreModules/Avatar/Gestures CoreModules/Avatar/Groups CoreModules/Avatar/InstantMessage CoreModules/Avatar/Inventory CoreModules/Avatar/Inventory/Archiver CoreModules/Avatar/Inventory/Transfer CoreModules/Avatar/Lure CoreModules/Avatar/ObjectCaps CoreModules/Avatar/Profiles CoreModules/Communications/Local CoreModules/Communications/REST CoreModules/Framework/EventQueue CoreModules/Framework/InterfaceCommander CoreModules/Hypergrid CoreModules/InterGrid CoreModules/Scripting/DynamicTexture CoreModules/Scripting/EMailModules CoreModules/Scripting/HttpRequest CoreModules/Scripting/LoadImageURL CoreModules/Scripting/VectorRender CoreModules/Scripting/WorldComm CoreModules/Scripting/XMLRPC CoreModules/World/Archiver CoreModules/World/Archiver/Tests CoreModules/World/Estate CoreModules/World/Land CoreModules/World/Permissions CoreModules/World/Serialiser CoreModules/World/Sound CoreModules/World/Sun CoreModules/World/Terrain CoreModules/World/Terrain/DefaultEffects CoreModules/World/Terrain/DefaultEffects/bin CoreModules/World/Terrain/DefaultEffects/bin/Debug CoreModules/World/Terrain/Effects CoreModules/World/Terrain/FileLoaders CoreModules/World/Terrain/FloodBrushes CoreModules/World/Terrain/PaintBrushes CoreModules/World/Terrain/Tests CoreModules/World/Vegetation CoreModules/World/Wind CoreModules/World/WorldMap - OpenSim.Region.OptionalModules: all those modules that are not core modules: OptionalModules/Avatar/Chat/IRC-stuff OptionalModules/Avatar/Concierge OptionalModules/Avatar/Voice/AsterixVoice OptionalModules/Avatar/Voice/SIPVoice OptionalModules/ContentManagementSystem OptionalModules/Grid/Interregion OptionalModules/Python OptionalModules/SvnSerialiser OptionalModules/World/NPC OptionalModules/World/TreePopulator
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-2/+2
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-02-03* Add another object to the existing save oar testJustin Clarke Casey1-21/+62
2009-02-02* Establish OnOarFileSaved EventManager event and subscribe to that instead ↵Justin Clarke Casey1-5/+13
of passing in a waithandle to the archiver * This matches the existing OnOarFileLoaded event * This brings up the question of how these things can be made generic so that they don't have to be tied into EventManager, but that's a topic for another day
2009-01-30* Put a wait timeout on the archive test, just in case the archiver never ↵Justin Clarke Casey1-1/+1
returns
2009-01-30* Extend archive save test to check for the presence of the file for the ↵Justin Clarke Casey1-7/+41
object that was in the scene * Can now pass in a wait handle to ArchiveRegion() if you want same thread signalling that the save has completed
2009-01-30* minor: stop bothering to set parts to phantom within test setups - tests ↵Justin Clarke Casey1-0/+1
now seem to pass without having to do this
2009-01-23* Write a simple archive loading test which doesn't actually do any testing ↵Justin Clarke Casey1-1/+25
yet apart from not blow up
2009-01-23* Extend archive test to check for the presence of a control file in a saved ↵Justin Clarke Casey1-4/+36
archive
2009-01-23* Add direct stream loading and saving methods to the archive module.Justin Clarke Casey1-4/+8
* The async stream method does not yet signal completion to interested calling code
2009-01-16* minor: Future archiver test stubJustin Clarke Casey1-9/+12
2008-05-14* Refactor: Renaming non viewer statistics classes from Reporters to ↵Justin Clarke Casey1-1/+1
Collectors - this seems more intuitive
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-2/+0
(this took a while to run).
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-03-04Added copyright heaaders. Minor cleanup.Jeff Ames1-1/+1
2008-02-23Update svn properties.Jeff Ames1-0/+0