aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs (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-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)1-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-06remove some obsolete tests that are now done elsewhereJustin Clark-Casey (justincc)1-53/+53
2011-08-06Add a test to check that ScenePresence and circuit go away when a root agent ↵Justin Clark-Casey (justincc)1-10/+17
is closed down
2011-08-06refactor: Change SceneHelpers.AddClient() to AddScenePresence().Justin Clark-Casey (justincc)1-31/+41
This seems to make more sense as we can get SP.ControllingClient
2011-08-06rip out sog generation methods in ScenePresenceAgentTests and use ↵Justin Clark-Casey (justincc)1-37/+7
SceneHelpers instead Not that it matters, since these tests are pretty bogus anyway. Also, renames some test classes for consistency.
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)1-7/+7
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)1-10/+10
2011-07-09Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)1-1/+1
effects and return object
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-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-19Remove test T020_TestMakeRootAgent() which hasn't been active for ages anywayJustin Clark-Casey (justincc)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.
2011-02-18If GridService.GetNeighbours() could not find the region then log a warning ↵Justin Clark-Casey (justincc)1-2/+5
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
2011-02-18extend TestChildAgentEstablished() test slightly to put in ↵Justin Clark-Casey (justincc)1-2/+9
EntityTransferModule. Not yet enabled.
2011-02-18On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵Justin Clark-Casey (justincc)1-19/+41
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().
2011-02-18remove another unused test teardown methodJustin Clark-Casey (justincc)1-6/+0
2011-02-18separate attachment tests out into their own classJustin Clark-Casey (justincc)1-50/+0
2011-02-18Add very basic test which invokes the scene update loop once and checks the ↵Justin Clark-Casey (justincc)1-3/+0
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-11-22add basic tests to check that under default permissions module owner can ↵Justin Clark-Casey (justincc)1-0/+2
delete objects and that non-owners (who are also not administrators, etc.) cannot
2010-09-06Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)1-3/+2
Added a MockRegionDataPlugin to do in-memory persistence for tests since adding this to OpenSim.Data.Null.NullDataStore doesn't seem appropriate NullDataStore can do nothing because OpenSim only ever retrieve region objects from the database on startup. Adding an in-memory store here would be unecessary overhead.
2010-08-20Unit test breakage fix.Diva Canto1-2/+7
2010-01-11CommunicationsManager deleted.Diva Canto1-5/+3
2010-01-10All Framework.Communications.Clients and Framework.Communications.Services ↵Diva Canto1-2/+2
deleted, including old LoginService.
2010-01-07* Finished SimulationServiceConnectorDiva Canto1-1/+1
* Started rerouting calls to UserService. * Compiles. May run.
2009-12-29Change teleports so the TeleportFlags are sent to the destination sim. ItMelanie1-3/+3
can now determine if a connection is from login, teleport or crossing. Needed for a meaningful banlines implementation
2009-10-30* Fix for a potential race condition in ScenePresence.AbsolutePositionJohn Hurliman1-2/+2
* Unified the way region handles are stored and used in ScenePresence * Fixed camera position for child agents * CheckForSignificantMovement now checks avatar and camera position (both are important for scene prioritization) * Removing debug code from the previous commit
2009-09-16SceneObjectGroup cleanup. Removes the default constructor and unnecessary ↵John Hurliman1-2/+1
null checks on m_rootPart
2009-09-01switching SerialiserModule to "new" region module schemedr scofield (aka dirk husemann)1-1/+1
2009-08-26* Another attempt at fixing the random spurious test error.Teravus Ovares (Dan Olivares)1-0/+6
* This time it might be the listening socket thread from HttpServer aborting with a non blocking thread abort exception. Hopefully calling Stop() on MainServer.Instance will solve that.
2009-08-19Commented T021_TestCrossToNewRegion because (1) it can fail on panda, and ↵Diva Canto1-1/+8
(2) it is not a meaningful representation of region crossing.
2009-08-17Commented 2 tests in ScenePresenceTests, one because things were being done ↵Diva Canto1-6/+13
in the wrong order, and the other because it NEEDS the inventory service set up. Test-writers, please please please do the scene setup properly EVERYWHERE. It's close to impossible to rely on tests that don't setup resource service references!
2009-08-17Add copyright header. Formatting cleanup.Jeff Ames1-1/+1
2009-08-16* ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)1-1/+1
randomly occurs. * LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
2009-08-14* allocate the dictionary for AgentCircuitData.ChildrenCapSeeds when ↵Teravus Ovares (Dan Olivares)1-0/+1
creating the circuitdata object to see if it's the cause of a null reference exception in the TestAddNeighbourRegio test
2009-08-13Deal with possible race in TestAddNeighborRegion in ScenePresenceTestsTeravus Ovares (Dan Olivares)1-0/+24
2009-07-23* Updates RESTInterregionComms and LocalInterregionComms to the new region ↵Arthur Valadares1-4/+2
module interface. This fixes an issue where region references were being added but weren't being deleted, causing those "unnotified circuit" messages. * Also fixes tests accordingly - Fixes Mantis #3452 - Fixes Mantis #3388 - Fixes Mantis #3871 - Related to Mantis #3493
2009-06-22* Panda no like LongRunningAttribute, no? Me now reverting minuscule fix, ↵lbsa711-1/+1
yes? Panda happy, eh?
2009-06-22* Added SceneTests and SceneBaseTestslbsa711-1/+1
* Changed some fields to protectesd to enable faking
2009-06-14Renamed Region/CoreModules/ServiceConnectors to ↵diva1-1/+1
Region/CoreModules/ServiceConnectorsOut. No functional changes.
2009-06-07* Reverting the test restructuring as, on second thought, this is not at all ↵lbsa711-0/+0
how the tests are structured. (pt1)
2009-06-05* Restructured Scenes Tests to follow (what I conceive of as being) current ↵lbsa711-0/+0
directory standards. (pt 1 - thank you, svn. not.)
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-07instrument most of the tests with a new InMethod function that may help us ↵Sean Dague1-10/+11
figure out where that pesky deadlock is during test runs.
2009-05-05- moving banned check and public/private check toDr Scofield1-3/+6
Scene.NewUserConnection() - adding reason reporting this enforces estate bans very early on and prevents us from circulating client objects that we'd then have to retract once we realize that the client is not allowed into the region
2009-05-03Some reorganization around service connectors. No functional changeMelanie Thielker1-1/+1
2009-04-14* Make archiver tests pump the asset server manually instead of starting the ↵Justin Clarke Casey1-1/+1
normal runtime thread * This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset quque
2009-04-09* Reinstated Scene Crossing tests, now with timeouts to check for race ↵Arthur Valadares1-16/+55
conditions
2009-03-27* Also temporarily disable T032_CrossAttachments() since this relies on the ↵Justin Clarke Casey1-1/+1
execution of T021_TestCroswsToNewRegion()
2009-03-27* Temporarily disable ScenePresenceTests.T021_TestCrossToNewRegion() as this ↵Justin Clarke Casey1-1/+1
has both WaitOnes() which don't time out and tight loops * Going to see if this stops the freeze failures where (though there may also be a separate occasional failure in the save oar test)
2009-03-27* For each test in OpenSim.Region.Framework.Scenes.Tests, tell the console ↵Justin Clarke Casey1-1/+22
when the test starts * This is to help identify which test is freezing, since all the tests in the previous dll (coremodules) succeed * Unfortunately they are not executed in the same order in which the results are listed in Bamboo