Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn Turcotte <jturcotte@woboq.com>2017-02-07 21:31:55 +0300
committerJocelyn Turcotte <jturcotte@woboq.com>2017-02-14 16:32:41 +0300
commitb26db062d23a54357695522680b196d0ad89558b (patch)
treeb1c456a9e3b254c64c29851108a94a4952b2fac6 /test/syncenginetestutils.h
parent611f633ba8fbc5cfa2c38b61b1f446f380c71e24 (diff)
Fix the UNIT_TESTING build on Windows
- Put all tests in the bin directory so that DLLs can be loaded - Add missing exports - Skip tests that use code depending on zlib - The "GMT" timezone is named differently, use the int constructor instead 5 tests are still failing, it's not really worth fixing at the moment since no developper is currently using Windows as its main platform.
Diffstat (limited to 'test/syncenginetestutils.h')
-rw-r--r--test/syncenginetestutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syncenginetestutils.h b/test/syncenginetestutils.h
index 5a938a99a..232cd419d 100644
--- a/test/syncenginetestutils.h
+++ b/test/syncenginetestutils.h
@@ -345,7 +345,7 @@ public:
} else
xml.writeEmptyElement(davUri, QStringLiteral("resourcetype"));
- auto gmtDate = fileInfo.lastModified.toTimeZone(QTimeZone("GMT"));
+ auto gmtDate = fileInfo.lastModified.toTimeZone(QTimeZone(0));
auto stringDate = gmtDate.toString("ddd, dd MMM yyyy HH:mm:ss 'GMT'");
xml.writeTextElement(davUri, QStringLiteral("getlastmodified"), stringDate);
xml.writeTextElement(davUri, QStringLiteral("getcontentlength"), QString::number(fileInfo.size));