aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Helpers (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-31get rid of appearance null checks - this is never nullJustin Clark-Casey (justincc)1-0/+1
2011-08-30Fix bug in persisting saved appearances for npcsJustin Clark-Casey (justincc)1-5/+30
Assets have to be marked non-local as well as non-temporary to persist. This is now done. Hopefully addresses http://opensimulator.org/mantis/view.php?id=5660
2011-08-19Stop NPC's getting hypergrid like names in some circumstances.Justin Clark-Casey (justincc)1-0/+1
This meant punching in another AddUser() method in IUserManagement to do a direct name to UUID associated without the account check (since NPCs don't have accounts). May address http://opensimulator.org/mantis/view.php?id=5645
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)1-1/+1
removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects
2011-08-17Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵Justin Clark-Casey (justincc)2-9/+36
attachments check
2011-08-09When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)1-1/+1
agent
2011-08-06refactor: Change SceneHelpers.AddClient() to AddScenePresence().Justin Clark-Casey (justincc)1-4/+4
This seems to make more sense as we can get SP.ControllingClient
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2-2/+2
2011-08-01Get osNpcCreate appearance working with avatars that are currently in the scene.Justin Clark-Casey (justincc)1-3/+3
Had to stop using AvatarService for now since it doesn't store baked texture IDs (which is why this was failing). Also failing because cloning appearance was also cloning the AvatarApperance.Owner field, which we weren't then changing. Extended TestCreate() to check this.
2011-07-09Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)1-3/+3
effects and return object
2011-07-04Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)1-0/+9
Disabled temporarily since file system caching disrupts subsequent test runs
2011-06-04Extend TestGiveInventoryFolder() to test giving back the freshly received folderJustin Clark-Casey (justincc)1-2/+13
2011-06-04Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)2-9/+27
the same user. Extend TestGiveInventoryItem() to test giving back the same item.
2011-06-04create TestGetInventoryItem()Justin Clark-Casey (justincc)1-1/+27
2011-06-04extend TestGiveInventoryFolder() to check for the receipt by user 2Justin Clark-Casey (justincc)1-0/+21
2011-06-03add stub UserInventoryTests.GiveInventoryFolder(). Not yet completeJustin Clark-Casey (justincc)1-2/+9
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)4-4/+4
OpenSim.Tests.Common instead
2011-05-21rename test helpers enclosing package from Setup to HelpersJustin Clark-Casey (justincc)6-0/+1051