openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject svn commit: r1409058 - /incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
Date Wed, 14 Nov 2012 02:11:25 GMT
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



Mime
View raw message