Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* Unittest for testing the statemachine for aes objects
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <memory>
|
||||
#include <ExerciseManagement/exm_db.h>
|
||||
#include <ngldb/db_service_handler.h>
|
||||
#include <DBAdministration/exercise_table_generator.h>
|
||||
|
||||
namespace ExerciseManagement
|
||||
{
|
||||
using DbHandler = NGLDB::DbServiceHandler<DatabaseInterface>;
|
||||
class ObjectExercise;
|
||||
class DdsHandler;
|
||||
|
||||
class StateMachineTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
StateMachineTest();
|
||||
~StateMachineTest();
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void staticTests();
|
||||
void dynamicTests();
|
||||
void cleanupTestCase();
|
||||
|
||||
private:
|
||||
std::shared_ptr<DdsHandler> m_ddsHandler;
|
||||
std::shared_ptr<DbHandler> m_dbHandler;
|
||||
std::shared_ptr<DBAdministration::ExerciseTableGenerator> m_exTblGen;
|
||||
|
||||
ObjectExercise *m_exmObject;
|
||||
|
||||
};
|
||||
} // namespace ExerciseManagement
|
||||
Reference in new issue
Block a user