You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by wa...@apache.org on 2012/11/14 03:11:25 UTC
svn commit: r1409058 -
/incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
Author: wanglf
Date: Wed Nov 14 02:11:24 2012
New Revision: 1409058
URL: http://svn.apache.org/viewvc?rev=1409058&view=rev
Log:
reconstruct GUI FVT case about formula
Modified:
incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
Modified: incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java?rev=1409058&r1=1409057&r2=1409058&view=diff
==============================================================================
--- incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java (original)
+++ incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java Wed Nov 14 02:11:24 2012
@@ -96,9 +96,7 @@ public class FormulaInDifferentWays {
// Save and reopen the formula
FileUtil.deleteFile(saveTo);
- saveAs(saveTo);
- close();
- open(saveTo);
+ saveAndReopen(saveTo);
mathEditWindow.waitForExistence(10, 2);
// Verify if the formula still exists in the file, and correct
@@ -138,9 +136,7 @@ public class FormulaInDifferentWays {
assertEquals("The inserted formula into math", insertedFormula.concat(" "), app.getClipboard());
// Save and reopen the formula
FileUtil.deleteFile(saveTo);
- saveAs(saveTo);
- close();
- open(saveTo);
+ saveAndReopen(saveTo);
mathEditWindow.waitForExistence(10, 2);
// Verify if the formula still exists in the file, and correct