Commit cc96d02a authored by Christian Stenger's avatar Christian Stenger Committed by hjk

Tests: Extend tst_offset

Change-Id: I451502e3dc99bf80e2eb540795f04ea7f8a3439f
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent f8afa89b
......@@ -34,6 +34,7 @@
#define private public
#include <private/qfile_p.h>
#include <private/qfileinfo_p.h>
class tst_offsets : public QObject
{
......@@ -76,6 +77,12 @@ void tst_offsets::offsets_data()
data << 140 << 232;
}
{
QFileInfoPrivate *p = 0;
QTestData &data = QTest::newRow("FileInfo::filePath")
<< int((char *)&p->fileEntry.m_filePath - (char *)p);
data << 4 << 8;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment