SignpostMarv
ed995a247b
adding unit test for vector casting
2012-09-07 10:54:34 +01:00
Latif Khalifa
636eca9c07
Adjust tests to previous commit
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3593 52acb1d6-8a22-11de-b505-999d5b087335
2011-12-02 05:11:51 +00:00
Latif Khalifa
57dca5a748
Make adding header as specified default for LLSD/Binary serialization.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3549 52acb1d6-8a22-11de-b505-999d5b087335
2011-06-10 13:37:53 +00:00
Latif Khalifa
66d92f135e
[API Change] Skip appending <? llsd/binary ?> header. Add overload that supports it.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3548 52acb1d6-8a22-11de-b505-999d5b087335
2011-06-10 12:56:19 +00:00
Latif Khalifa
dcb468276b
No, really fix the test.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3513 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-11 10:24:31 +00:00
Latif Khalifa
5cd2cdc7f9
Update test with the new field.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3512 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-11 10:23:26 +00:00
Latif Khalifa
1d3ee7537f
Reverse order of arguments in quaternion multiplication in order to bring it in line with BulletX physics engine and Unity3D (it's reversed in LSL). Also should fix breakage in code that depends on this ordering like Opensim.
...
TODO: comprehensive test suite for quaternion math
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3462 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-29 05:11:35 +00:00
John Hurliman
968c6fb1cd
* Added unit tests for Vector3.ApproxEquals()
...
* Fixed a bug in Utils.BytesToInt64() not handling non-zero pos values
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3445 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-01 00:22:06 +00:00
John Hurliman
f8a0cf7283
* Fixed the quaternion unit test that had incorrect results hard-coded. This test started failing after the quaternion multiplication was fixed
...
* Removing the unneeded and sketchy TickCountResolution test
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3435 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-19 22:41:58 +00:00
Latif Khalifa
4778946b7c
* Support for non absolute URIs
...
* Fix test (URIs now return escaped strings)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3367 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-28 22:11:53 +00:00
John Hurliman
f108207698
* Fixed a bug in BitPack where existing 1 bits were not being overwritten by new 0 bits
...
* Added BitPack.PackBit()
* Made Binary LLSD deserialization more lenient when parsing the header. Tests pass again
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3364 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-25 01:24:11 +00:00
John Hurliman
f5a84b39aa
* LLSD JSON serialization can now take an optional parameter to enable/disable preserving default values in serialization
...
* Fixed a regression where OSDMap.ToString() and OSDArray.ToString() were pruning default values after switching from notation output to JSON
* Fixed LLSD decoding to ignore case when parsing headers and use <? llsd/binary ?> instead of <?llsd/binary?>
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3357 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-25 23:07:16 +00:00
Latif Khalifa
c46b21a4de
LIB-834: Unhandled CAPS event after parcels land stat request
...
Patch by Ben Anhalt
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3347 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-15 08:57:36 +00:00
Latif Khalifa
5277f203b6
Fix group chat/friends conferences. Detect invitations to voice group chat/friends voice conferences LIBOMV-773 (nothing done about them for now).
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3252 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-16 07:27:11 +00:00
Jim Radford
7d76463368
LIBOMV-770 Change to how booleans are parsed via xml
...
* Updates unit tests for ChatterBoxInvitationMessage test
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3247 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-13 02:12:33 +00:00
John Hurliman
a35b8542d8
* Added more packet splitting tests
...
* OarFile loading no longer automatically decodes assets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3238 52acb1d6-8a22-11de-b505-999d5b087335
2009-12-02 00:04:42 +00:00
Jim Radford
efd8872a32
* Updates MessageTests for previous commit
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3222 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-09 07:30:02 +00:00
John Hurliman
a8a41e8044
Improved unit testing for ToBytesMultiple(). This catches at least one error that needs to be fixed
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3193 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 06:34:13 +00:00
Jim Radford
95a87c7857
LIBOMV-686 Convert NetworkManager events/delegates to new patterns
...
* Remove INetworkManager interface (it was not being used for anything)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3182 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 08:01:52 +00:00
Jim Radford
b60db797b2
LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +00:00
Jim Radford
bdeda88b3c
* Cleanup of message system, remove some cruft code, message keys are not neccessary to be included in classes, reuse uploader request class used by notecards for gestures
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2996 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-16 20:10:44 +00:00
Jim Radford
75dfeb8342
* Updates Message system to support all known message types and variants used for updating assets which are uploaded using the temporary uploader capabilities
...
* Adds a ton of inline documentation so the classes and fields are easier to understand
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2975 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 08:16:43 +00:00
Latif Khalifa
61fc8e61b6
Fixed serialization of AgentGroupDataUpdateMessage, problem discovered by unit tests
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2946 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 13:50:45 +00:00
Latif Khalifa
61cc6acf43
LIBOMV-613 Make ListInProfile actually work
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2945 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 13:00:58 +00:00
Latif Khalifa
024c4b151d
Proper implementation of messages related to RemoteParcelRequest capability
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2926 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 23:07:04 +00:00
Latif Khalifa
6453428d60
Fix tests RemoteParcelRequest -> RemoteParcelResponseMessage
...
Are these created automatically?
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2914 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 21:21:20 +00:00
omegaworks
79f0534e5c
Fixes LIBOMV-584, NetworkTests race.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2860 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-08 21:46:56 +00:00
John Hurliman
baaf1fb1f4
* Only append ACKs to outgoing packets if one or more ACKs are successfully dequeued
...
* Commented out noisy CAPS debugging messages
* Added a test (under packet tests for lack of a better place) to measure Environment.TickCount resolution and fail if the resolution is not consistently under a 10ms variance
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2813 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-27 00:29:43 +00:00
Latif Khalifa
dcb7da5a24
* [LIBOMV-549] Added Packet.ToBytesMultiple() class that will automatically split a packet with variable blocks up into multiple packets that fit in the MTU (1200). Unit test is included. This is not actually being used by the library anywhere (yet), but hopefully it will be soon
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2799 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-22 00:09:22 +00:00
John Hurliman
41dc784a91
Fixing a silly issue with NUnit thinking a helper method is actually a test
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2768 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 00:44:37 +00:00
Jim Radford
f2dbbb00b6
LIBOMV-540 Adds parameter to CopyScriptToTask method which allows the scripts running state to be set.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2758 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 21:27:38 +00:00
John Hurliman
0746947075
* Fixing premature commit of BakeLayer
...
* Adding an alternative implementation of one of the benchmark tests for serialization that should be more fair (untested)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2745 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-11 22:32:37 +00:00
Jim Radford
b1917c36d5
* Start of full documentation for LindenMessages.cs classes,
...
* adds two Benchmark tests to MessageTests.cs for comparing the IMessage formatting vs the .NET BinaryFormatter
* Updates Caps.cs with latest known capabilities
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2743 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-11 19:26:18 +00:00
Jim Radford
946cd90a06
LIBOMV-477 Adds DirLandReplyMessage + Test to Message system
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2737 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 05:44:40 +00:00
Jim Radford
7155dfa2ac
LIBOMV-529 Adds new UpdateAgentInformation Message + Test
...
LIBOMV-477 Adds PlacesReplyMessage + Test to Message system
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2736 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 04:59:43 +00:00
Jim Radford
4570370c27
LIBOMV-477 Adds TeleportFinishMessage to unit tests to verify encode/decode match
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2670 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-28 00:02:33 +00:00
Jim Radford
2ad91ceeb6
LIBOMV-477 Adds 3 known variants of ChatSessionRequestMessage to Message System
...
Adds a little documentation, and some naming cleanup
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2660 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-25 01:54:52 +00:00
Jim Radford
a9258c3cdc
LIBOMV-477 Some minor fixes to messaging system, and some test updates to fix TeamCity Test Failure.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2652 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-24 04:39:44 +00:00
Jim Radford
7129ee185e
LIBOMV-477 LindenMessages additions/fixes:
...
* New LandStatReplyMessage
* Test added for UpdateNotecardAgentInventoryMessage
LIBOMV-492 More WinGridProxy Goodness:
* New Inspectors: Notation, Raw changed to show Request/Response Headers, default Request/Response tab shows a formatted string representation of the Packet/Message being decoded.
* All messages are wire-data tested against IMessage system.
* Changed login box to be a dropdown with a few default grid options: Agni, Aditi, OSGrid, and LocalHost for Simian connections
* Some changes to GridProxy to pass along raw byte encoded data and Headers to the Caps Delegate.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2644 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-22 00:01:30 +00:00
Jim Radford
b0b7df3c8e
LIBOMV-477 Adds SendPostcardMessage to Message system
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2629 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-18 06:20:20 +00:00
Jim Radford
5f785e9dfc
LIBOMV-477 Adds UpdateScriptAgentMessage and UpdateScriptTaskMessage to the messaging system for uploading scripts to an agents inventory and a prims task inventory respectively, Tests Included
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2628 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-18 05:57:46 +00:00
Jim Radford
1293118b89
LIBOMV-477 Adds RemoteParcelRequestMessage to Message system including encode/decode test
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2608 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-16 04:25:09 +00:00
John Hurliman
d1d990f052
* Changed old references in the tests from OSDURI to OSDUri
...
* Added OpenMetaverse.Messages.CableBeach which contains several packets for the Cable Beach protocol and several OpenID Attribute Exchange definitions for avatar data
* Better handling for IPAddress values in OpenMetaverse.Messages by using helper functions
* Removed OpenMetaverse.Messages.Simian and merged those messages into the CableBeach protocol
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2607 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-15 23:17:51 +00:00
Jim Radford
8d029fa3d5
LIBOMV-477 Fix a bug deserializing AgentGroupDataUpdateMessage, LL sends the AgentID in an Array
...
* Converted URLs in Parcel Properties messages back to string (having them as Uri's did not work for null/empty URLS)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2602 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-14 05:32:20 +00:00
Jim Radford
afe715a30f
LIBOMV-477 Adds several capabilities message classes
...
* Some cleanup of LindenMessages.cs class
* Tests for all messages encode/decode are implemented and included
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2601 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-14 04:47:55 +00:00
Jim Radford
e24d24a201
LIBOMV-477 Big Messaging system update:
...
* Adds new IMessage interface for messaging system
* Adds additional Caps Messages + Tests for most (All incoming caps messages should now be handled by new messaging system)
* Unit Tests for new messaging system only test that decoding and encoding work properly, they do not confirm proper formatting required by the simulator
* Switches EventQueueCallback to decode and send message to registered callbacks
* Switches several caps requests over to new messaging interface
Some in-process work is left commented and cluttering up in a few places. Will remove after more cleanup is done
* Update source header/copyright in several classes
Note: this commit features several breaking changes to existing clients. Much code that has been only lightly tested, please report bugs in jira.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2599 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-13 09:32:25 +00:00
Jim Radford
7c76da6f4f
LIBOMV-142 Adds attribute to Network tests to allow the ability to exclude from automated processing
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2598 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-10 23:51:59 +00:00
Jim Radford
ecbfb4b1f9
* Increased Timeout for DetectObjects Unit Test
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2548 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 18:03:00 +00:00
Jim Radford
8b2f3b6df8
* Fixed verbosity error in notation unit tests
...
* Disabled Network Tests in Automated builds
* Fixed minor compile time warning due to XML comment mismatch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2547 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 17:33:54 +00:00
John Hurliman
26e0e50615
* Fixed two failing OSD tests. OSDReal.AsString() now uses a slower but more accurate method to produce values that will always round-trip. A random "B" character was removed from the XmlSD DeserializeLLSDSample() test
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2508 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-19 18:15:49 +00:00