diff options
author | lbsa71 | 2009-04-09 06:42:15 +0000 |
---|---|---|
committer | lbsa71 | 2009-04-09 06:42:15 +0000 |
commit | a707fa7bea7deff8adf445bbf2bbd8cff19fcbcf (patch) | |
tree | c71bcf31aefc5ea2ca6d9809c8dc6bc82231fbad /OpenSim/Data/Tests | |
parent | SQLite doesn't work on ppc64, so ignore these tests if we are (diff) | |
download | opensim-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.cs | 17 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using NUnit.Framework; | ||
5 | |||
6 | namespace 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 | } | ||