Author: hdu
Date: Thu Aug 29 11:32:11 2013
New Revision: 1518596
URL: http://svn.apache.org/r1518596
Log:
#i123140# fix fvt.mix.MixedTest failing to connect to OpenOffice via UNO
because the FirstStartWizard (reenabled in r1494061) prevents that.
The MixedTest is better off with an OpenOffice target that was started
with the default options suitable for test automation which include
the options "-nofirststartwizard", "-norestore" and "-quickstart=no".
Modified:
openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java
Modified: openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java
URL:
http://svn.apache.org/viewvc/openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java?rev=1518596&r1=1518595&r2=1518596&view=diff
==============================================================================
--- openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java (original)
+++ openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java Thu Aug 29
11:32:11 2013
@@ -56,9 +56,7 @@ public class MixedTest {
*/
@Before
public void setUp() throws Exception {
- OpenOffice aoo = new OpenOffice();
- aoo.setAutomationPort(OpenOffice.DEFAULT_AUTOMATION_PORT);
- aoo.setUnoUrl(OpenOffice.DEFAULT_UNO_URL);
+ OpenOffice aoo = OpenOffice.getDefault();
unoApp = new UnoApp(aoo);
vclApp = new VclApp(aoo);
writer = new VclWindow(vclApp, "SW_HID_EDIT_WIN");