Commit f9193d02 authored by Volker Krause's avatar Volker Krause
Browse files

Sort out tests according to KF5 standards

parent b5e12196
......@@ -158,11 +158,11 @@ configure_file(config-userfeedback-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/c
# Actually build the stuff
#
add_subdirectory(src)
if(Qt5Charts_FOUND AND NOT CMAKE_VERSION VERSION_LESS 3.0)
add_subdirectory(tests/manual)
endif()
if(Qt5Core_FOUND)
add_subdirectory(tests/auto)
add_subdirectory(autotests)
endif()
if(Qt5Charts_FOUND AND NOT CMAKE_VERSION VERSION_LESS 3.0)
add_subdirectory(tests)
endif()
#
......
......@@ -16,8 +16,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
require_once('../../src/server/shared/aggregation.php');
require_once('../../src/server/shared/datastore.php');
require_once('../src/server/shared/aggregation.php');
require_once('../src/server/shared/datastore.php');
class AggregationTest extends PHPUnit_Extensions_Database_TestCase
{
......
......@@ -16,8 +16,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
require_once('../../src/server/shared/datastore.php');
require_once('../../src/server/shared/product.php');
require_once('../src/server/shared/datastore.php');
require_once('../src/server/shared/product.php');
class ProductTest extends PHPUnit_Extensions_Database_TestCase
{
......
......@@ -16,9 +16,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
require_once('../../src/server/shared/datastore.php');
require_once('../../src/server/shared/product.php');
require_once('../../src/server/shared/sample.php');
require_once('../src/server/shared/datastore.php');
require_once('../src/server/shared/product.php');
require_once('../src/server/shared/sample.php');
class SurveyTest extends PHPUnit_Extensions_Database_TestCase
{
......
......@@ -16,9 +16,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
require_once('../../src/server/shared/product.php');
require_once('../../src/server/shared/schemaentry.php');
require_once('../../src/server/shared/schemaentryelement.php');
require_once('../src/server/shared/product.php');
require_once('../src/server/shared/schemaentry.php');
require_once('../src/server/shared/schemaentryelement.php');
class SchemaEntryElementTest extends PHPUnit_Framework_TestCase
{
......
......@@ -16,8 +16,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
require_once('../../src/server/shared/product.php');
require_once('../../src/server/shared/schemaentry.php');
require_once('../src/server/shared/product.php');
require_once('../src/server/shared/schemaentry.php');
class SchemaEntryTest extends PHPUnit_Framework_TestCase
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment