summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/mimetypes/qmimetype/tst_qmimetype.cpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/tests/auto/corelib/mimetypes/qmimetype/tst_qmimetype.cpp b/tests/auto/corelib/mimetypes/qmimetype/tst_qmimetype.cpp
index 6f24bfe6f1..d88ef18a72 100644
--- a/tests/auto/corelib/mimetypes/qmimetype/tst_qmimetype.cpp
+++ b/tests/auto/corelib/mimetypes/qmimetype/tst_qmimetype.cpp
@@ -176,20 +176,7 @@ void tst_qmimetype::genericIconName()
)
);
- QMimeType otherQMimeType (
- buildQMimeType (
- qMimeTypeName(),
- QString(),
- qMimeTypeGenericIconName(),
- qMimeTypeGlobPatterns()
- )
- );
-
- // Verify that the GenericIconName is part of the equality test:
QCOMPARE(instantiatedQMimeType.genericIconName(), qMimeTypeGenericIconName());
-
- QVERIFY(instantiatedQMimeType != otherQMimeType);
- QVERIFY(!(instantiatedQMimeType == otherQMimeType));
}
// ------------------------------------------------------------------------------------------------
@@ -205,20 +192,7 @@ void tst_qmimetype::iconName()
)
);
- QMimeType otherQMimeType (
- buildQMimeType (
- qMimeTypeName(),
- qMimeTypeGenericIconName(),
- QString(),
- qMimeTypeGlobPatterns()
- )
- );
-
- // Verify that the IconName is part of the equality test:
QCOMPARE(instantiatedQMimeType.iconName(), qMimeTypeIconName());
-
- QVERIFY(instantiatedQMimeType != otherQMimeType);
- QVERIFY(!(instantiatedQMimeType == otherQMimeType));
}
// ------------------------------------------------------------------------------------------------
@@ -234,21 +208,8 @@ void tst_qmimetype::suffixes()
)
);
- QMimeType otherQMimeType (
- buildQMimeType (
- qMimeTypeName(),
- qMimeTypeGenericIconName(),
- qMimeTypeIconName(),
- QStringList()
- )
- );
-
- // Verify that the Suffixes are part of the equality test:
QCOMPARE(instantiatedQMimeType.globPatterns(), qMimeTypeGlobPatterns());
QCOMPARE(instantiatedQMimeType.suffixes(), QStringList() << QString::fromLatin1("png"));
-
- QVERIFY(instantiatedQMimeType != otherQMimeType);
- QVERIFY(!(instantiatedQMimeType == otherQMimeType));
}
// ------------------------------------------------------------------------------------------------