aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-05Massive tab and trailing space cleanupMelanie Thielker8-19/+19
2015-11-16 work around some 'tests' error: normalization of <0,0,0> no longer causes ↵UbitUmarov1-3/+4
argument exception, missed a few more
2015-11-16 work around some 'tests' error: normalization of <0,0,0> no longer causes ↵UbitUmarov1-2/+2
argument exception
2015-11-01More EntityTransferContext plumbingMelanie Thielker2-3/+5
2015-11-01More plumbing of the EntityTransferContext (not yet complete)Melanie Thielker1-1/+1
2015-08-08Fixed failing testDiva Canto1-14/+5
2015-08-08WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto1-4/+0
inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
2014-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)1-1/+0
package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
2014-04-23Eliminated many warningsOren Hurvitz1-1/+1
2013-08-08minor: Remove console lines at bottom of FakeParcelIDTests() regression test ↵Justin Clark-Casey (justincc)1-2/+0
that were accidentally left in
2013-08-08Added regression tests for the routines related to fake parcel IDs.Kevin Cozens1-0/+84
2013-08-08Additional regression tests for the location routines in Location.csKevin Cozens1-0/+7
2013-08-01* Thanks Plugh for pointing out that the constructor that takes a ulong ↵teravus1-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.
2013-07-14Authenticate ChildAgentUpdate too.Diva Canto1-1/+1
2012-12-05minor: tidy up spacing at bottom of MundaneFrameworkTestsJustin Clark-Casey (justincc)1-6/+2
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)8-9/+15
automatically turns off any logging enabled between tests
2012-04-26Refactored how asset/inventory types are associated with content types: ↵Oren Hurvitz1-12/+11
gathered all the knowledge into a single class. Added the Mesh content type.
2012-04-24Revert "Refactored how asset/inventory types are associated with content ↵Justin Clark-Casey (justincc)1-11/+12
types: gathered all the knowledge into a single class. Added the Mesh content type." This reverts commit d3a4d67a207976cd0d116bb9021f7dfc896784e8. Accidentally committed this when I didn't mean to yet.
2012-04-24Refactored how asset/inventory types are associated with content types: ↵Oren Hurvitz1-12/+11
gathered all the knowledge into a single class. Added the Mesh content type.
2012-04-17refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)1-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.
2011-12-03Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)2-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.
2011-10-22Get UUIDGatherer to scan notecards in the graph for asset uuids.Justin Clark-Casey (justincc)1-2/+2
This is to support npc baked texture saving in oars and iars. May address http://opensimulator.org/mantis/view.php?id=5743
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)1-4/+4
2011-08-02Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)2-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.
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-28Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto1-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.
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)3-5/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-01-26Add userFlags check to isBanned. This checks bans against DenyAnonymous and ↵Tom1-3/+3
DenyMinors. Note that the ban doesn't actually work yet due to some stuff mel's working on .
2010-10-20Major refactoring of appearance handling.Master ScienceSim1-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.
2010-10-09minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-4/+4
2010-09-18* Tweaked the LocationTests for maximum coverage.Teravus Ovares (Dan Olivares)2-1/+60
* Added more mundane tests.
2010-09-18* Covered the type converters in SLUtil with unit tests.Teravus Ovares (Dan Olivares)1-1/+57
* Does anyone have an example raw notecard to look at and test the notecard parser?
2010-09-17* More Mundane TestsTeravus Ovares (Dan Olivares)2-0/+198
* SL Util tests of AssetType2ContentType and ContentType2AssetType
2010-09-18Move OpenSim/Framework/tests/PrimeNumberHelperTests.cs to ↵Justin Clark-Casey (justincc)1-0/+146
OpenSim/Framework/Tests/PrimeNumberHelperTests.cs I'm assuming the lowercase tests was a mistake. Please revert if it actually wasn't
2010-09-17* Fixed and re-enabled CacheTestsTeravus Ovares (Dan Olivares)2-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)
2010-09-17* Add a few more tests to help our meager code coverage %.Teravus Ovares (Dan Olivares)1-0/+96
* Tests Animation Constructors * Tests Animation OSD Packing/Unpacking * Tests the PrimeNumberHelper class which is used in the cache.
2010-07-30remove unused ACL classJustin Clark-Casey (justincc)1-125/+0
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+1
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2009-11-25minor: remove some mono compiler warnings, add --merge load oar switch to ↵Justin Clark-Casey (justincc)1-3/+5
help information
2009-11-23Formatting cleanup.Jeff Ames2-3/+57
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-2/+1
unknown asset type, and log an error if it ever does happen
2009-10-30* Remove the locklessqueue tests since I guess I didn't understand what it ↵Teravus Ovares (Dan Olivares)1-147/+0
was when I wrote the test.
2009-10-30* Add LocklessQueueTests. One Test is commented out because it fails. ↵Teravus Ovares (Dan Olivares)1-0/+147
It should probably work.. but I'm awaiting clarification.
2009-10-30* Adding Tests for OpenSim.Framework.Cache. Some test cases disabled until ↵Teravus Ovares (Dan Olivares)1-0/+75
mantis resolutions.
2009-10-30* Another ACL TestTeravus Ovares (Dan Olivares)1-1/+58
2009-10-30* Moving A test from the OpenSim.Framework.ACL object to the ↵Teravus Ovares (Dan Olivares)1-0/+41
OpenSim.Framework.Tests assembly. Fixing the test.
2009-10-08Remove ThreadTrackerTest. It's no longer relevant because the threadMelanie1-56/+0
tracker now uses the system thread list
2009-10-06Fixing a few compile errors in the previous commitJohn Hurliman1-138/+2
2009-09-30* Change the signature of the agent set appearance callback to prevent ↵John Hurliman1-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