Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 3 | -10/+48 | |
| | | | | | | | | | 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. | |||||
* | in AssetHelpers.CreateAsset(), create objects using the 'original' xml ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 1 | -1/+1 | |
| | | | | format rather than 'xml2' | |||||
* | 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 | 34 | -86/+5 | |
| | | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement. | |||||
* | Add log messages on teleport failure to better pin down the cause. | Justin Clark-Casey (justincc) | 2011-03-09 | 3 | -6/+19 | |
| | ||||||
* | Split out path tests from InventoryArchiveTests. Factor common code into ↵ | Justin Clark-Casey (justincc) | 2011-03-09 | 3 | -531/+562 | |
| | | | | test case parent | |||||
* | remove inventory service preserving code from SceneSetupHelpers too | Justin Clark-Casey (justincc) | 2011-03-09 | 1 | -37/+10 | |
| | ||||||
* | Simplify SceneSetupHelpers class by removing all code which was originally ↵ | Justin Clark-Casey (justincc) | 2011-03-09 | 1 | -53/+40 | |
| | | | | preserving service instances between tests. This wasn't being used anyway and just leads to hard to diagnose test failures. | |||||
* | Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵ | Justin Clark-Casey (justincc) | 2011-03-09 | 5 | -68/+89 | |
| | | | | 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. | |||||
* | Pull up Assembly of the MySQL classes as a protected property, so that it ↵ | Diva Canto | 2011-03-08 | 6 | -11/+39 | |
| | | | | can be overwritten in subclasses. That way extensions can decide in which assembly migration resources should be looked up. This is just a refactor -- no functional changes whatsoever. | |||||
* | factor out SetPartMediaFlags() function in MoapModule. | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -11/+20 | |
| | ||||||
* | 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 | |||||
* | Fold ClearMediaEntry() back into SetMediaEntry() | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -21/+9 | |
| | ||||||
* | Change MoapModule.ClearMediaEntry to set TextureEntryFace.MediaFlags back to ↵ | Justin Clark-Casey (justincc) | 2011-03-05 | 3 | -9/+68 | |
| | | | | | | false Implement test for ClearMediaEntry() | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Mic Bowman | 2011-03-04 | 3 | -8/+8 | |
|\ | ||||||
| * | minor: remove some mono compiler warnings | Justin Clark-Casey (justincc) | 2011-03-05 | 3 | -8/+8 | |
| | | ||||||
* | | Changed order of checks for local regions when processing | Mic Bowman | 2011-03-04 | 1 | -16/+6 | |
|/ | | | | | AgentUpdate messages. Should improve throttles and reprioritization when an avatar is moving. | |||||
* | minor: Make MoapModule namespace consistent with other modules | Justin Clark-Casey (justincc) | 2011-03-05 | 2 | -2/+2 | |
| | ||||||
* | add test for MoapModule.SetMediaUrl() | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -0/+72 | |
| | ||||||
* | Fix bug where llSetPrimMediaParams() reported success but never set the ↵ | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -3/+14 | |
| | | | | | | media texture. We weren't setting the TextureEntryFace.MediaFlags = true when a media texture was set directly via a script. This was being done when the viewer was setting them directly. | |||||
* | Normalizing comparison to lower case, just in case ppl set their config vars ↵ | Diva Canto | 2011-03-01 | 1 | -1/+1 | |
| | | | | inconsistently. (maybe related to mantis #5386) | |||||
* | Fix a few little things | Melanie | 2011-02-27 | 2 | -0/+5 | |
| | ||||||
* | change some log messages from info to debug | Justin Clark-Casey (justincc) | 2011-02-25 | 3 | -3/+3 | |
| | ||||||
* | Make the file expiration defaults the same whether the whole [FLOTSAM ASSET ↵ | Justin Clark-Casey (justincc) | 2011-02-25 | 1 | -3/+3 | |
| | | | | CACHE] section is missing or just the particular config values | |||||
* | instead of using different default memory expiration depending on whether ↵ | Justin Clark-Casey (justincc) | 2011-02-25 | 1 | -11/+2 | |
| | | | | | | there is a [FLOTSAM ASSET CACHE] section present at all, use the same default all the time this simplifies the code | |||||
* | log actual cache directory for FlotsamAssetCache instead of always logging ↵ | Justin Clark-Casey (justincc) | 2011-02-25 | 1 | -1/+1 | |
| | | | | the default | |||||
* | Fix bug where having no maximum memory cache timeout would cause the flotsam ↵ | Justin Clark-Casey (justincc) | 2011-02-25 | 1 | -1/+1 | |
| | | | | | | asset cache to try using Double.MaxValue, which would cause the underlying OpenMetaverse.ExpiringCache to choke. There is probably an underlying bug to fix in ExpiringCache. | |||||
* | Fix bug where avatars in other regions would not always show up on the mini-map | Justin Clark-Casey (justincc) | 2011-02-24 | 1 | -1/+2 | |
| | ||||||
* | On a Grid Handler exception, explicitly log the exception message and stack ↵ | Justin Clark-Casey (justincc) | 2011-02-24 | 1 | -2/+2 | |
| | | | | trace so that we get somewhat better diagnostics on windows | |||||
* | Forces the owner of a rezzed object to be the "rezzer" of the | Mic Bowman | 2011-02-22 | 1 | -0/+2 | |
| | | | | | | object rather than the owner of the inventory item. In theory, this shouldn't happen unless you are using grid-wide library for inventory. | |||||
* | Parameterizes the view distance used to compute and manage | Mic Bowman | 2011-02-22 | 5 | -21/+66 | |
| | | | | | | | | | | | | | | child agents in neighbor regions. This means you can extend the view on a simulator beyond the default 3x3 regions. This uses a region default draw distance and should be replaced at some point by the avatar specified draw distance. That will require more careful, dynamic recomputation of child agents every time the draw distance changes. WARNING: this is experimental and has known instabilities. specifically all regions "within site" should be running the same default draw distance or agents will not be closed correctly. | |||||
* | GetRegion(s)ByName with SQLite behaves like it does with other databases. | Marck | 2011-02-22 | 1 | -10/+38 | |
| | | | | The in-memory storage of region data that is used by default with SQLite now handles wildcards in region names in the same way as SQL queries do with other databases. | |||||
* | Remove test T020_TestMakeRootAgent() which hasn't been active for ages anyway | Justin Clark-Casey (justincc) | 2011-02-19 | 1 | -19/+0 | |
| | | | | This test was non-viable. Keeping inactive T021_TestCrossToNewRegion() around for now since it's still useful for reference purposes in constructing a future working test. | |||||
* | Remove unused SceneSetupHelpers.DeleteObjectAsync(). | Justin Clark-Casey (justincc) | 2011-02-19 | 1 | -19/+0 | |
| | | | | Calling async code in automated tests is never a good idea - things become very fragile very quickly | |||||
* | remove unused code to share services between scenes in SceneSetupHelpers - ↵ | Justin Clark-Casey (justincc) | 2011-02-19 | 1 | -52/+16 | |
| | | | | this is done differently elsewhere | |||||
* | Put some CapabilitiesModule null checks in Scene | Justin Clark-Casey (justincc) | 2011-02-18 | 4 | -11/+20 | |
| | | | | Stop tests setting up a capabilities module by default | |||||
* | If GridService.GetNeighbours() could not find the region then log a warning ↵ | Justin Clark-Casey (justincc) | 2011-02-18 | 2 | -3/+16 | |
| | | | | | | rather than causing a null reference on the normal log line This also extends the TestChildAgentEstablished() test to actually activate the EntityTransferModule, though the test is not yet viable | |||||
* | minor: remove mono compiler warning | Justin Clark-Casey (justincc) | 2011-02-18 | 1 | -1/+1 | |
| | ||||||
* | extend TestChildAgentEstablished() test slightly to put in ↵ | Justin Clark-Casey (justincc) | 2011-02-18 | 2 | -3/+12 | |
| | | | | EntityTransferModule. Not yet enabled. | |||||
* | On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵ | Justin Clark-Casey (justincc) | 2011-02-18 | 2 | -24/+44 | |
| | | | | | | | for the last stage of AddRootAgent() instead of SP.MakeRootAgent() Going this extra step doesn't appear to cause any test failures. This is arguably better for test purposes, though at some stage another method may arise which does just call AddRootAgent(). | |||||
* | remove another unused test teardown method | Justin Clark-Casey (justincc) | 2011-02-18 | 1 | -6/+0 | |
| |