diff options
author | lbsa71 | 2009-04-09 16:40:02 +0000 |
---|---|---|
committer | lbsa71 | 2009-04-09 16:40:02 +0000 |
commit | 5572a00295e36e3ee455a4eef9879c4685f3589d (patch) | |
tree | f0c2d7b2f417a100fcb2e5c9cccec051d1684e09 /OpenSim | |
parent | * Allows MRMs to import libraries in the OpenSim bin directory. (diff) | |
download | opensim-SC_OLD-5572a00295e36e3ee455a4eef9879c4685f3589d.zip opensim-SC_OLD-5572a00295e36e3ee455a4eef9879c4685f3589d.tar.gz opensim-SC_OLD-5572a00295e36e3ee455a4eef9879c4685f3589d.tar.bz2 opensim-SC_OLD-5572a00295e36e3ee455a4eef9879c4685f3589d.tar.xz |
* Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew*
Diffstat (limited to '')
37 files changed, 63 insertions, 6 deletions
diff --git a/OpenSim/Data/MySQL/Tests/MySQLAssetTest.cs b/OpenSim/Data/MySQL/Tests/MySQLAssetTest.cs index ff324e7..fd6f508 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLAssetTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLAssetTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.MySQL.Tests | 35 | namespace OpenSim.Data.MySQL.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs b/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs index a2f0a4c..1f44b4b 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.MySQL.Tests | 35 | namespace OpenSim.Data.MySQL.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs b/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs index a1b973a..23512dc 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.MySQL.Tests | 35 | namespace OpenSim.Data.MySQL.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs b/OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs index 298b4fc..f539359 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.MySQL.Tests | 35 | namespace OpenSim.Data.MySQL.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs b/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs index ff64e59..294a80e 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.MySQL.Tests | 35 | namespace OpenSim.Data.MySQL.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/MySQL/Tests/MySQLUserTest.cs b/OpenSim/Data/MySQL/Tests/MySQLUserTest.cs index 920fcf1..3da06c8 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLUserTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLUserTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.MySQL.Tests | 35 | namespace OpenSim.Data.MySQL.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlAssetTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlAssetTest.cs index e60cb5a..66bb8b0 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlAssetTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlAssetTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlEstateTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlEstateTest.cs index 11c8575..b344bf0 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlEstateTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlEstateTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlGridTest.cs index 3f085f3..6fd0b29 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlGridTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlGridTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlInventoryTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlInventoryTest.cs index 8017f71..e9ca83a 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlInventoryTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlInventoryTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs index 572ac2c..e04c5fa 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlUserTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlUserTest.cs index 02b0dc8..f78a301 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlUserTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlUserTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLAssetTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLAssetTest.cs index 63fcbc6..8f36a4a 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLAssetTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLAssetTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs index 0915e0d..1503838 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLInventoryTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLInventoryTest.cs index 51f8cb1..771ba58 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLInventoryTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLInventoryTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLRegionTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLRegionTest.cs index 7417a2a..982f8db 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLRegionTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLRegionTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLUserTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLUserTest.cs index 57c0741..c446c24 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLUserTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLUserTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySqlEstateTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySqlEstateTest.cs index af61738..149c01c 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySqlEstateTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySqlEstateTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLAssetTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLAssetTest.cs index 1601121..914fabf 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLAssetTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLAssetTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLEstateTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLEstateTest.cs index 672a76d..c51aabf 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLEstateTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLEstateTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLGridTest.cs index 92f2385..9397f74 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLGridTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLGridTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLInventoryTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLInventoryTest.cs index 98937bf..9969a8f 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLInventoryTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLInventoryTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLRegionTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLRegionTest.cs index 8df0061..4a02bef 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLRegionTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLRegionTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLUserTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLUserTest.cs index aed54cc..bc3c9cd 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLUserTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLUserTest.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework; | |||
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | 31 | using log4net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenSim.Tests.Common; | ||
33 | 34 | ||
34 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteAssetTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteAssetTest.cs index 50ad0e9..fd4035d 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteAssetTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteAssetTest.cs | |||
@@ -31,6 +31,7 @@ using NUnit.Framework; | |||
31 | using OpenSim.Data.Tests; | 31 | using OpenSim.Data.Tests; |
32 | using log4net; | 32 | using log4net; |
33 | using System.Reflection; | 33 | using System.Reflection; |
34 | using OpenSim.Tests.Common; | ||
34 | 35 | ||
35 | namespace OpenSim.Data.NHibernate.Tests | 36 | namespace OpenSim.Data.NHibernate.Tests |
36 | { | 37 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs index e8b3dd3..39e704a 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs | |||
@@ -31,6 +31,7 @@ using NUnit.Framework; | |||
31 | using OpenSim.Data.Tests; | 31 | using OpenSim.Data.Tests; |
32 | using log4net; | 32 | using log4net; |
33 | using System.Reflection; | 33 | using System.Reflection; |
34 | using OpenSim.Tests.Common; | ||
34 | 35 | ||
35 | namespace OpenSim.Data.NHibernate.Tests | 36 | namespace OpenSim.Data.NHibernate.Tests |
36 | { | 37 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs index fad2c7d..0663a16 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs | |||
@@ -31,6 +31,7 @@ using NUnit.Framework; | |||
31 | using OpenSim.Data.Tests; | 31 | using OpenSim.Data.Tests; |
32 | using log4net; | 32 | using log4net; |
33 | using System.Reflection; | 33 | using System.Reflection; |
34 | using OpenSim.Tests.Common; | ||
34 | 35 | ||
35 | namespace OpenSim.Data.NHibernate.Tests | 36 | namespace OpenSim.Data.NHibernate.Tests |
36 | { | 37 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteInventoryTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteInventoryTest.cs index 7ec3ccb..e30210d 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteInventoryTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteInventoryTest.cs | |||
@@ -31,6 +31,7 @@ using NUnit.Framework; | |||
31 | using OpenSim.Data.Tests; | 31 | using OpenSim.Data.Tests; |
32 | using log4net; | 32 | using log4net; |
33 | using System.Reflection; | 33 | using System.Reflection; |
34 | using OpenSim.Tests.Common; | ||
34 | 35 | ||
35 | namespace OpenSim.Data.NHibernate.Tests | 36 | namespace OpenSim.Data.NHibernate.Tests |
36 | { | 37 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteRegionTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteRegionTest.cs index a7eb265..56aecc2 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteRegionTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteRegionTest.cs | |||
@@ -31,6 +31,7 @@ using NUnit.Framework; | |||
31 | using OpenSim.Data.Tests; | 31 | using OpenSim.Data.Tests; |
32 | using log4net; | 32 | using log4net; |
33 | using System.Reflection; | 33 | using System.Reflection; |
34 | using OpenSim.Tests.Common; | ||
34 | 35 | ||
35 | namespace OpenSim.Data.NHibernate.Tests | 36 | namespace OpenSim.Data.NHibernate.Tests |
36 | { | 37 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs index 90958ec..da57518 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs | |||
@@ -31,6 +31,7 @@ using NUnit.Framework; | |||
31 | using OpenSim.Data.Tests; | 31 | using OpenSim.Data.Tests; |
32 | using log4net; | 32 | using log4net; |
33 | using System.Reflection; | 33 | using System.Reflection; |
34 | using OpenSim.Tests.Common; | ||
34 | 35 | ||
35 | namespace OpenSim.Data.NHibernate.Tests | 36 | namespace OpenSim.Data.NHibernate.Tests |
36 | { | 37 | { |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs index db21892..7221811 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System.IO; | 28 | using System.IO; |
29 | using NUnit.Framework; | 29 | using NUnit.Framework; |
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using OpenSim.Tests.Common; | ||
31 | 32 | ||
32 | namespace OpenSim.Data.SQLite.Tests | 33 | namespace OpenSim.Data.SQLite.Tests |
33 | { | 34 | { |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs index dadc2da..9ed9897 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System.IO; | 28 | using System.IO; |
29 | using NUnit.Framework; | 29 | using NUnit.Framework; |
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using OpenSim.Tests.Common; | ||
31 | 32 | ||
32 | namespace OpenSim.Data.SQLite.Tests | 33 | namespace OpenSim.Data.SQLite.Tests |
33 | { | 34 | { |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs index 9c65cd2..a5b2e06 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System.IO; | 28 | using System.IO; |
29 | using NUnit.Framework; | 29 | using NUnit.Framework; |
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using OpenSim.Tests.Common; | ||
31 | 32 | ||
32 | namespace OpenSim.Data.SQLite.Tests | 33 | namespace OpenSim.Data.SQLite.Tests |
33 | { | 34 | { |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs index 2c2dc3c..be17a38 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System.IO; | 28 | using System.IO; |
29 | using NUnit.Framework; | 29 | using NUnit.Framework; |
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using OpenSim.Tests.Common; | ||
31 | 32 | ||
32 | namespace OpenSim.Data.SQLite.Tests | 33 | namespace OpenSim.Data.SQLite.Tests |
33 | { | 34 | { |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs index f074b64..1c0ba71 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System.IO; | 28 | using System.IO; |
29 | using NUnit.Framework; | 29 | using NUnit.Framework; |
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using OpenSim.Tests.Common; | ||
31 | 32 | ||
32 | namespace OpenSim.Data.SQLite.Tests | 33 | namespace OpenSim.Data.SQLite.Tests |
33 | { | 34 | { |
diff --git a/OpenSim/Data/Tests/DatabaseTestAttribute.cs b/OpenSim/Tests/Common/DatabaseTestAttribute.cs index b500f40..9d21831 100644 --- a/OpenSim/Data/Tests/DatabaseTestAttribute.cs +++ b/OpenSim/Tests/Common/DatabaseTestAttribute.cs | |||
@@ -3,15 +3,15 @@ using System.Collections.Generic; | |||
3 | using System.Text; | 3 | using System.Text; |
4 | using NUnit.Framework; | 4 | using NUnit.Framework; |
5 | 5 | ||
6 | namespace OpenSim.Data.Tests | 6 | namespace OpenSim.Tests.Common |
7 | { | 7 | { |
8 | [AttributeUsage(AttributeTargets.All, | 8 | [AttributeUsage(AttributeTargets.All, |
9 | AllowMultiple=false, | 9 | AllowMultiple=false, |
10 | Inherited=true)] | 10 | Inherited=true)] |
11 | public class DatabaseTestAttribute : CategoryAttribute | 11 | public class DatabaseTestAttribute : LongRunningAttribute |
12 | { | 12 | { |
13 | public DatabaseTestAttribute() : base("Database") | 13 | public DatabaseTestAttribute() : base("Database") |
14 | { | 14 | { |
15 | } | 15 | } |
16 | } | 16 | } |
17 | } | 17 | } \ No newline at end of file |
diff --git a/OpenSim/Tests/Common/LongRunningAttribute.cs b/OpenSim/Tests/Common/LongRunningAttribute.cs new file mode 100644 index 0000000..722217d --- /dev/null +++ b/OpenSim/Tests/Common/LongRunningAttribute.cs | |||
@@ -0,0 +1,22 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using NUnit.Framework; | ||
5 | |||
6 | namespace OpenSim.Tests.Common | ||
7 | { | ||
8 | [AttributeUsage(AttributeTargets.All, | ||
9 | AllowMultiple = false, | ||
10 | Inherited = true)] | ||
11 | public class LongRunningAttribute : CategoryAttribute | ||
12 | { | ||
13 | protected LongRunningAttribute() : this("Long Running Test") | ||
14 | { | ||
15 | |||
16 | } | ||
17 | |||
18 | protected LongRunningAttribute(string category) : base(category) | ||
19 | { | ||
20 | } | ||
21 | } | ||
22 | } | ||