incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lil...@apache.org
Subject svn commit: r1391288 - /incubator/ooo/trunk/test/testuno/source/pvt/uno/Conversion.java
Date Fri, 28 Sep 2012 03:16:20 GMT
Author: liliny
Date: Fri Sep 28 03:16:19 2012
New Revision: 1391288

URL: http://svn.apache.org/viewvc?rev=1391288&view=rev
Log:
Add limitation check for gad build.

Modified:
    incubator/ooo/trunk/test/testuno/source/pvt/uno/Conversion.java

Modified: incubator/ooo/trunk/test/testuno/source/pvt/uno/Conversion.java
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testuno/source/pvt/uno/Conversion.java?rev=1391288&r1=1391287&r2=1391288&view=diff
==============================================================================
--- incubator/ooo/trunk/test/testuno/source/pvt/uno/Conversion.java (original)
+++ incubator/ooo/trunk/test/testuno/source/pvt/uno/Conversion.java Fri Sep 28 03:16:19 2012
@@ -154,13 +154,17 @@ public class Conversion {
 	
 	@Test(timeout=10 * 60000)
 	public void testConversion() throws Exception {
+
+		int nLevelInfo = Integer.parseInt(System.getProperty("conversion.limitationcheck", "0"));
// Level info: starts from 1, 0 means no need for limitation check
+		
 		// convert
 		long start = System.currentTimeMillis();
 		XComponent doc = app.loadDocumentFromURL(sourceFileUrl, 
 				propertyValue("Hidden", true),
 				propertyValue("ReadOnly", true),
 				propertyValue("AsyncMode", false),
-				propertyValue("MacroExecutionMode", MacroExecMode.NEVER_EXECUTE));
+				propertyValue("MacroExecutionMode", MacroExecMode.NEVER_EXECUTE),
+				propertyValue("LimitationCheckLevel", nLevelInfo));
 
 		loadTime = System.currentTimeMillis() - start;
 		app.saveDocumentToURL(doc, targetFileUrl, 



Mime
View raw message