Justin Clarke Casey
1531035b14
* Actually properly enable the purge folders test and correct some problems
2008-12-12 20:04:58 +00:00
Justin Clarke Casey
7bbab12158
* Add user info move inventory folder test
2008-12-12 19:24:45 +00:00
Justin Clarke Casey
0e870400ca
* Delete currently unrun TestInventory.cs superseded by BasicInventoryTests
2008-12-11 18:30:57 +00:00
Justin Clarke Casey
bec3993849
* Fold mock classes into existing OpenSim/Tests/Common assembly rather than sprouting another one
2008-12-11 18:07:23 +00:00
Justin Clarke Casey
e02aaaf9db
* minor: Move mock test classes into mock namespace
2008-12-11 16:40:22 +00:00
Justin Clarke Casey
c9ae8fce5e
* refactor: Move test infrastructure code to its own package so that it can be reused by more than Environment tests
...
* This shuffles the test packages in prebuild.xml below it so they can all potentially reference it
2008-12-10 20:57:15 +00:00
Sean Dague
ce0a8d7bef
changes to Test directory structure per opensim-dev conversation
2008-09-08 20:34:45 +00:00
Melanie Thielker
6447d7132f
Adapt the unit tests to the new list rules, change some casts to
...
new method for testing
2008-09-08 19:29:16 +00:00
Mike Mazur
3cf92cb511
Use older ExpectedException attribute format. Previously tests were failing on NUnit <2.2.8.
2008-09-08 08:20:19 +00:00
Mike Mazur
993384d348
Remove trailing whitespace.
2008-09-08 01:42:47 +00:00
Mike Mazur
ec13642e1a
Convert TestStringsWithEscapedQuotesAndComments to use concatenated expected string.
2008-09-07 08:00:41 +00:00
Teravus Ovares
7d89e12293
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
...
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle.
* This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big!
* Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Dahlia Trimble
7d7f57a94d
more unit test cross-platform compatibility tweaks
2008-09-06 04:55:05 +00:00
Dahlia Trimble
01c34d5e04
more unit test tweaks in the name of cross-platform compatibility
2008-09-06 04:01:39 +00:00
Dahlia Trimble
5446bdff09
Revert changes to TestStringsWithEscapedQuotesAndComments() so it will work in Bamboo instead of windows
2008-09-06 01:22:39 +00:00
Dahlia Trimble
88cdd266ef
reformatted some of unit test standards to allow them to work when OpenSim is built in Visual Studio
2008-09-06 00:58:56 +00:00
Charles Krinke
947242f476
Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:
...
Types extracted from a LSL_Types.list have to be down-cast initially
to the exact type of value type object that the Object actually is.
This would make for very cumbersome, ugly code when extracting list
parameter items in ll functions where a few implicit conversions
should be applied such as key -> LSLString and LSLInteger -> LSLFloat
(but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem
member functions to the LLS_Type.list class, where XXX is the name
of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take
a single, int parameter that is the item number to be extracted.
2008-09-05 23:26:35 +00:00
Sean Dague
d363661a7e
complete rationalization of unit tests that we currently run
2008-09-04 22:11:13 +00:00
Sean Dague
fb9bd7dec6
normalize naming for OpenSim.Tests.Framework.dll
2008-09-04 22:06:18 +00:00
Melanie Thielker
ef27c8817f
Mantis #2112
...
Thannk you, ralphos, for a patch to clean up list item type handling
and add a missing explicit cast in Shared/
2008-09-03 18:57:06 +00:00
Melanie Thielker
2e4a5aa98a
Fix and reactivate the unit tests on the XEngine
2008-09-02 13:38:14 +00:00
Melanie Thielker
14a218dbc9
Temporarily disable the unit tests for Shared/ until they can be updated.
2008-09-02 06:19:55 +00:00
Melanie Thielker
2fbebbb644
First batch of the unit test changes for the new constants semantics
...
in XEngine. This turned out to be a lot of work to catch up.
2008-09-02 06:02:14 +00:00
Mike Mazur
2b83169c4b
Adding unit test for issue 2006, though it's commented out as those compiler
...
tests tend to tank on our continuous build server.
2008-08-20 06:09:11 +00:00
Jeff Ames
6ef9d4da90
Formatting cleanup.
2008-08-18 00:39:10 +00:00
Justin Clarke Casey
79efe37a99
* minor: rip out userserver stress project which never got filled out
2008-08-16 20:31:07 +00:00
Jeff Ames
0718aa0b7f
Minor formatting cleanup.
2008-08-07 12:55:46 +00:00
Mike Mazur
ddf126321c
Thanks, M. Igarashi & nlin, for a patch that implements unary minus operator
...
for Vector3 type. Fix issue 1872.
2008-07-31 09:34:13 +00:00
Mike Mazur
2270b25265
Thanks, sempuki, for a patch that moves all Grid Server's plugins to
...
PluginLoader. Fix issue 1871.
2008-07-31 09:24:28 +00:00
Mike Mazur
16cf5aa2b8
Allow the list hack from issue 1863 to compile, however its behavior is
...
different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for
details.
2008-07-31 07:11:49 +00:00
Mike Mazur
57ec7a26cd
-make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can be
...
used in scripts
-cast from bool to LSL{Integer,Float,String} so functions such as `integer
isZero(integer x) { return (x == 0); }` work
-progress on issue 1863
2008-07-31 07:11:41 +00:00
Mike Mazur
56c4cc39ff
Allow assignments in if/while/do-while control statements. Fix issue 1862.
2008-07-31 04:13:46 +00:00
Mike Mazur
eef3864278
Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-while
...
statements with no body.
2008-07-31 01:27:33 +00:00
Mike Mazur
1c8f490573
More LSL_Types implicit/explicit cast changes. Fix issue 1854.
2008-07-31 00:29:19 +00:00
Mike Mazur
f6fa4ada4e
When casting strings to int, use double.Parse() as strings may be floats. With
...
this commit, issue 1822 should be fixed.
2008-07-28 07:46:53 +00:00
Mike Mazur
d959c65b91
-implement LSLString -> Quaternion explicit cast
...
-sync Shared/LSL_Types.cs with Common/LSL_Types.cs
-get the test script in issue 1822 to compile
2008-07-28 02:36:26 +00:00
Mike Mazur
a61e1ea7dc
Adding explicit cast from LSLFloat to LSLInteger. Work on issue 1822.
2008-07-28 02:36:22 +00:00
Mike Mazur
82fa53a486
-copy LSL_Types tests from Common/ to Shared/
...
-fix some whitespace/formatting
2008-07-28 02:36:18 +00:00
Mike Mazur
6267db0c4c
Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &
...
1832.
2008-07-27 05:42:47 +00:00
Mike Mazur
19ad7db5e1
Add casts from integer to float. Fix issue 1822.
2008-07-25 07:50:31 +00:00
Mike Mazur
e60cf0e67d
-add test for newly introduced cast operators (issue 1818)
...
-fix formatting
-remove CompilerTest test since it seems to fail randomly
2008-07-25 04:47:11 +00:00
Jeff Ames
a4ad6a67b7
Update svn properties. Minor formatting cleanup.
2008-07-24 15:20:47 +00:00
Mike Mazur
d58346e798
Refactor some tests.
2008-07-24 07:23:36 +00:00
Mike Mazur
117cc09edc
Replace implicit casts from LSLFloat to int and uint which were removed in
...
r5487.
Also put the unit tests back for Bamboo to execute them, let's see how this
goes.
2008-07-24 05:23:38 +00:00
Mike Mazur
ba17b0df27
First version of position mapping between LSL <-> C# implemented.
2008-07-23 02:51:45 +00:00
Jeff Ames
19fd2230bf
Update svn properties. Fix some inconsistent newlines.
2008-07-19 09:35:48 +00:00
Charles Krinke
0106f96716
Mantis#1755. Thank you kindly, Matth for a patch that solves:
...
When using math operators +,-,*,/ in an LSL script with an LSLFloat
and an integer literal the wrong result is returned. This patch
adds operators to the LSLFloat type to handle this case.
2008-07-16 14:30:22 +00:00
Charles Krinke
4350613f1d
Mantis#1746. Thank you kindly, nlin for pointing out that
...
I needed to apply the patch a little better then last night
for: Dot product operator in LSL_Types.cs incorrectly returns
a component-wise vector multiplication; it should return a
scalar dot product. Thanks to M. Igarashi for the patch.
2008-07-16 03:07:54 +00:00
Charles Krinke
476e08286e
Mantis#1728. Thank you kindly, Mikem for a patch that solves:
...
The compiler was missing grammar rules for += etc. operators on
vector.member variables, which the attached patch implements.
2008-07-14 01:07:21 +00:00
Melanie Thielker
d85774c101
Patch #9142 (No mantis)
...
Add a config option to OpenSim.ini to select between script compilers
in the XEngine without recompile.
Set UseNewCompiler=true in OpenSim.ini and try it out.
Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-12 01:34:36 +00:00