qt5base-lts/tests/auto/corelib/io
Morten Johan Sørvig 2b65bba77d Add Mac type conversion functions to QtCore
New API:
    static QString QString::fromCFString(CFStringRef string);
    CFStringRef QString::toCFString() const;
    static QString QString::fromNSString(const NSString *string);
    NSString *QString::toNSString() const;

    static QUrl QUrl::fromCFURL(CFURLRef url);
    CFURLRef QUrl::toCFURL() const;
    static QUrl QUrl::fromNSURL(const NSURL *url);
    NSURL * QUrl::toNSURL() const;

Add Q_OS_MAC-protected function declarations to header
files, add implementation to _mm files.

CF and NS types are forward-declared in the header
files to avoid including the CoreFoundation and Foundation
headers. This prevents accidental use of native types
in application code. Add helper macros for forward-
declaration to qglobal.h

Add cf_returns_retained/ns_returns_autoreleased attributes
to toCFString() and toNSURL(). These attributes assists
the clang static analyzer. Add Q_DECL_ helper macros
to qcompilerdetection.h.

Add test functions (in _mac.mm files) to the QString
and QUrl tests. Split out the test class declarations
into a separate headers files.

Change-Id: I60fd5e93f042316196284c3db0595835fe8c4ad4
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
2013-09-21 05:09:41 +02:00
..
largefile Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qabstractfileengine Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbuffer Make QBuffer::bytesAvailable() work 2013-04-16 19:45:11 +02:00
qdatastream QDateTime - Improve and expose Qt::OffsetFromUtc 2013-08-28 19:08:14 +02:00
qdataurl tst_qdataurl: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:19:45 +02:00
qdebug Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qdir fix QFileSystemEngine::createDirectory race condition 2013-06-14 16:57:57 +02:00
qdiriterator Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfile Fix tst_QFile::caseSensitivity on OS X 2013-08-05 17:20:13 +02:00
qfileinfo Add a static QFileInfo::exists(fileName) function 2013-09-13 19:37:51 +02:00
qfileselector Use the correct identifier for the OS X operating system. 2013-09-21 05:09:16 +02:00
qfilesystementry Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfilesystemwatcher Disable tst_QFileSystemWatcher 2013-09-20 12:03:22 +02:00
qiodevice Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qipaddress Make QIPAddress::parseIp6 return the first bad character 2013-07-20 05:08:08 +02:00
qlockfile Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
qloggingcategory Import qlogger framework 2013-09-20 23:45:06 +02:00
qnodebug Import qlogger framework 2013-09-20 23:45:06 +02:00
qprocess add QProcess::InputChannelMode 2013-09-05 21:17:44 +02:00
qprocess-noapplication Re-revert "Delay creation of the process manager" 2012-10-15 04:52:08 +02:00
qprocessenvironment Fix remaining use of QTEST_NOOP_MAIN 2013-09-02 14:59:02 +02:00
qresourceengine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qsavefile QSaveFile: allow saving to a writable file in a non-writable directory 2013-04-05 11:04:35 +02:00
qsettings tst_QSettings: add missing () around a macro argument use 2013-09-14 23:40:53 +02:00
qstandardpaths QStandardPaths: add a test that just dumps the values 2013-09-14 03:20:25 +02:00
qtemporarydir Let QTemporaryDir::stressTest() run in temporary directory. 2013-06-12 14:12:05 +02:00
qtemporaryfile Ensure QTemporaryFile can create files when an identical dir exists. 2013-03-23 14:42:45 +01:00
qtextstream Fixed QTextStream "stdin" auto tests 2013-07-30 09:56:40 +02:00
qurl Add Mac type conversion functions to QtCore 2013-09-21 05:09:41 +02:00
qurlinternal Merge remote-tracking branch 'origin/stable' into dev 2013-09-16 14:52:40 +02:00
qurlquery tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qwinoverlappedionotifier bail out early in QWinOverlappedIoNotifier::waitForNotified 2013-07-05 13:37:22 +02:00
io.pro Import qlogger framework 2013-09-20 23:45:06 +02:00