incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject svn commit: r1402116 - /incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/headerandfooter/HeaderAndFooterSetting.java
Date Thu, 25 Oct 2012 11:58:21 GMT
Author: wanglf
Date: Thu Oct 25 11:58:21 2012
New Revision: 1402116

URL: http://svn.apache.org/viewvc?rev=1402116&view=rev
Log:
close header and footer dialog after get info

Modified:
    incubator/ooo/trunk/test/testgui/source/fvt/gui/sd/headerandfooter/HeaderAndFooterSetting.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=1402116&r1=1402115&r2=1402116&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 11:58:21 2012
@@ -122,6 +122,8 @@ public class HeaderAndFooterSetting {
 		assertEquals("Fix Date: 20120323", sdFixedDateAndTimeOnSlideInput.getText());
 		assertEquals("Footer Test", sdFooterTextOnSlideInput.getText());
 		assertEquals(false, sdSlideNumAsFooterOnSlide.isChecked());
+		sdHeaderAndFooterDlgSlideTab.cancel();
+		
 	}
 
 	/**
@@ -176,6 +178,7 @@ public class HeaderAndFooterSetting {
 		assertEquals("Fix Date: 20120323", sdFixedDateAndTimeOnSlideInput.getText());
 		assertEquals("Footer Test", sdFooterTextOnSlideInput.getText());
 		assertEquals(true, sdSlideNumAsFooterOnSlide.isChecked());
+		sdHeaderAndFooterDlgSlideTab.cancel();
 	}
 
 	/**
@@ -228,6 +231,7 @@ public class HeaderAndFooterSetting {
 		assertEquals("Fix Date: 20120329", sdFixedDateAndTimeOnSlideInput.getText());
 		assertEquals("Footer Test", sdFooterTextOnSlideInput.getText());
 		assertEquals(true, sdSlideNumAsFooterOnSlide.isChecked());
+		sdHeaderAndFooterOnNotesTabPage.cancel();
 	}
 
 	/**
@@ -258,6 +262,7 @@ public class HeaderAndFooterSetting {
 		assertEquals("Fix Date: 20120323", sdFixedDateAndTimeOnSlideInput.getText());
 		assertEquals("Footer Test", sdFooterTextOnSlideInput.getText());
 		assertEquals(true, sdSlideNumAsFooterOnSlide.isChecked());
+		sdHeaderAndFooterDlgSlideTab.cancel();
 	}
 
 	/**
@@ -287,6 +292,7 @@ public class HeaderAndFooterSetting {
 		app.dispatch(".uno:HeaderAndFooter");
 		assertEquals(true, sdFooterNotShowOn1stSlide.isChecked());
 		assertEquals(false, sdFooterTextOnSlide.isChecked());
+		sdHeaderAndFooterDlgSlideTab.cancel();
 	}
 
 	/**
@@ -340,6 +346,7 @@ public class HeaderAndFooterSetting {
 		assertEquals("", sdFixedDateAndTimeOnSlideInput.getText());
 		assertEquals("", sdFooterTextOnSlideInput.getText());
 		assertEquals(false, sdSlideNumAsFooterOnSlide.isChecked());
+		sdHeaderAndFooterDlgSlideTab.cancel();
 	}
 
 	/**
@@ -409,6 +416,7 @@ public class HeaderAndFooterSetting {
 		assertEquals(true, sdFooterTextOnSlide.isChecked());
 		assertEquals("Footer Test", sdFooterTextOnSlideInput.getText());
 		assertEquals(true, sdSlideNumAsFooterOnSlide.isChecked());
+		sdHeaderAndFooterOnNotesTabPage.cancel();
 	}
 
 	/**
@@ -467,6 +475,7 @@ public class HeaderAndFooterSetting {
 		assertEquals(true, sdFooterTextOnSlide.isChecked());
 		assertEquals("Footer Test", sdFooterTextOnSlideInput.getText());
 		assertEquals(true, sdSlideNumAsFooterOnSlide.isChecked());
+		sdHeaderAndFooterDlgSlideTab.cancel();
 	}
 
 	/**
@@ -488,6 +497,7 @@ public class HeaderAndFooterSetting {
 		app.dispatch(".uno:HeaderAndFooter");
 		String updatedTime = sdAutoUpdateTimeFooterType.getItemText(7);
 		assertNotSame("Time can not update", currentTime, updatedTime);
+		sdHeaderAndFooterDlgSlideTab.cancel();
 	}
 
 	/**
@@ -511,6 +521,7 @@ public class HeaderAndFooterSetting {
 		String updatedTime = sdAutoUpdateTimeFooterType.getItemText(7);
 
 		assertNotSame("Time can not update", currentTime, updatedTime);
+		sdHeaderAndFooterOnNotesTabPage.cancel();
 	}
 
 	/**
@@ -570,6 +581,7 @@ public class HeaderAndFooterSetting {
 		assertEquals("Fix Date: 20120329", sdFixedDateAndTimeOnSlideInput.getText());
 		assertEquals("Footer Test", sdFooterTextOnSlideInput.getText());
 		assertEquals(true, sdSlideNumAsFooterOnSlide.isChecked());
+		sdHeaderAndFooterOnNotesTabPage.cancel();
 	}
 
 	/**
@@ -626,5 +638,6 @@ public class HeaderAndFooterSetting {
 		assertEquals("Fix Date: 20120329", sdFixedDateAndTimeOnSlideInput.getText());
 		assertEquals("Footer Test", sdFooterTextOnSlideInput.getText());
 		assertEquals(true, sdSlideNumAsFooterOnSlide.isChecked());
+		sdHeaderAndFooterDlgSlideTab.cancel();
 	}
 }



Mime
View raw message