Author: damjan
Date: Fri Mar  4 02:31:18 2016
New Revision: 1733545

URL: http://svn.apache.org/viewvc?rev=1733545&view=rev
Log:
Fix an index out of range error in the bvt.gui.FileExport test, 
which could never possibly work as the directory being
searched for isn't in the path.

Patch by: me


Modified:
    openoffice/trunk/test/testgui/source/bvt/gui/FileExport.java

Modified: openoffice/trunk/test/testgui/source/bvt/gui/FileExport.java
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/test/testgui/source/bvt/gui/FileExport.java?rev=1733545&r1=1733544&r2=1733545&view=diff
==============================================================================
--- openoffice/trunk/test/testgui/source/bvt/gui/FileExport.java (original)
+++ openoffice/trunk/test/testgui/source/bvt/gui/FileExport.java Fri Mar  4 
02:31:18 2016
@@ -223,7 +223,7 @@ public class FileExport {
                thepoint = new ContinuePoint();
                File spacepath = Testspace.getFile("output");// 
..\\testspace\\output
                String absspath = spacepath.getAbsolutePath();
-               int n = absspath.indexOf("testgui");
+               int n = absspath.indexOf("testspace");
                String abspre = absspath.substring(0, n);
 
                result = new DataSheet(getFile("outputlog/"


Reply via email to