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

Jan Holesovsky kendy at collabora.com
Thu Feb 11 14:40:00 UTC 2016


 desktop/qa/desktop_lib/test_desktop_lib.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit c0dfafab6459ef06ada37ea7ed5c7ebd59388057
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Thu Feb 11 15:22:45 2016 +0100

    Remove forgotten debug stuff.
    
    Change-Id: Iad6bb5ba62d114ca760c4215aa8eec872c5d181b

diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 1d6c562..da4e5fb 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -659,7 +659,7 @@ void DesktopLOKTest::testModifiedStatus()
     // modification state was reset
     m_aStateChangedCondition.reset();
     utl::TempFile aTempFile;
-    //aTempFile.EnableKillingFile();
+    aTempFile.EnableKillingFile();
     CPPUNIT_ASSERT(pDocument->pClass->saveAs(pDocument, aTempFile.GetURL().toUtf8().getStr(), "odt", "TakeOwnership"));
     m_aStateChangedCondition.wait(aTimeValue);
     Scheduler::ProcessEventsToIdle();
@@ -668,7 +668,6 @@ void DesktopLOKTest::testModifiedStatus()
     CPPUNIT_ASSERT(!m_bModified);
 
     // Modify the document again
-    m_bModified = false;
     m_aStateChangedCondition.reset();
     pDocument->pClass->postKeyEvent(pDocument, LOK_KEYEVENT_KEYINPUT, 't', 0);
     m_aStateChangedCondition.wait(aTimeValue);


More information about the Libreoffice-commits mailing list