| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
a pre agent update handler. Null check these separately.
|
|\ |
|
| | |
|
|\ \
| |/
|/|
| | |
Signed-off-by: Melanie <melanie@t-data.com>
|
| |
| |
| |
| | |
(forgot to change test descriptions, has no effect on running the tests)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The base test class now tries to connect to DB, ignores all tests in the
class if unable to.
Also m_log changed to instance field (which in this case shouldn't cause
any problems), to avoid having to define it separately in each derived
class. Here I touched things that I don't understand well (using log4net),
so please review this commit.
|
| |
| |
| |
| |
| |
| | |
There was a whole bunch of these SQL files, all empty and apparently
unused. Removing them is just a clean-up, if anybody has a reason for these
files to be there, feel free to revert.
|
| |
| |
| |
| | |
(some Estate SQL left behind in the Region migration)
|
| |
| |
| |
| | |
Again, the same thing about potentially having non-GUID CreatorID.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Besides, AssetData is slightly optimized to StoreAsset in one request
("IF EXISTS() UPDATE ... ELSE INSERT ...")
The main change in the MS SQL Inventory implem. is that it now return
empty list (or whatever) when called with UUID.Zero, which is consistent
with how the code for other DBs work.
I did no changes at all in XInventory, as there is no test set for them.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ok, so the estate stores now want their own migration files, but as it
happened the SQL definition were inside the Region migrations.
It seems better/cleaner to keep each 'store' separately updatable.
WARNING: any editing in the middle of the migration scripts (as opposite
to just appending to them) has the potential of messing up updates of
existing databases. As far as I can see, this one is (probably) safe,
the worst that could happen is the EstateStore migration silently fail
if the estate the tables are already there.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The tests have been modified to work under NUnit 2.4.6
(the one currently used in the project).
They will also work with NUnit 2.5+ as is, but will look better
if you #define NUNIT25 for them.
|
| |
| |
| |
| |
| |
| |
| | |
NOTE that this INI file is currently loaded as a embedded RESOURCE, which is weird and has a
disadvantage of having to rebuild the Tests whenever the conn strings are changed.
The only reason is that I couldn't figure out a reliable way to put this INI into the correct
dir at runtime. If somebody can do it, that would be cool.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
AssetTests: The name has changed to reflect the fact it is no longer a base class,
but the complete asset test for all supported databases.
The test can also check storing of CreatorID, but the feature is
disabled at this commit!
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problem was that some tests relied on prior tests
to leave the DB in a particular state, but the test class
cleared the DB every time. The affected tests have been
merged into one to remove the dependencies.
tested on all 3 Dbs, all tests green.
|
| |
| |
| |
| |
| | |
(added more functions for cleaning up DB from the
derived tests)
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed unfinished SQL in FetchAssetMetadataSet, fixed SQL
in UpdateAsset (must not modify ID).
NOT tested! But apparently shouldn't work worse than the previous version,
esp. the FetchMetadata thing.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are some generic classes that simplify writing tests
for any of the data connectors and databases. Among other
things, configuring the connection strings is done once,
in a separate resource file.
Tests based on the new BasicDataServiceTest class require
NUnit 2.5 or better.
|
| | |
|
| |
| |
| |
| | |
attachments
|
|\ \ |
|
| |/ |
|
| |
| |
| |
| |
| | |
Adds dialog methods for MRM.
Thanks ziah.
|
| |
| |
| |
| | |
Adds OwnerId and CreatorId properties to MRM.IObject
|
| |
| |
| |
| |
| | |
This prevents a ground-sitting avatar from being moved about in mouselook
Thanks mirceakitsune!
|
| |\ |
|
| | |
| | |
| | |
| | | |
parameter. Now modules themselfs don't necessarily need to convert strings to byte arrays. Added this as it was removed in LightShare patch.
|
| |/
|/| |
|
|\ \
| |/ |
|
| |\ |
|
| | | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
that uuid is already in the scene
this means that we don't perform pointless work
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
deprioritizes
static prims, creating a hierarchy as follows:
0 == own avatar < other avatars < pysical prims < static prims
For a child agent, simply acts like FrontBack
|
| |/
|/|
| |
| | |
update priority policy
|
|/
|
|
|
|
|
| |
Prioritizer.cs
* Simplified the interest management code to make it easier to add new policies. Prioritization and reprioritization share code paths now
* Improved the distance and front back policies to always give your avatar the highest priority
|
|
|
|
| |
isn't, really
|
|
|
|
| |
scene with that uuid fails
|
|
|
|
| |
improve test to retrieve object by known uuid rather than dynamically assigned local id
|
|
|
|
|
|
| |
successfully adding an object rather than true, in defiance of its method documentation
This meant that the returns were inconsistent - false would be returned both for various scene object failure conditions (e.g. root part was null) and if the object was successfully added.
|
|
|
|
|
| |
reused in both tests and oar code
reduction in checking is outweighed by greater test clarity
|
| |
|
| |
|