MixedTest.java (07d7dbdc) | MixedTest.java (7d4ea83a) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 42 unchanged lines hidden (view full) --- 51 VclTabPage effectsPage; 52 VclListBox colorList; 53 XTextDocument textDocument; 54 /** 55 * @throws java.lang.Exception 56 */ 57 @Before 58 public void setUp() throws Exception { | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 42 unchanged lines hidden (view full) --- 51 VclTabPage effectsPage; 52 VclListBox colorList; 53 XTextDocument textDocument; 54 /** 55 * @throws java.lang.Exception 56 */ 57 @Before 58 public void setUp() throws Exception { |
59 OpenOffice aoo = new OpenOffice(); 60 aoo.setAutomationPort(OpenOffice.DEFAULT_AUTOMATION_PORT); 61 aoo.setUnoUrl(OpenOffice.DEFAULT_UNO_URL); | 59 OpenOffice aoo = OpenOffice.getDefault(); |
62 unoApp = new UnoApp(aoo); 63 vclApp = new VclApp(aoo); 64 writer = new VclWindow(vclApp, "SW_HID_EDIT_WIN"); 65 effectsPage = new VclTabPage(vclApp, "CUI_HID_SVXPAGE_CHAR_EFFECTS"); 66 colorList = new VclListBox(vclApp, "cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_FONTCOLOR"); 67 unoApp.start(); 68 } 69 --- 26 unchanged lines hidden --- | 60 unoApp = new UnoApp(aoo); 61 vclApp = new VclApp(aoo); 62 writer = new VclWindow(vclApp, "SW_HID_EDIT_WIN"); 63 effectsPage = new VclTabPage(vclApp, "CUI_HID_SVXPAGE_CHAR_EFFECTS"); 64 colorList = new VclListBox(vclApp, "cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_FONTCOLOR"); 65 unoApp.start(); 66 } 67 --- 26 unchanged lines hidden --- |