diff options
author | Tomas Junnonen <tomas.junnonen@nokia.com> | 2010-04-12 13:50:25 +0300 |
---|---|---|
committer | Tomas Junnonen <tomas.junnonen@nokia.com> | 2010-04-12 13:52:31 +0300 |
commit | da73676c8a5af66b55523a9cdfbfbea2baa88a2a (patch) | |
tree | 0a3b8933a1817c152116da5fa8a7b5cdd8102e60 /benchmarks/pt_mtheme/pt_mtheme.cpp | |
parent | 8832674482d3b9a7fcf77b0cfdcb8e6fe4960b4d (diff) |
Changes: Renamed dui to meegotouch
By: Holger, Daniel, Janne
RevBy: Tomas, Holger
Diffstat (limited to 'benchmarks/pt_mtheme/pt_mtheme.cpp')
-rw-r--r-- | benchmarks/pt_mtheme/pt_mtheme.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/benchmarks/pt_mtheme/pt_mtheme.cpp b/benchmarks/pt_mtheme/pt_mtheme.cpp new file mode 100644 index 00000000..ba84b585 --- /dev/null +++ b/benchmarks/pt_mtheme/pt_mtheme.cpp @@ -0,0 +1,36 @@ +/*************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (directui@nokia.com) +** +** This file is part of libmeegotouch. +** +** If you have questions regarding the use of this file, please contact +** Nokia at directui@nokia.com. +** +** This library is free software; you can redistribute it and/or +** modify it under the terms of the GNU Lesser General Public +** License version 2.1 as published by the Free Software Foundation +** and appearing in the file LICENSE.LGPL included in the packaging +** of this file. +** +****************************************************************************/ + +#include "pt_mtheme.h" + +#include <MComponentData> +#include <MTheme> + +#include <QtTest/QtTest> + +void Pt_MTheme::constructor() +{ + MTheme *theme; + QBENCHMARK_ONCE { + theme = new MTheme("widgetsgallery"); + } + delete theme; +} + +QTEST_MAIN(Pt_MTheme) |