aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Eliminated many warningsOren Hurvitz2014-04-231-1/+1
|
* minor: Remove console lines at bottom of FakeParcelIDTests() regression test ↵Justin Clark-Casey (justincc)2013-08-081-2/+0
| | | | that were accidentally left in
* Added regression tests for the routines related to fake parcel IDs.Kevin Cozens2013-08-081-0/+84
|
* Additional regression tests for the location routines in Location.csKevin Cozens2013-08-081-0/+7
|
* * Thanks Plugh for pointing out that the constructor that takes a ulong ↵teravus2013-08-011-7/+7
| | | | regionhandle and saves it to to X,Y vars in the OpenSim.Framework.Location object was inverting the X and Y resulting in X and Y confusion. The test also used 256x256 in the uint,uint constructor so it was unable to determine if the X and Y components swapped. I don't expect much upheaval from this commit, not a lot of features were using the ulong Location object constructor. The database never stores the ulong regionhandle... the prims are loaded by region Guid. LLUDPServer used it to determine regions that it handled in a service definition where there was simply a X == X test which has the same logical result un-switched as it did switched. Again, thanks LibOMV for the regionhandle code.
* Authenticate ChildAgentUpdate too.Diva Canto2013-07-141-1/+1
|
* minor: tidy up spacing at bottom of MundaneFrameworkTestsJustin Clark-Casey (justincc)2012-12-051-6/+2
|
* Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)2012-11-248-9/+15
| | | | automatically turns off any logging enabled between tests
* Refactored how asset/inventory types are associated with content types: ↵Oren Hurvitz2012-04-261-12/+11
| | | | gathered all the knowledge into a single class. Added the Mesh content type.
* refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)2012-04-171-2/+2
| | | | | | | EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
* Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)2011-12-032-4/+0
| | | | | This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected.
* Get UUIDGatherer to scan notecards in the graph for asset uuids.Justin Clark-Casey (justincc)2011-10-221-2/+2
| | | | | This is to support npc baked texture saving in oars and iars. May address http://opensimulator.org/mantis/view.php?id=5743
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-4/+4
|
* Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)2011-08-022-3/+3
| | | | This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-211-1/+0
| | | | OpenSim.Tests.Common instead
* Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto2011-04-281-1/+1
| | | | the agent and all attachments. Preserves backwards compatibility -- older sims get passed attachments one by one. Meaning that I finally introduced versioning in the simulation service.
* Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2011-03-093-5/+0
| | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
* Major refactoring of appearance handling.Master ScienceSim2010-10-201-2/+0
| | | | | | | | | | | | | | | | | | | AvatarService -- add two new methods, GetAppearance and SetAppearance to get around the lossy encoding in AvatarData. Preseve the old functions to avoid changing the behavior for ROBUST services. AvatarAppearance -- major refactor, moved the various encoding methods used by AgentCircuitData, ClientAgentUpdate and ScenePresence into one location. Changed initialization. AvatarAttachments -- added a class specifically to handle attachments in preparation for additional functionality that will be needed for viewer 2. AvatarFactory -- removed a number of unused or methods duplicated in other locations. Moved in all appearance event handling from ScenePresence. Required a change to IClientAPI that propogated throughout all the IClientAPI implementations.
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2010-10-091-4/+4
|
* * Tweaked the LocationTests for maximum coverage.Teravus Ovares (Dan Olivares)2010-09-182-1/+60
| | | | * Added more mundane tests.
* * Covered the type converters in SLUtil with unit tests.Teravus Ovares (Dan Olivares)2010-09-181-1/+57
| | | | * Does anyone have an example raw notecard to look at and test the notecard parser?
* * More Mundane TestsTeravus Ovares (Dan Olivares)2010-09-172-0/+198
| | | | * SL Util tests of AssetType2ContentType and ContentType2AssetType
* Move OpenSim/Framework/tests/PrimeNumberHelperTests.cs to ↵Justin Clark-Casey (justincc)2010-09-181-0/+146
| | | | | | OpenSim/Framework/Tests/PrimeNumberHelperTests.cs I'm assuming the lowercase tests was a mistake. Please revert if it actually wasn't
* * Fixed and re-enabled CacheTestsTeravus Ovares (Dan Olivares)2010-09-172-13/+164
| | | | | * Added MundaneFrameworkTests.cs for the really mundane tests like testing properties,constructors, etc in OpenSim.Framework. * Fixed LeftAxis and UpAxis unpacking from OSD to AgentPosition (copy and paste error caught while writing mundane test) (Good thing nobody uses the camera frustum from remote regions yet)
* * Add a few more tests to help our meager code coverage %.Teravus Ovares (Dan Olivares)2010-09-171-0/+96
| | | | | | * Tests Animation Constructors * Tests Animation OSD Packing/Unpacking * Tests the PrimeNumberHelper class which is used in the cache.
* remove unused ACL classJustin Clark-Casey (justincc)2010-07-301-125/+0
|
* Changed asset CreatorID to a stringJohn Hurliman2010-02-221-1/+1
|
* * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-221-1/+1
| | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* minor: remove some mono compiler warnings, add --merge load oar switch to ↵Justin Clark-Casey (justincc)2009-11-251-3/+5
| | | | help information
* Formatting cleanup.Jeff Ames2009-11-232-3/+57
|
* Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman2009-11-051-2/+1
| | | | unknown asset type, and log an error if it ever does happen
* * Remove the locklessqueue tests since I guess I didn't understand what it ↵Teravus Ovares (Dan Olivares)2009-10-301-147/+0
| | | | was when I wrote the test.
* * Add LocklessQueueTests. One Test is commented out because it fails. ↵Teravus Ovares (Dan Olivares)2009-10-301-0/+147
| | | | It should probably work.. but I'm awaiting clarification.
* * Adding Tests for OpenSim.Framework.Cache. Some test cases disabled until ↵Teravus Ovares (Dan Olivares)2009-10-301-0/+75
| | | | mantis resolutions.
* * Another ACL TestTeravus Ovares (Dan Olivares)2009-10-301-1/+58
|
* * Moving A test from the OpenSim.Framework.ACL object to the ↵Teravus Ovares (Dan Olivares)2009-10-301-0/+41
| | | | OpenSim.Framework.Tests assembly. Fixing the test.
* Remove ThreadTrackerTest. It's no longer relevant because the threadMelanie2009-10-081-56/+0
| | | | tracker now uses the system thread list
* Fixing a few compile errors in the previous commitJohn Hurliman2009-10-061-138/+2
|
* * Change the signature of the agent set appearance callback to prevent ↵John Hurliman2009-09-301-2/+1
| | | | | | | unnecessary serialization/deserialization of TextureEntry objects and allow TextureEntry to be inspected for missing bakes * Inspect incoming TextureEntry updates for bakes that do not exist on the simulator and request the missing textures * Properly handle appearance updates that do not have a TextureEntry set
* * More Test tweaking to get down to the root cause of the test wierdnessTeravus Ovares (Dan Olivares)2009-08-171-0/+2
|
* * handle litjson errors for now. We'll remove this when we hear back from ↵Teravus Ovares (Dan Olivares)2009-08-161-21/+38
| | | | http://jira.openmetaverse.org/browse/LIBOMV-675
* Misc cleanup.Jeff Ames2009-08-162-2/+2
|
* * Add ThreadTracker Tests, Tests default thread, Adding Testing and Removing ↵Teravus Ovares (Dan Olivares)2009-08-131-0/+192
| | | | | | a thread, a dead thread, and a null Thread * Fix a null thread situation
* * Add AgentCircuitManager tests for adding, removing, changing circuit code, ↵Teravus Ovares (Dan Olivares)2009-08-131-0/+201
| | | | and authentication.
* * Adds two tests to OpenSim.Framework.Tests. *AgentCircuitData test to ↵Teravus Ovares (Dan Olivares)2009-08-131-0/+339
| | | | ensure that the Packing and unpacking method to and from OSD works as expected called, TestAgentCircuitDataOSDConversion. Also created a HistoricalAgentCircuitDataOSDConversion to ensure that any changes in the way the json wire format is parsed warns us via this test.
* Give m_test* methods more reasonable namesMike Mazur2009-06-121-25/+25
| | | | | | | Changing the names of these methods because they were being picked up by nunit as tests even though they were marked private. Naming them Check* after the original Test*.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-012-2/+2
| | | | LICENSE.txt.
* Add copyright headers.Jeff Ames2009-04-141-1/+28
|
* Update svn properties.Jeff Ames2009-04-141-49/+49
|
* * Added some more experimental code; nothing wired in so far.lbsa712009-04-091-0/+49
|