Projekt

Allgemein

Profil

Herunterladen als
Herunterladen (1,43 KB) Statistiken
| Zweig: | Revision:
cca98131 Christian Ehringfeld
#ifndef TST_QUERYBUILDER
#define TST_QUERYBUILDER
#include <QString>
#include <QtTest>
#include "entitymanager.h"
#include "databasemigration.h"
#include "../models.h"

class QuerybuilderTest : public QObject {
Q_OBJECT

private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
void testFindByAttributes();
void testFindByAttributesManyToOneRelation();
void testFindByAttributesManyToOneRelationAttribute();
void testFindByAttributesManyToManyRelation();
void testFindByAttributesManyToManyRelationWithList();
void testFindByAttributesManyToManyRelationAttribute();
64dc4a24 Christian Ehringfeld
void testFindByAttributesManyToManyResolve();
void testFindByAttributesOneToManyResolve();
void testFindByAttributesOneToOneResolve();
void testFindByAttributesManyToOneResolve();
95d9cf46 Christian Ehringfeld
void testFindByAttributesSuperClassAttribute();
void testQueryBuilderCount();
cca98131 Christian Ehringfeld
void testQueryBuilder();
01fe6db3 Christian Ehringfeld
void testQueryBuilderEntityInheritance();
void testQueryBuilderEntityInheritanceWithoutJoin();
void testQueryBuilderArbitraryOperator();
void testQueryBuilderJoins();
3b82c8c0 Christian Ehringfeld
void testQueryBuilderSingleAttributeOr();
01fe6db3 Christian Ehringfeld
void testQueryBuilderManyToOneRelation();
void testQueryBuilderManyToOneRelationAttribute();
void testQueryBuilderManyToManyRelation();
void testQueryBuilderManyToManyRelationAttribute();
373a84e2 Christian Ehringfeld
void testRefresh();
01fe6db3 Christian Ehringfeld
cca98131 Christian Ehringfeld
private:
CuteEntityManager::EntityManager *e;
};
#endif // TST_QUERYBUILDER