sc/qa/unit/subsequent_export-test.cxx |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit b50953df9829ef13601b98ae217102b123affcd0
Author: Kohei Yoshida <[email protected]>
Date:   Wed Jul 16 19:59:35 2014 -0400

    fdo#81445: Write test for this.
    
    Change-Id: I7d94e780b12a947a2861f82f1b8a3c14b5489ac2

diff --git a/sc/qa/unit/subsequent_export-test.cxx 
b/sc/qa/unit/subsequent_export-test.cxx
index 103b962..270c7dc 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -1462,6 +1462,15 @@ void ScExportTest::testTrackChangesSimpleXLS()
     bGood = aTest.check(*pDoc);
     CPPUNIT_ASSERT_MESSAGE("Check after reload failed.", bGood);
 
+    // fdo#81445 : Check the blank value string to make sure it's "<empty>".
+    ScChangeTrack* pCT = pDoc->GetChangeTrack();
+    CPPUNIT_ASSERT(pCT);
+    ScChangeAction* pAction = pCT->GetAction(1);
+    CPPUNIT_ASSERT(pAction);
+    OUString aDesc;
+    pAction->GetDescription(aDesc, pDoc);
+    CPPUNIT_ASSERT_EQUAL(OUString("Cell B2 changed from '<empty>' to '1'"), 
aDesc);
+
     xDocSh2->DoClose();
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to