QmlProfiler: Add tests for flamegraph model

Change-Id: I185d06a059314f27fe48c5c2f2b92623b6611309
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2016-05-30 17:40:19 +02:00
parent 12f160b1f3
commit 3174c36ab1
5 changed files with 265 additions and 2 deletions

View File

@@ -32,6 +32,7 @@
#ifdef WITH_TESTS
#include "tests/debugmessagesmodel_test.h"
#include "tests/flamegraph_test.h"
#include "tests/flamegraphmodel_test.h"
#endif
#include <extensionsystem/pluginmanager.h>
@@ -83,6 +84,7 @@ QList<QObject *> QmlProfiler::Internal::QmlProfilerPlugin::createTestObjects() c
#ifdef WITH_TESTS
tests << new DebugMessagesModelTest;
tests << new FlameGraphTest;
tests << new FlameGraphModelTest;
#endif
return tests;
}