aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
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)2-2/+2
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-10early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)1-1/+1
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
2011-08-10Stop trying to deregister caps or close child agents when an NPC is removedJustin Clark-Casey (justincc)1-1/+1
2011-08-09When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)2-4/+5
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 TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)1-1/+1
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2-2/+2
2011-08-03get rid of vestigal move to parametersJustin Clark-Casey (justincc)1-1/+1
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-23Fix LLTextBox to work with the updated libOMVMelanie1-1/+1
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)2-0/+20
Disabled temporarily since file system caching disrupts subsequent test runs
2011-06-10Added missing "Old Guids=true" to ConnectionStringMakopoppo2-2/+2
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-06-02HG IM bug fix: grid_instant_message was being placed in the default port ↵Diva Canto1-1/+1
instead of the specified one.
2011-06-02Added test IM client.Diva Canto1-0/+75
2011-05-31Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)1-1/+1
If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
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/+0
2011-05-21rename UserInventoryTestsUtils -> UserInventoryHelpers for consistencyJustin Clark-Casey (justincc)1-2/+2
2011-05-21test helper rename for consistencyJustin Clark-Casey (justincc)1-1/+1
2011-05-21refactor: rename AddSceneObjectItem to AddSceneObjectJustin Clark-Casey (justincc)1-1/+1
2011-05-21refactor: move scene object item creation code into TaskInventoryHelpersJustin Clark-Casey (justincc)1-1/+22
2011-05-21move test task inventory notecard item creation into a new ↵Justin Clark-Casey (justincc)1-0/+68
TastInventoryHelpers class
2011-05-21rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵Justin Clark-Casey (justincc)1-1/+1
other test helper names
2011-05-20add test for rezzing an object from a prim itemJustin Clark-Casey (justincc)1-3/+17
2011-05-14When loading an OAR that doesn't have parcels, create a default parcelOren Hurvitz1-2/+11
2011-04-30Moved several cap-based-service-providing modules from where they were into ↵Diva Canto1-1/+0
a newly created CoreModules/Caps. Not all.
2011-04-15get rid of all traces of the now used mock service infrastructureJustin Clark-Casey (justincc)1-30/+2
2011-04-15remove old code for a mock grid service, which got removed some time backJustin Clark-Casey (justincc)1-8/+3
2011-04-15remove any reference to a mock authentication service since it doesn't exist ↵Justin Clark-Casey (justincc)1-12/+7
and we don't use it
2011-04-15remove mock asset service for tests in favour of always using the real oneJustin Clark-Casey (justincc)2-132/+5
2011-04-15Remove the mock inventory service for tests and just use the real one all ↵Justin Clark-Casey (justincc)2-199/+6
the time with an in-memory data plugin
2011-04-15Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)3-6/+30
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.
2011-04-14implement stub TestLoadCoalesecedItem(). Doesn't do what it's meant to do yet.Justin Clark-Casey (justincc)1-2/+16
2011-04-14Make scene object parts created by the test utils unit sized.Justin Clark-Casey (justincc)1-2/+2
2011-04-13First pass at moving object property requests into a queue similarMic Bowman1-9/+2
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-13Add coalesced scene objects class and serializer. This is currently only ↵Justin Clark-Casey (justincc)1-0/+15
used by the TestRezCoalescedObject() regression test. This structure matches the existing one for SceneObjects and will allow code to be reused by the uuid gatherer, other tests, etc. Test is not yet fully implemented due to a bug in rezzing coalesced objects where they all get the same name as the item. Only one object should get the same name as the item, which appears to be the one selected last when the the objects were coalesced in the first place. This bug will be addressed shortly.
2011-04-12First pass at moving object property requests into a queue similarMic Bowman1-9/+2
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-12First pass at moving object property requests into a queue similarMic Bowman1-9/+2
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-06Improve previous ILandObject method doc.Justin Clark-Casey (justincc)1-5/+11
For test code, take a part name prefix when creating objects, so that these can be more easily identified in the logs
2011-03-25Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)1-1/+1
counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
2011-03-23Add PrimCountModuleTests.TestRemoveOwnerObject().Justin Clark-Casey (justincc)1-5/+22
Also adds SceneSetupHelpers methods to easily create sogs with different part UUIDs
2011-03-23refactor common sop setup parts into a single methodJustin Clark-Casey (justincc)1-17/+23