aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land/Tests/PrimCountModuleTests.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)1-1/+1
automatically turns off any logging enabled between tests
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)1-1/+1
the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)1-9/+9
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)1-16/+16
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)1-1/+0
OpenSim.Tests.Common instead
2011-04-06Signal prim count taint if the AbsolutePosition of a scene object changes.Justin Clark-Casey (justincc)1-4/+26
This updates prim counts correctly if an object is moved by something other than an avatar (e.g. scripts, region modules) Create TestMoveOwnerObject() regression test for this case.
2011-04-06Improve previous ILandObject method doc.Justin Clark-Casey (justincc)1-43/+59
For test code, take a part name prefix when creating objects, so that these can be more easily identified in the logs
2011-04-06Add method doc to some land bitmap methods in ILandObject.Justin Clark-Casey (justincc)1-5/+47
Also changes prim count tests to use the correct upper region bounds, though the method actually ignores the overage.
2011-04-02add test for removing group owned objectsJustin Clark-Casey (justincc)1-0/+32
2011-04-02add test for adding group object, factor out initial zero counts testJustin Clark-Casey (justincc)1-7/+45
2011-04-02add remove others object prim count testJustin Clark-Casey (justincc)1-0/+23
2011-04-02refactor: rename m_dummyUserId to m_otherUserIdJustin Clark-Casey (justincc)1-9/+9
2011-04-02If the land has no group ownership (it is UUID.Zero) then don't put prims in ↵Justin Clark-Casey (justincc)1-0/+21
the group count when they are also not group owned. Also adds simple test for others owned count when an object is added
2011-03-30(re)implement selected prim count.Justin Clark-Casey (justincc)1-0/+6
This does not currently count objects that are sat upon (which the viewer ui implies should be included in this count)
2011-03-26move total parcel prim calculations into IPrimCounts instead of doing this ↵Justin Clark-Casey (justincc)1-1/+7
in LLClientView need to move selected prim counts from LandData/LMM still
2011-03-26When an object is duplicated, add the dupe to the uuid/local id indexes as ↵Justin Clark-Casey (justincc)1-0/+23
well as the basic entities list. Added a prim counts test to reinforce this - shift-copy was no incrementing prim count. This will sometime become a basic scene test. New code needs to be refactored so we just call SceneGraph.AddSceneObject(). This will happen in the near future. With this, basic owner prim counts on a single parcel appear to be working fine (with the same previous existing taint calls as used by the land management module). More work to do.
2011-03-26Add test for PCM taint. This currently fails due to unexpected behaviour of ↵Justin Clark-Casey (justincc)1-1/+23
SceneGraph.ForEachSOG(). This will be corrected soon. Also adds lots of temproarily debug logging
2011-03-25Add ILandObject.IPrimCounts for the new prim count module.Justin Clark-Casey (justincc)1-28/+32
Not functional yet, but tests now act against this object rather than interrogating the module directly
2011-03-23factor out common test setup code in PCM testsJustin Clark-Casey (justincc)1-57/+53
2011-03-23extend TestAddOwnerObject() to add a second objectJustin Clark-Casey (justincc)1-4/+14
2011-03-23Add PrimCountModuleTests.TestRemoveOwnerObject().Justin Clark-Casey (justincc)1-1/+38
Also adds SceneSetupHelpers methods to easily create sogs with different part UUIDs
2011-03-23refactor: simplify part of AddSceneObject() test setup by moving sog ↵Justin Clark-Casey (justincc)1-10/+1
construction into SceneSetupHelpers.CreateSceneObject()
2011-03-23use a 3 part object for the pcm test rather than a 1 part, for improved test ↵Justin Clark-Casey (justincc)1-10/+14
coverage
2011-03-23user a non UUID.Zero user in pcm test to avoid any special treatment of ↵Justin Clark-Casey (justincc)1-4/+5
UUID.Zero
2011-03-23Extend simple PCM add object test to check all countsJustin Clark-Casey (justincc)1-0/+11
2011-03-23Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)1-0/+2
listen for that rather than EventManager.OnParcelPrimCountAdd OnParcelPrimCountAdd had the wrong semantics for the PrimCountModule - it was invoked for every entity in the scene, not just new ones, which would screw up the untainted count. Extend automated test for this scenario.
2011-03-22Add an initial confidence-building TestAddObject() for prim counts.Justin Clark-Casey (justincc)1-21/+26
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)1-1/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-02-18Add very basic test which invokes the scene update loop once and checks the ↵Justin Clark-Casey (justincc)1-13/+19
frame number. This makes Scene.Update() match its original description of performing a single update, which also matches the semantics of SOG and ScenePresence.
2010-12-14Add mock group services connector and use this in testsJustin Clark-Casey (justincc)1-0/+11
2010-12-14add infrastructure for groups module testsJustin Clark-Casey (justincc)1-18/+17
2010-05-07GridUserService in place. Replaces the contrived concept of storing user's ↵Diva Canto1-2/+7
home and position info in the presence service. WARNING: I violated a taboo by deleting 2 migration files and simplifying the original table creation for Presence. This should not cause any problems to anyone, though. Things will work with the new simplified table, as well as with the previous contrived one. If there are any problems, solving them is as easy as dropping the presence table and deleting its row in the migrations table. The presence info only exists during a user's session anyway. BTW, the Meshing files want to be committed too -- EOFs.
2010-03-10Formatting cleanup. Add copyright notices.Jeff Ames1-1/+1
2010-03-05Justin, I must have been dyslexic when I wrote UserGridService as the name ↵Diva Canto1-4/+4
for it. GridUserService makes more sense; it's the user of the grid, "grid user". I changed it everywhere.
2010-03-05add initial UserGrid service classes as per diva's directionJustin Clark-Casey (justincc)1-8/+9
this will initially store home location data instead of the presence service compiles but not enough to actually test yet
2010-01-04AvatarStore. Untested, but completeMelanie1-0/+2
2010-01-04Some work on avatar service. Retrieval and storage doneMelanie1-1/+1
2010-01-04Avatar appearance skeletonMelanie1-7/+11
2009-11-10* Update namespace in the regioncombinermodule.Teravus Ovares (Dan Olivares)1-1/+1
2009-11-10* Move RegionCombinerModule to it's own projectTeravus Ovares (Dan Olivares)1-0/+0
* Moves the mono_metadata_token_from_dor message to a different module on loading.
2009-09-13* Add the RegionCombinerModule backTeravus Ovares (Dan Olivares)1-4/+10
* Yay anonymous delegate in an anonymous delegate.
2009-08-10Stub out the Profile and Presence servicesMelanie1-3/+2
2009-06-22Update svn properties.Jeff Ames1-38/+38
2009-06-14Factoring out "land_data" / RequestLandData that was hanging off of ↵diva1-38/+38
IGridServices, erroneously. Not sure when this is used, but now it is implemented in the new model of service connectors. Hopefully it works.
2009-06-14Update svn properties.Jeff Ames1-38/+38
2009-06-14Oops. Forgot to add this file.diva1-33/+38
2009-05-05Add copyright header. Formatting cleanup. Ignore some generated files.Jeff Ames1-0/+27
2009-05-05Some refactoring. Database is now active in the new user serverMelanie Thielker1-1/+1
2009-05-05Add an interface skeleton for user servicesMelanie Thielker1-0/+6