Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 3 | -3/+0 |
| | | | | OpenSim.Tests.Common instead | ||||
* | rename UserInventoryTestsUtils -> UserInventoryHelpers for consistency | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -4/+4 |
| | |||||
* | rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 3 | -15/+15 |
| | | | | other test helper names | ||||
* | Move mesh on/off swtich from [Startup] to [Mesh] in anticipation of future ↵ | Justin Clark-Casey (justincc) | 2011-04-18 | 1 | -0/+6 |
| | | | | | | | config parameters. Default remains true. OpenSimDefault.ini changed so if you haven't overriden this switch then you don't need to do anything. | ||||
* | bump default IAR version to 0.2 and 1.1 for the --profile version. | Justin Clark-Casey (justincc) | 2011-04-18 | 1 | -2/+2 |
| | | | | There are no changes in this bump, they just signal a point at which the control file comes first in the archive. | ||||
* | Add regression test to check that OARs start with the control file. | Justin Clark-Casey (justincc) | 2011-04-18 | 1 | -0/+3 |
| | |||||
* | add test to ensure that an IAR starts with the control file | Justin Clark-Casey (justincc) | 2011-04-18 | 2 | -11/+39 |
| | |||||
* | get rid of all traces of the now used mock service infrastructure | Justin Clark-Casey (justincc) | 2011-04-15 | 3 | -9/+9 |
| | |||||
* | extend TestLoadCoalesecedItem() to check loaded object ids and positions | Justin Clark-Casey (justincc) | 2011-04-15 | 1 | -1/+7 |
| | |||||
* | Make all the objects in a coalescence reappears after being loaded from an ↵ | Justin Clark-Casey (justincc) | 2011-04-15 | 3 | -26/+47 |
| | | | | | | | IAR. This still doesn't work proprerly since some required textures/contained item assets might be missing. From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug. It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups. | ||||
* | implement stub TestLoadCoalesecedItem(). Doesn't do what it's meant to do yet. | Justin Clark-Casey (justincc) | 2011-04-14 | 2 | -4/+48 |
| | |||||
* | simplify InventoryArchiveTestCase setup | Justin Clark-Casey (justincc) | 2011-04-14 | 1 | -18/+2 |
| | |||||
* | simplify TestSaveItemToIarV0_1() | Justin Clark-Casey (justincc) | 2011-04-14 | 1 | -18/+2 |
| | |||||
* | suspend check that IAR control file is loaded for now | Justin Clark-Casey (justincc) | 2011-03-31 | 1 | -1/+6 |
| | | | | I was mistaken - some previous opensim versions don't save this file first. Will have to bump iar version number and only check iars after the bump | ||||
* | factor inventory file loading into its own method | Justin Clark-Casey (justincc) | 2011-03-12 | 1 | -57/+80 |
| | |||||
* | factor out iar asset load code into its own method | Justin Clark-Casey (justincc) | 2011-03-12 | 1 | -29/+40 |
| | |||||
* | refactor: make boolean load indicators on load iars instance fields | Justin Clark-Casey (justincc) | 2011-03-12 | 1 | -8/+11 |
| | |||||
* | introduce iar load checks which make sure archive.xml comes first, then ↵ | Justin Clark-Casey (justincc) | 2011-03-12 | 1 | -1/+32 |
| | | | | | | inventory nodes, then assets this is necessary for correct loading. "save iar" always saves in this order so there shouldn't be any problems - these checks are to give better feedback to other systems that may construct IARs. | ||||
* | Add test for simple case where creator account with appropriate uuid exists ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 1 | -0/+32 |
| | | | | on the target system for an iar load | ||||
* | refactor: rename test user account fields | Justin Clark-Casey (justincc) | 2011-03-10 | 3 | -35/+35 |
| | |||||
* | factor out common scene setup code in InventoryArchiveTestCase | Justin Clark-Casey (justincc) | 2011-03-10 | 2 | -41/+33 |
| | |||||
* | extend TestLoadIarV0_1AbsentCreator() to check serialized object CreatorId ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 1 | -0/+6 |
| | | | | as well | ||||
* | re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator() | Justin Clark-Casey (justincc) | 2011-03-10 | 2 | -5/+6 |
| | |||||
* | For objects loaded from an IAR, make sure the CreatorID points towards the ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 2 | -8/+42 |
| | | | | | | | | | OSP resolved ID if newer CreationData is not present. This should resolve issues where the creator for rezzed objects was being shown as "Unknown user" where previous behaviour was to show the OSP resolved account. This is being done by parsing the serialized objects and updating the CreatorID if no CreationData exists. This operation might be expensive for sculpties where the sculpt texture is inlined with the object data. Will just have to see. This relies on the IAR streaming inventory data before asset data (as is currently the case). Will need to introduce more stringent checks for file order on loading (much like JAR zips must start with the manifest file). This is for IAR loading only. Tests updated to check this behaviour. | ||||
* | When setting up default iar for testing, use iar archiving code rather than ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 3 | -13/+17 |
| | | | | constructing the tar manually | ||||
* | Change existing users load iar test so that it fulfills it's original ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 2 | -11/+15 |
| | | | | | | intention (i.e. OSPA resolution, which is still active). Will need to write a separate test for the simplest case where creator accounts with appropriate uuids exist on iar load. | ||||
* | Split the inventory path testing parts of TestLoadIarV0_1ExistingUsers() ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 2 | -23/+46 |
| | | | | into a new test TestLoadIarToInventoryPaths() | ||||
* | Make the item created in the default test iar an object rather than a script | Justin Clark-Casey (justincc) | 2011-03-09 | 1 | -2/+27 |
| | |||||
* | minor: change the order of some default iar setup in test case | Justin Clark-Casey (justincc) | 2011-03-09 | 1 | -5/+7 |
| | |||||
* | Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately. | Justin Clark-Casey (justincc) | 2011-03-09 | 3 | -3/+0 |
| | | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement. | ||||
* | Split out path tests from InventoryArchiveTests. Factor common code into ↵ | Justin Clark-Casey (justincc) | 2011-03-09 | 3 | -531/+562 |
| | | | | test case parent | ||||
* | Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵ | Justin Clark-Casey (justincc) | 2011-03-09 | 2 | -50/+17 |
| | | | | static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests | ||||
* | Make -m shortcut option for --merge on load iar specific. Correct some log ↵ | Justin Clark-Casey (justincc) | 2011-03-08 | 1 | -7/+7 |
| | | | | message origins. | ||||
* | Construct test load iar only once and reuse for each test, rather than ↵ | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -8/+18 |
| | | | | recreating it every time | ||||
* | Addresses mantis #5360: CreatorData was being written as long as it wasn't ↵ | Diva Canto | 2011-02-03 | 1 | -0/+2 |
| | | | | null. This made iars backwards incompatible when some items had non-null foreign creators. This patch adds an explicit option (-c) to preserve foreign creator information. | ||||
* | Added a -v|verbose option to save iar. | Diva Canto | 2011-01-08 | 2 | -1/+9 |
| | |||||
* | uncomment "load iar" help lines which added the --merge option | Justin Clark-Casey (justincc) | 2010-12-18 | 1 | -5/+3 |
| | |||||
* | minor: add [-p|--profile=<url>] to usage line that pops up if save iar ↵ | Justin Clark-Casey (justincc) | 2010-12-18 | 1 | -3/+3 |
| | | | | console command isn't valid | ||||
* | Raise maximum iar version that master can load to 1.x, so that it can load ↵ | Justin Clark-Casey (justincc) | 2010-12-18 | 1 | -1/+1 |
| | | | | its own iars (oops) | ||||
* | Remove the restriction that you have to be logged in when loading/saving iars | Justin Clark-Casey (justincc) | 2010-12-11 | 2 | -72/+70 |
| | | | | This is pointless as we're supplying the password on the command line | ||||
* | If we're saving an IAR with --profile information, then label this a version ↵ | Justin Clark-Casey (justincc) | 2010-12-11 | 1 | -5/+22 |
| | | | | 1.0 IAR since it isn't compatible with older OpenSim releases. | ||||
* | Fix unit test. | Diva Canto | 2010-11-29 | 3 | -9/+16 |
| | |||||
* | Preservation of creator information now also working in IARs. Cleaned up ↵ | Diva Canto | 2010-11-29 | 4 | -35/+63 |
| | | | | usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function. | ||||
* | minor: remove some old commented out code | Justin Clark-Casey (justincc) | 2010-10-30 | 1 | -22/+0 |
| | |||||
* | Formatting cleanup. | Jeff Ames | 2010-10-27 | 2 | -6/+6 |
| | |||||
* | print IAR version number on console when saving | Justin Clark-Casey (justincc) | 2010-10-22 | 1 | -2/+6 |
| | |||||
* | Implement guard against trying to load incompatible version IARs | Justin Clark-Casey (justincc) | 2010-10-22 | 1 | -2/+19 |
| | |||||
* | start parsing iar control file | Justin Clark-Casey (justincc) | 2010-10-22 | 1 | -1/+19 |
| | | | | This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml | ||||
* | write IAR control file first in the archive rather than last | Justin Clark-Casey (justincc) | 2010-10-22 | 1 | -4/+6 |
| | |||||
* | Stop the InventoryTransferModule logging every IM notification it receives, ↵ | Justin Clark-Casey (justincc) | 2010-10-19 | 1 | -3/+3 |
| | | | | even if they are nothing to do with it. |