From ad58b7e23eb0997e8c27492224a7d989b208da62 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Fri, 6 May 2011 12:26:39 +0200 Subject: [PATCH] fix tests --- tests/packagestructuretest.cpp | 8 ++++---- tests/packagestructuretest.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/packagestructuretest.cpp b/tests/packagestructuretest.cpp index 229a13b0c..f955770e3 100644 --- a/tests/packagestructuretest.cpp +++ b/tests/packagestructuretest.cpp @@ -124,11 +124,11 @@ void PackageStructureTest::required() QVERIFY(ps->isRequired("mainscript")); } -void PackageStructureTest::mimetypes() +void PackageStructureTest::mimeTypes() { - QStringList mimetypes; - mimetypes << "image/svg+xml" << "image/png" << "image/jpeg"; - QCOMPARE(ps->mimetypes("images"), mimetypes); + QStringList mimeTypes; + mimeTypes << "image/svg+xml" << "image/png" << "image/jpeg"; + QCOMPARE(ps->mimeTypes("images"), mimeTypes); } void PackageStructureTest::read() diff --git a/tests/packagestructuretest.h b/tests/packagestructuretest.h index ff362245e..76a39c30e 100644 --- a/tests/packagestructuretest.h +++ b/tests/packagestructuretest.h @@ -40,7 +40,7 @@ private Q_SLOTS: void path(); void name(); void required(); - void mimetypes(); + void mimeTypes(); void read(); void write();