aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests
diff options
context:
space:
mode:
authorlbsa712009-04-09 06:42:15 +0000
committerlbsa712009-04-09 06:42:15 +0000
commita707fa7bea7deff8adf445bbf2bbd8cff19fcbcf (patch)
treec71bcf31aefc5ea2ca6d9809c8dc6bc82231fbad /OpenSim/Data/Tests
parentSQLite doesn't work on ppc64, so ignore these tests if we are (diff)
downloadopensim-SC_OLD-a707fa7bea7deff8adf445bbf2bbd8cff19fcbcf.zip
opensim-SC_OLD-a707fa7bea7deff8adf445bbf2bbd8cff19fcbcf.tar.gz
opensim-SC_OLD-a707fa7bea7deff8adf445bbf2bbd8cff19fcbcf.tar.bz2
opensim-SC_OLD-a707fa7bea7deff8adf445bbf2bbd8cff19fcbcf.tar.xz
* Added custom DatabaseTestAttribute to help separating unit tests from component tests.
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r--OpenSim/Data/Tests/DatabaseTestAttribute.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/DatabaseTestAttribute.cs b/OpenSim/Data/Tests/DatabaseTestAttribute.cs
new file mode 100644
index 0000000..b500f40
--- /dev/null
+++ b/OpenSim/Data/Tests/DatabaseTestAttribute.cs
@@ -0,0 +1,17 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using NUnit.Framework;
5
6namespace OpenSim.Data.Tests
7{
8 [AttributeUsage(AttributeTargets.All,
9 AllowMultiple=false,
10 Inherited=true)]
11 public class DatabaseTestAttribute : CategoryAttribute
12 {
13 public DatabaseTestAttribute() : base("Database")
14 {
15 }
16 }
17}