From 0bfc86228321169976c867ce030dcc5b0b35b3a3 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Tue, 19 May 2015 12:53:50 -0400
Subject: [PATCH] Specify test groups for inclusion/exclusion

---
 tests/Framework/DBMssql.php  |    2 ++
 tests/Framework/DBPgsql.php  |    2 ++
 tests/Framework/Charset.php  |    2 ++
 tests/Framework/DBMysql.php  |    2 ++
 tests/Framework/DBSqlite.php |    2 ++
 tests/Framework/DB.php       |    1 +
 tests/Framework/DBSqlsrv.php |    2 ++
 7 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/tests/Framework/Charset.php b/tests/Framework/Charset.php
index 3e6287c..863bfc6 100644
--- a/tests/Framework/Charset.php
+++ b/tests/Framework/Charset.php
@@ -4,6 +4,8 @@
  * Test class to test rcube_charset class
  *
  * @package Tests
+ * @group iconv
+ * @group mbstring
  */
 class Framework_Charset extends PHPUnit_Framework_TestCase
 {
diff --git a/tests/Framework/DB.php b/tests/Framework/DB.php
index 04897bb..23febfc 100644
--- a/tests/Framework/DB.php
+++ b/tests/Framework/DB.php
@@ -4,6 +4,7 @@
  * Test class to test rcube_db class
  *
  * @package Tests
+ * @group database
  */
 class Framework_DB extends PHPUnit_Framework_TestCase
 {
diff --git a/tests/Framework/DBMssql.php b/tests/Framework/DBMssql.php
index b88c95b..47ab603 100644
--- a/tests/Framework/DBMssql.php
+++ b/tests/Framework/DBMssql.php
@@ -4,6 +4,8 @@
  * Test class to test rcube_db_mssql class
  *
  * @package Tests
+ * @group database
+ * @group mssql
  */
 class Framework_DBMssql extends PHPUnit_Framework_TestCase
 {
diff --git a/tests/Framework/DBMysql.php b/tests/Framework/DBMysql.php
index a3b8fda..472657c 100644
--- a/tests/Framework/DBMysql.php
+++ b/tests/Framework/DBMysql.php
@@ -4,6 +4,8 @@
  * Test class to test rcube_db_mysql class
  *
  * @package Tests
+ * @group database
+ * @group mysql
  */
 class Framework_DBMysql extends PHPUnit_Framework_TestCase
 {
diff --git a/tests/Framework/DBPgsql.php b/tests/Framework/DBPgsql.php
index 67d1c46..a7cb005 100644
--- a/tests/Framework/DBPgsql.php
+++ b/tests/Framework/DBPgsql.php
@@ -4,6 +4,8 @@
  * Test class to test rcube_db_pgsql class
  *
  * @package Tests
+ * @group database
+ * @group postgres
  */
 class Framework_DBPgsql extends PHPUnit_Framework_TestCase
 {
diff --git a/tests/Framework/DBSqlite.php b/tests/Framework/DBSqlite.php
index 121bb77..00de37e 100644
--- a/tests/Framework/DBSqlite.php
+++ b/tests/Framework/DBSqlite.php
@@ -4,6 +4,8 @@
  * Test class to test rcube_db_sqlite class
  *
  * @package Tests
+ * @group database
+ * @group sqlite
  */
 class Framework_DBSqlite extends PHPUnit_Framework_TestCase
 {
diff --git a/tests/Framework/DBSqlsrv.php b/tests/Framework/DBSqlsrv.php
index 6272ef5..9114cc5 100644
--- a/tests/Framework/DBSqlsrv.php
+++ b/tests/Framework/DBSqlsrv.php
@@ -4,6 +4,8 @@
  * Test class to test rcube_db_sqlsrv class
  *
  * @package Tests
+ * @group database
+ * @group sqlrsv
  */
 class Framework_DBSqlsrv extends PHPUnit_Framework_TestCase
 {

--
Gitblit v1.9.1