[Libreoffice-commits] core.git: sw/qa

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 15 09:28:43 UTC 2019


 sw/qa/extras/uiwriter/uiwriter2.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit f74fbba22e435852c1ee37abf4384be7db6d8607
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Mon Jul 15 10:26:51 2019 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Mon Jul 15 11:27:41 2019 +0200

    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 at collabora.com>

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: */


More information about the Libreoffice-commits mailing list