diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-07-15 10:26:51 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-07-15 11:27:41 +0200 |
commit | f74fbba22e435852c1ee37abf4384be7db6d8607 (patch) | |
tree | d6aa90e4fe6f6e82714d71562e55f94b24c2cba6 /sw/qa/extras/uiwriter | |
parent | e6a77656736ede0761bbe393d487140b9429d05f (diff) |
Disable testDateFormFieldCurrentDateInvalidation test only for Windows
Change-Id: Id267d118b509177f93f3c440a03d05feb532cd34
Reviewed-on: https://gerrit.libreoffice.org/75613
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sw/qa/extras/uiwriter')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter2.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter2.cxx b/sw/qa/extras/uiwriter/uiwriter2.cxx index ae29d0796b92..3c1170b80b27 100644 --- a/sw/qa/extras/uiwriter/uiwriter2.cxx +++ b/sw/qa/extras/uiwriter/uiwriter2.cxx @@ -1901,7 +1901,8 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest2, testDateFormFieldCurrentDateHandling) CPPUNIT_ASSERT_EQUAL(OUString("2031-06-01"), sCurrentDate); } -/*CPPUNIT_TEST_FIXTURE(SwUiWriterTest2, testDateFormFieldCurrentDateInvalidation) +#if !defined(_WIN32) +CPPUNIT_TEST_FIXTURE(SwUiWriterTest2, testDateFormFieldCurrentDateInvalidation) { SwDoc* pDoc = createDoc(); CPPUNIT_ASSERT(pDoc); @@ -1956,6 +1957,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest2, testDateFormFieldCurrentDateHandling) pResult->second >>= sCurrentDate; } CPPUNIT_ASSERT_EQUAL(OUString(""), sCurrentDate); -}*/ +} +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |