~ubuntu-sdk-team/ubuntu-ui-toolkit/staging

« back to all changes in this revision

Viewing changes to tests/unit/performance/tst_performance.cpp

  • Committer: Tarmac
  • Author(s): Loïc Molinari
  • Date: 2016-09-12 16:04:18 UTC
  • mfrom: (2090.1.7 uitk-test)
  • Revision ID: tarmac-20160912160418-3murc3kypk2jwamk
Fixed, cleaned up and standardised header inclusions.

Apart from the clean up and the readability improvements, this fixes a bunch of broken private header inclusions (#include "foo_p.h" in private headers instead of "private/foo_p.h" or better <Project/private/foo_p.h>), now all the private headers of the UITK can be included by the users withour compilation issues. It also removes a bunch of direct includes from sources and a few INCLUDEPATHs hacks.

See the CODING file for more details.

Approved by ubuntu-sdk-build-bot, Zsombor Egri.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 *
13
13
 * You should have received a copy of the GNU Lesser General Public License
14
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15
 
 *
16
15
 */
17
16
 
 
17
#include <QtCore/QCoreApplication>
18
18
#include <QtCore/QString>
19
 
#include <QtTest/QtTest>
20
 
#include <QtCore/QCoreApplication>
21
19
#include <QtQml/QQmlEngine>
 
20
#include <QtQuick/QQuickItem>
22
21
#include <QtQuick/QQuickView>
23
 
#include <QtQuick/QQuickItem>
 
22
#include <QtTest/QtTest>
24
23
 
25
24
class tst_Performance : public QObject
26
25
{