aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicDataServiceTest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-26Fix database service unit test failures by temporarily reverting ↵Justin Clark-Casey (justincc)1-1/+7
BasicDataServiceTest extending OpenSimTestCase. Mono 2.4.3 doesn't like this when running nunit, with nunit throwing AssetTests`2 : System.MemberAccessException : Cannot create an instance of OpenSim.Data.Tests.AssetTests`2[TConn,TAssetData] because Type.ContainsGenericParameters is true. and similar. Mono 2.10.8.1 does not have this issue. So will wait until min version of mono bumps before restoring.
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)1-1/+2
automatically turns off any logging enabled between tests
2010-09-12Formatting cleanup.Jeff Ames1-5/+5
2010-09-12Add copyright headers.Jeff Ames1-1/+28
2010-05-23Ensured that tests are skipped for wrong conn string, also m_log chngAlexRa1-2/+23
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.
2010-05-23Various minor changes in the data testsAlexRa1-1/+2
2010-05-23Minor corrections in BasicDataServiceTest.csAlexRa1-0/+41
(added more functions for cleaning up DB from the derived tests)
2010-05-23Added generic base classes for testing database servicesAlexRa1-0/+171
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.