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/10/25 11:51:31 UTC

svn commit: r1402072 - in /incubator/ooo/trunk/test/testgui/source/fvt/gui/sd: headerandfooter/HeaderAndFooterSetting.java shape/ShapeTypes.java

Author: wanglf
Date: Thu Oct 25 09:51:31 2012
New Revision: 1402072

URL: http://svn.apache.org/viewvc?rev=1402072&view=rev
Log:
close navigator after test

Modified:
    incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/headerandfooter/HeaderAndFooterSetting.java
    incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/shape/ShapeTypes.java

Modified: incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/headerandfooter/HeaderAndFooterSetting.java
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/headerandfooter/HeaderAndFooterSetting.java?rev=1402072&r1=1402071&r2=1402072&view=diff
==============================================================================
--- incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/headerandfooter/HeaderAndFooterSetting.java (original)
+++ incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/headerandfooter/HeaderAndFooterSetting.java Thu Oct 25 09:51:31 2012
@@ -64,6 +64,9 @@ public class HeaderAndFooterSetting {
 
 	@After
 	public void tearDown() throws Exception {
+		if (sdNavigatorDlg.exists()) {
+			app.dispatch(".uno:Navigator");
+		}
 		app.stop();
 	}
 

Modified: incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/shape/ShapeTypes.java
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/shape/ShapeTypes.java?rev=1402072&r1=1402071&r2=1402072&view=diff
==============================================================================
--- incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/shape/ShapeTypes.java (original)
+++ incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/shape/ShapeTypes.java Thu Oct 25 09:51:31 2012
@@ -59,7 +59,7 @@ public class ShapeTypes {
 	@After
 	public void tearDown() throws Exception {
 		if (sdNavigatorDlg.exists()) {
-			sdNavigatorDlg.close();
+			app.dispatch(".uno:Navigator");
 		}
 		app.stop();
 	}
@@ -96,6 +96,7 @@ public class ShapeTypes {
 		allShapes=sdNavigator.getAllItemsText();
 		assertEquals(4, allShapes.length);
 
+
 	}
 	/**
 	 * Insert a new Star shape