summaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-12-10 22:10:44 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-12-10 22:10:44 +0100
commitf3f4dc6d61173b16906cf6741cc628abd4c0b996 (patch)
tree806b00754ab2846c2cfbc524c1b05d3601865665 /sonar-testing-harness
parentcd582e700b3ceda2de457733db6cd2417b5346c9 (diff)
downloadsonarqube-f3f4dc6d61173b16906cf6741cc628abd4c0b996.tar.gz
sonarqube-f3f4dc6d61173b16906cf6741cc628abd4c0b996.zip
Profile dbTests enables only the tests involving a database
Diffstat (limited to 'sonar-testing-harness')
-rw-r--r--sonar-testing-harness/src/main/java/org/sonar/test/DbTests.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/sonar-testing-harness/src/main/java/org/sonar/test/DbTests.java b/sonar-testing-harness/src/main/java/org/sonar/test/DbTests.java
new file mode 100644
index 00000000000..8ae56594662
--- /dev/null
+++ b/sonar-testing-harness/src/main/java/org/sonar/test/DbTests.java
@@ -0,0 +1,27 @@
+/*
+ * SonarQube, open source software quality management tool.
+ * Copyright (C) 2008-2014 SonarSource
+ * mailto:contact AT sonarsource DOT com
+ *
+ * SonarQube is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * SonarQube is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+package org.sonar.test;
+
+/**
+ * JUnit category declared on all the tests that interact with database. These tests
+ * are executed on all the supported DB, not only on the default embedded H2.
+ */
+public interface DbTests {
+}