Commit 8145e098 authored by Lukas Appelhans's avatar Lukas Appelhans

First foo test

parent 67a9c7e0
......@@ -80,3 +80,5 @@ install(FILES ${AKABEI_CORE_HDRS} DESTINATION ${INCLUDES_INSTALL_DIR})
install(FILES ${AKABEI_OPERATION_HDRS} DESTINATION ${INCLUDES_INSTALL_DIR}/operations)
add_subdirectory(benchmarks)
add_subdirectory(tests)
if(CMAKE_BUILD_TYPE MATCHES debugfull)
ENABLE_TESTING()
#add_definitions(-DDO_AKABEI_TEST)
set(akabei_test_SRCS
akabeitest.cpp
)
qt4_wrap_cpp(akabei_test_MOC_SRCS akabeitest.h)
add_executable(akabei_test ${akabei_test_SRCS} ${akabei_test_MOC_SRCS})
target_link_libraries(akabei_test ${QT_QTTEST_LIBRARY} akabeicore)
add_test(akabei akabei_test)
endif(CMAKE_BUILD_TYPE MATCHES debugfull)
/* This file is part of the Chakra project
Copyright (C) 2011 Lukas Appelhans
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
*/
#include "akabeitest.h"
#include <QDebug>
AkabeiTest::AkabeiTest()
: QObject(0)
{
}
AkabeiTest::~AkabeiTest()
{
}
void AkabeiTest::simpleTest()
{
qDebug() << "BLABLABLAAAAAAAAAAAA";
}
QTEST_MAIN(AkabeiTest)
//#include "akabeitest.moc"
\ No newline at end of file
/* This file is part of the KDE project
Copyright (C) 2011 Lukas Appelhans <l.appelhans@gmx.de>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
*/
#ifndef _AKABEITEST_H
#define _AKABEITEST_H
#include <QtTest/QtTest>
class AkabeiTest : public QObject
{
Q_OBJECT
public:
AkabeiTest();
~AkabeiTest();
private slots:
void simpleTest();
};
#endif
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