fix tests

This commit is contained in:
Aaron Seigo 2011-05-06 12:26:39 +02:00
parent 5aa1e5865b
commit ad58b7e23e
2 changed files with 5 additions and 5 deletions

View File

@ -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()

View File

@ -40,7 +40,7 @@ private Q_SLOTS:
void path();
void name();
void required();
void mimetypes();
void mimeTypes();
void read();
void write();