Add test to ensure correct operation of DataGridWidget
This commit is contained in:
parent
c181fe99fa
commit
82cc9f14bc
6 changed files with 424 additions and 0 deletions
|
|
@ -1,9 +1,15 @@
|
|||
#include <gtest/gtest.h>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QtGlobal>
|
||||
|
||||
#include "PgTestEnvironment.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
if (!qEnvironmentVariableIsSet("QT_QPA_PLATFORM"))
|
||||
qputenv("QT_QPA_PLATFORM", "offscreen");
|
||||
QApplication app(argc, argv);
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
::testing::AddGlobalTestEnvironment(new pgtest::PgEnv(PGTEST_FIXTURE_DIR));
|
||||
return RUN_ALL_TESTS();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue