Revision 4ce3b0c1
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
tests/em/tst_querybuilder.cpp | ||
---|---|---|
CuteEntityManager::EntityInstanceFactory::registerClass<Employee>();
|
||
CuteEntityManager::EntityInstanceFactory::registerClass<WorkerGroup>();
|
||
this->e = new CuteEntityManager::EntityManager("QSQLITE",
|
||
QDir::currentPath() + "/db.sqlite", "", "", "", "",
|
||
":memory:", "", "", "", "",
|
||
true, "foreign_keys = ON", false);
|
||
QStringList inits = QStringList() << "Person" << "Group" << "Employee" << "WorkerGroup";
|
||
QVERIFY2(this->e->startup("queryBuilderTest", inits), "Failure");
|
Auch abrufbar als: Unified diff
...