HomeSort by relevance Sort by last modified time
    Searched defs:sniffedType (Results 1 - 2 of 2) sorted by null

  /external/webkit/Source/WebKit/qt/tests/MIMESniffing/
tst_MIMESniffing.cpp 43 static inline const char* errorText(const TestData& data, const char* sniffedType)
45 return QString("file: %1, advertised: %2, image: %3. sniffed mime type was expected to be \"%4\" but instead was \"%5\"").arg(data.file).arg(data.advertisedType).arg(data.isImage).arg(data.sniffedType).arg(sniffedType).toLatin1();
58 const char* sniffedType = sniffer.sniff(data.constData(), data.size());
60 QVERIFY2(!(sniffedType || testList[i].sniffedType) || (sniffedType && testList[i].sniffedType), errorText(testList[i], sniffedType));
62 if (sniffedType)
    [all...]
TestData.h 27 const char* sniffedType;
    [all...]

Completed in 362 milliseconds