summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc')
-rw-r--r--qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleCsvGrid.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.java18
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleDocumentPagePreview.java20
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeader.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAnnotationObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAnnotationShapeObj.java23
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAnnotationsObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellFormatsEnumeration.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellFormatsObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellRangesObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellSearchObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellTextCursor.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellsObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScChartObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScChartsObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScConsolidationDescriptor.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDDELinkObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDDELinksObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.java16
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java16
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java16
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDrawPagesObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScFilterDescriptorBase.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScFunctionDescriptionObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFooterContentObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScImportDescriptorBase.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.java17
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScLabelRangeObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScLabelRangesObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScNamedRangesObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScScenariosObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScShapeObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSortDescriptorBase.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScStyleFamiliesObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScStyleObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSubTotalDescriptorBase.java16
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.java16
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTabViewObj.java19
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableColumnsObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableRowObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableRowsObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableValidationObj.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScViewPaneObj.java15
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLContentExporter.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLContentImporter.java17
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLExporter.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLImporter.java17
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java17
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java13
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java17
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java14
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLStylesImporter.java17
120 files changed, 382 insertions, 1305 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.java b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.java
index d9e8fb268ce2..ed9e5da9a65c 100644
--- a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.java
+++ b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.java
@@ -19,7 +19,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -142,17 +141,13 @@ public class AccessibleEditableTextPara_HeaderFooter extends TestCase {
* Opens new writer document.
*/
@Override
- protected void initialize(TestParameters Param, PrintWriter log) {
+ protected void initialize(TestParameters Param, PrintWriter log) throws Exception {
msf = Param.getMSF();
- try {
- SOfficeFactory SOF = SOfficeFactory.getFactory(msf);
- xCalcDoc = UnoRuntime.queryInterface(XComponent.class,
- SOF.createCalcDoc(
- null));
- } catch (com.sun.star.uno.Exception e) {
- throw new StatusException("Can't create document", e);
- }
+ SOfficeFactory SOF = SOfficeFactory.getFactory(msf);
+ xCalcDoc = UnoRuntime.queryInterface(XComponent.class,
+ SOF.createCalcDoc(
+ null));
}
diff --git a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java
index 03f649cd4c7a..b8ecfbfc29d4 100644
--- a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java
+++ b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -50,22 +49,16 @@ import com.sun.star.util.XURLTransformer;
public class AccessibleEditableTextPara_PreviewCell extends TestCase {
- private XSpreadsheetDocument xSheetDoc = null;
+ XSpreadsheetDocument xSheetDoc = null;
/**
* Creates a spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
index 0e2901f9132f..d9403aae8eb4 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
@@ -125,7 +125,7 @@ public class ScAccessibleCsvCell extends TestCase {
* @see #initializeTestCase
*/
@Override
- protected void initialize(TestParameters Param, PrintWriter log) {
+ protected void initialize(TestParameters Param, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvGrid.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvGrid.java
index 518ce6cb8915..cfb372413721 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvGrid.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvGrid.java
@@ -108,7 +108,7 @@ public class ScAccessibleCsvGrid extends TestCase {
* @see #initializeTestCase
*/
@Override
- protected void initialize(TestParameters Param, PrintWriter log) {
+ protected void initialize(TestParameters Param, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java
index 19307ebd843c..fb35f9236e02 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java
@@ -145,7 +145,7 @@ public class ScAccessibleCsvRuler extends TestCase {
* @see #initializeTestCase
*/
@Override
- protected void initialize(TestParameters Param, PrintWriter log) {
+ protected void initialize(TestParameters Param, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.java
index 37411116a9f6..348e8a6bc23e 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -130,20 +129,15 @@ public class ScAccessibleDocument extends TestCase {
* @see #initializeTestCase
*/
@Override
- protected void initialize(TestParameters Param, PrintWriter log) {
+ protected void initialize(TestParameters Param, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
- try {
- log.println("creating a spreadsheetdocument");
- String url = utils.getFullTestURL("calcshapes.sxc");
- log.println("loading document "+url);
- xSpreadsheetDoc = SOF.loadDocument(url);
- util.utils.waitForEventIdle(Param.getMSF());
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ String url = utils.getFullTestURL("calcshapes.sxc");
+ log.println("loading document "+url);
+ xSpreadsheetDoc = SOF.loadDocument(url);
+ util.utils.waitForEventIdle(Param.getMSF());
}
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleDocumentPagePreview.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleDocumentPagePreview.java
index 30be8cc5de82..1c800d233ebc 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleDocumentPagePreview.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleDocumentPagePreview.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -186,20 +185,15 @@ public class ScAccessibleDocumentPagePreview extends TestCase {
* @see #initializeTestCase
*/
@Override
- protected void initialize(TestParameters Param, PrintWriter log) {
+ protected void initialize(TestParameters Param, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
- try {
- log.println("creating a spreadsheetdocument");
- String url = utils.getFullTestURL("calcshapes.sxc");
- log.println("loading document "+url);
- xSpreadsheetDoc = UnoRuntime.queryInterface(
- XSpreadsheetDocument.class,SOF.loadDocument(url));
- util.utils.waitForEventIdle(Param.getMSF());
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ String url = utils.getFullTestURL("calcshapes.sxc");
+ log.println("loading document "+url);
+ xSpreadsheetDoc = UnoRuntime.queryInterface(
+ XSpreadsheetDocument.class,SOF.loadDocument(url));
+ util.utils.waitForEventIdle(Param.getMSF());
}
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeader.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeader.java
index 27e22248b2eb..74670742c8ae 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeader.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeader.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -229,16 +228,11 @@ public class ScAccessiblePageHeader extends TestCase {
* @see #initializeTestCase
*/
@Override
- protected void initialize(TestParameters Param, PrintWriter log) {
+ protected void initialize(TestParameters Param, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java
index 4102a9d2b101..ca72046d3a66 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -189,16 +188,11 @@ public class ScAccessiblePageHeaderArea extends TestCase {
* @see #initializeTestCase
*/
@Override
- protected void initialize(TestParameters Param, PrintWriter log) {
+ protected void initialize(TestParameters Param, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.java
index 70760ccd5deb..d645c407a3d1 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -80,16 +79,10 @@ public class ScAccessiblePreviewCell extends TestCase {
* Creates a spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java
index a117c12a61d5..aefd4365b5bd 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java
@@ -83,7 +83,7 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
* Creates a spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java
index c4fc8870956c..1e6b8f0f0891 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -82,16 +81,10 @@ public class ScAccessiblePreviewTable extends TestCase {
* Creates a spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.java
index 8227537bd5e6..dd177b7e35f3 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.java
@@ -72,16 +72,10 @@ public class ScAccessibleSpreadsheet extends TestCase {
* Creates a spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAnnotationObj.java b/qadevOOo/tests/java/mod/_sc/ScAnnotationObj.java
index 225fff59f840..26306312d075 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAnnotationObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAnnotationObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -67,18 +66,10 @@ public class ScAnnotationObj extends TestCase {
* Creates a spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAnnotationShapeObj.java b/qadevOOo/tests/java/mod/_sc/ScAnnotationShapeObj.java
index 757020ef280b..21cae1a416eb 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAnnotationShapeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAnnotationShapeObj.java
@@ -34,7 +34,6 @@ import com.sun.star.uno.Type;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -74,24 +73,18 @@ public class ScAnnotationShapeObj extends TestCase {
* Creates a spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
SOfficeFactory SOF =
SOfficeFactory.getFactory(tParam
.getMSF());
- try {
- log.println("creating a Spreadsheet document");
- log.println("Loading: "+utils.getFullTestURL(
- "ScAnnotationShapeObj.sxc"));
- xSheetDoc =
- UnoRuntime.queryInterface(XSpreadsheetDocument.class,
- SOF.loadDocument(utils.getFullTestURL(
- "ScAnnotationShapeObj.sxc")));
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a Spreadsheet document");
+ log.println("Loading: "+utils.getFullTestURL(
+ "ScAnnotationShapeObj.sxc"));
+ xSheetDoc =
+ UnoRuntime.queryInterface(XSpreadsheetDocument.class,
+ SOF.loadDocument(utils.getFullTestURL(
+ "ScAnnotationShapeObj.sxc")));
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.java b/qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.java
index 3d8dd7f18f2a..caa2e2a911fe 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -62,18 +61,10 @@ public class ScAnnotationTextCursor extends TestCase {
private XSpreadsheetDocument xSheetDoc = null;
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
@Override
diff --git a/qadevOOo/tests/java/mod/_sc/ScAnnotationsObj.java b/qadevOOo/tests/java/mod/_sc/ScAnnotationsObj.java
index bc667eb500a0..24d9756528d7 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAnnotationsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAnnotationsObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -69,18 +68,10 @@ public class ScAnnotationsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java b/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java
index 71261a3706a1..f40eea8a509f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -68,18 +67,10 @@ public class ScAreaLinkObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java b/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java
index 00ca034ea9d3..8b324a723502 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java
@@ -19,7 +19,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -64,18 +63,10 @@ public class ScAreaLinksObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
-protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java
index 7cd2341a9e60..8565e3540064 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java
@@ -19,7 +19,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -65,17 +64,10 @@ public class ScAutoFormatsObj extends TestCase{
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java b/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java
index 3243c3327328..32df044428cc 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java
@@ -18,7 +18,6 @@
package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -103,18 +102,12 @@ public class ScCellCursorObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java
index b53534226a6f..0194491218ff 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java
@@ -19,7 +19,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -70,18 +69,10 @@ public class ScCellFieldObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java b/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java
index 0c8104c1a994..3445d088a888 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java
@@ -19,7 +19,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -65,18 +64,10 @@ public class ScCellFieldsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellFormatsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScCellFormatsEnumeration.java
index e18bb34bc91f..a605e57ce4f0 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellFormatsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellFormatsEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -56,18 +55,12 @@ public class ScCellFormatsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e);
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScCellFormatsObj.java
index 76b253447172..e67bcf105a4a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellFormatsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellFormatsObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -58,18 +57,11 @@ public class ScCellFormatsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellObj.java b/qadevOOo/tests/java/mod/_sc/ScCellObj.java
index a867514acceb..0c83486c9c29 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellObj.java
@@ -19,7 +19,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -86,17 +85,10 @@ public class ScCellObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "Creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "Creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java b/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java
index 90dbbe9728b2..3b6d0865696d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java
@@ -18,7 +18,6 @@
package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -91,17 +90,11 @@ public class ScCellRangeObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
- try {
- log.println("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellRangesObj.java b/qadevOOo/tests/java/mod/_sc/ScCellRangesObj.java
index 96db4e543960..1dfbcfc1e6f4 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellRangesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellRangesObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -88,19 +87,11 @@ public class ScCellRangesObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
-
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellSearchObj.java b/qadevOOo/tests/java/mod/_sc/ScCellSearchObj.java
index 56100f05ac4d..349eed1da44d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellSearchObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellSearchObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -65,18 +64,11 @@ public class ScCellSearchObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellTextCursor.java b/qadevOOo/tests/java/mod/_sc/ScCellTextCursor.java
index 0a0eb64fef9d..882f25702e54 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellTextCursor.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellTextCursor.java
@@ -19,7 +19,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -94,18 +93,10 @@ public class ScCellTextCursor extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java
index 00c37ddb39e5..48f4adf7713f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java
@@ -19,7 +19,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -58,18 +57,10 @@ public class ScCellsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
-
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellsObj.java b/qadevOOo/tests/java/mod/_sc/ScCellsObj.java
index 251ad4899996..2fb813995c24 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellsObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -61,19 +60,11 @@ public class ScCellsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
-
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScChartObj.java b/qadevOOo/tests/java/mod/_sc/ScChartObj.java
index d2530fa76296..6b1515b3e5e8 100644
--- a/qadevOOo/tests/java/mod/_sc/ScChartObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScChartObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -68,18 +67,11 @@ public class ScChartObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScChartsObj.java b/qadevOOo/tests/java/mod/_sc/ScChartsObj.java
index f511d4e259d4..c35576806171 100644
--- a/qadevOOo/tests/java/mod/_sc/ScChartsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScChartsObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -69,18 +68,11 @@ public class ScChartsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScConsolidationDescriptor.java b/qadevOOo/tests/java/mod/_sc/ScConsolidationDescriptor.java
index a3bba3bf8297..896db757b9c4 100644
--- a/qadevOOo/tests/java/mod/_sc/ScConsolidationDescriptor.java
+++ b/qadevOOo/tests/java/mod/_sc/ScConsolidationDescriptor.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -50,18 +49,11 @@ public class ScConsolidationDescriptor extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDDELinkObj.java b/qadevOOo/tests/java/mod/_sc/ScDDELinkObj.java
index 87dd41ccb710..04e9beebb8c5 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDDELinkObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDDELinkObj.java
@@ -19,7 +19,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -67,18 +66,10 @@ public class ScDDELinkObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDDELinksObj.java b/qadevOOo/tests/java/mod/_sc/ScDDELinksObj.java
index a15b857073ea..9fb7f59614e9 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDDELinksObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDDELinksObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -65,18 +64,10 @@ public class ScDDELinksObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.java
index cffabddba81d..c45a4eb23773 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.java
@@ -39,7 +39,6 @@ import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -62,22 +61,13 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
* Creates Spreadsheet document.
*/
@Override
- protected void initialize (TestParameters tParam, PrintWriter log)
+ protected void initialize (TestParameters tParam, PrintWriter log) throws Exception
{
SOfficeFactory SOF = SOfficeFactory.getFactory (
tParam.getMSF ());
- try
- {
- log.println ("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc (null);
- }
- catch (com.sun.star.uno.Exception e)
- {
- // Some exception occurs.FAILED
- e.printStackTrace (log);
- throw new StatusException ("Couldn't create document", e);
- }
+ log.println ("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc (null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java
index 3123ff91df31..c9f08c2508c0 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java
@@ -38,7 +38,6 @@ import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -61,22 +60,13 @@ public class ScDataPilotFieldGroupObj extends TestCase
* Creates Spreadsheet document.
*/
@Override
- protected void initialize (TestParameters tParam, PrintWriter log)
+ protected void initialize (TestParameters tParam, PrintWriter log) throws Exception
{
SOfficeFactory SOF = SOfficeFactory.getFactory (
tParam.getMSF ());
- try
- {
- log.println ("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc (null);
- }
- catch (com.sun.star.uno.Exception e)
- {
- // Some exception occurs.FAILED
- e.printStackTrace (log);
- throw new StatusException ("Couldn't create document", e);
- }
+ log.println ("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc (null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java
index 6ff2d8422c29..7f3b28752116 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java
@@ -38,7 +38,6 @@ import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -61,22 +60,13 @@ public class ScDataPilotFieldGroupsObj extends TestCase
* Creates Spreadsheet document.
*/
@Override
- protected void initialize (TestParameters tParam, PrintWriter log)
+ protected void initialize (TestParameters tParam, PrintWriter log) throws Exception
{
SOfficeFactory SOF = SOfficeFactory.getFactory (
tParam.getMSF ());
- try
- {
- log.println ("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc (null);
- }
- catch (com.sun.star.uno.Exception e)
- {
- // Some exception occurs.FAILED
- e.printStackTrace (log);
- throw new StatusException ("Couldn't create document", e);
- }
+ log.println ("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc (null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java
index 618f85ed0df1..043e8798ac69 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java
@@ -37,7 +37,6 @@ import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -75,18 +74,12 @@ public class ScDataPilotFieldObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.java
index 72b656217e3a..1b3d2748f047 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -62,17 +61,10 @@ public class ScDataPilotFieldsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java
index 17c1841d6a62..c1de8eb33710 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java
@@ -38,7 +38,6 @@ import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -76,18 +75,12 @@ public class ScDataPilotItemObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java
index b02fd9d107a1..3d06faee132f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java
@@ -38,7 +38,6 @@ import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -76,18 +75,12 @@ public class ScDataPilotItemsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java
index 6440655446d9..3a419cca25f0 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -69,18 +68,10 @@ public class ScDataPilotTableObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.java
index c06ad51ed53d..7bcd96b85391 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -65,18 +64,10 @@ public class ScDataPilotTablesObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj.java b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj.java
index c6c5e95f6c36..65630bd00989 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj.java
@@ -37,7 +37,6 @@ import com.sun.star.util.XImportable;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -75,18 +74,12 @@ public class ScDatabaseRangeObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java
index 99a882a96d57..fd8900babcc1 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -60,18 +59,10 @@ public class ScDatabaseRangesObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration.java b/qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration.java
index 44494f2b9609..1add5a952a53 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration.java
@@ -24,7 +24,6 @@ import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -37,19 +36,13 @@ public class ScDocumentConfiguration extends TestCase {
private XSpreadsheetDocument xSheetDoc = null;
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a sheetdocument");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a sheetdocument");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java b/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java
index a33fbc739612..0619ca7533c4 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -48,18 +47,11 @@ public class ScDrawPageObj extends TestCase {
* Creates a new Draw document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDrawPagesObj.java b/qadevOOo/tests/java/mod/_sc/ScDrawPagesObj.java
index 64b53780a84e..345901bdfc52 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDrawPagesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDrawPagesObj.java
@@ -63,19 +63,11 @@ public class ScDrawPagesObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
-
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScFilterDescriptorBase.java b/qadevOOo/tests/java/mod/_sc/ScFilterDescriptorBase.java
index db3a05c3e836..993254bfabe0 100644
--- a/qadevOOo/tests/java/mod/_sc/ScFilterDescriptorBase.java
+++ b/qadevOOo/tests/java/mod/_sc/ScFilterDescriptorBase.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -61,19 +60,11 @@ public class ScFilterDescriptorBase extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
-
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScFunctionDescriptionObj.java b/qadevOOo/tests/java/mod/_sc/ScFunctionDescriptionObj.java
index e8bdbf3b6e02..6d2fbdaa4250 100644
--- a/qadevOOo/tests/java/mod/_sc/ScFunctionDescriptionObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScFunctionDescriptionObj.java
@@ -21,7 +21,6 @@ package mod._sc;
import java.io.PrintWriter;
import java.util.Random;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -38,18 +37,10 @@ public class ScFunctionDescriptionObj extends TestCase {
private XSpreadsheetDocument xSheetDoc = null;
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
@Override
diff --git a/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java b/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java
index d7c09b93d3b9..e7c90e6a8aea 100644
--- a/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -59,18 +58,10 @@ public class ScFunctionListObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java
index b18507ae76fc..bb4ee77bd8ae 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -72,18 +71,10 @@ public class ScHeaderFieldObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj.java
index 6ce687d9b89f..df6f1ef26e1c 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -68,18 +67,10 @@ public class ScHeaderFieldsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScHeaderFooterContentObj.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterContentObj.java
index 4e3710326e5d..b74046367f52 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFooterContentObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterContentObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -57,18 +56,10 @@ public class ScHeaderFooterContentObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor.java
index 49d2eb9fc726..f91682023b49 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -96,17 +95,10 @@ public class ScHeaderFooterTextCursor extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextObj.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextObj.java
index a0c818bf150f..990d6183a11d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -85,18 +84,11 @@ public class ScHeaderFooterTextObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScImportDescriptorBase.java b/qadevOOo/tests/java/mod/_sc/ScImportDescriptorBase.java
index 0d8eaba0fb5f..5782b1327016 100644
--- a/qadevOOo/tests/java/mod/_sc/ScImportDescriptorBase.java
+++ b/qadevOOo/tests/java/mod/_sc/ScImportDescriptorBase.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -56,18 +55,10 @@ public class ScImportDescriptorBase extends TestCase {
*
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.java
index 8c6c05fee349..e47b1a5f4389 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -47,18 +46,11 @@ public class ScIndexEnumeration_CellAnnotationsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java
index abb746470f76..95e6f4216a70 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -44,18 +43,10 @@ public class ScIndexEnumeration_CellAreaLinksEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
-protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.java
index 23d2e1b445e8..16b0e5188704 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -48,18 +47,10 @@ public class ScIndexEnumeration_DDELinksEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.java
index b436d097ac68..951e49b81f82 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -49,18 +48,10 @@ public class ScIndexEnumeration_DataPilotFieldsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java
index 354b1d5d9ee6..508469a73219 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java
@@ -39,7 +39,6 @@ import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -78,18 +77,12 @@ public class ScIndexEnumeration_DataPilotItemsEnumeration
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a Spreadsheet document");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a Spreadsheet document");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.java
index 5f0b9c74e1ab..e2472dbacc22 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -49,18 +48,10 @@ public class ScIndexEnumeration_DataPilotTablesEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.java
index ccd5ee7e8f77..8fbf7f548eec 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -46,18 +45,10 @@ public class ScIndexEnumeration_DatabaseRangesEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
index 9f507bf76536..0e0f75ad9e2e 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -40,18 +39,10 @@ public class ScIndexEnumeration_FunctionDescriptionEnumeration extends TestCase
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java
index 61b72238ed3f..767c4a1be5f6 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -42,18 +41,11 @@ public class ScIndexEnumeration_LabelRangesEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.java
index dc716d03ac72..cacd7e6b801c 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -43,17 +42,10 @@ public class ScIndexEnumeration_NamedRangesEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.java
index ed0df37afe26..c6e2ae58283b 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -45,19 +44,11 @@ public class ScIndexEnumeration_SheetCellRangesEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
-
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java
index dde526e1254c..ec1cdb149ca4 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -46,17 +45,10 @@ public class ScIndexEnumeration_SheetLinksEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.java
index 01e648e4fe51..11050dd12994 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -46,17 +45,12 @@ public class ScIndexEnumeration_SpreadsheetViewPanesEnumeration extends TestCase
* Creates Spreadsheet document.
*/
@Override
- public void initialize( TestParameters Param, PrintWriter log ) {
+ public void initialize( TestParameters Param, PrintWriter log ) throws Exception {
// get a soffice factory object
SOF = SOfficeFactory.getFactory( Param.getMSF());
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.java
index 3ca18f220252..72617bb55e74 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -40,17 +39,12 @@ public class ScIndexEnumeration_SpreadsheetsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- public void initialize( TestParameters Param, PrintWriter log ) {
+ public void initialize( TestParameters Param, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.java
index 787bbe833531..0854b11989f7 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -48,21 +47,11 @@ public class ScIndexEnumeration_SubTotalFieldsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- public void initialize( TestParameters Param, PrintWriter log ) {
- // creation of the testobject here
- // first we write what we are intend to do to log file
- log.println("creating a test environment");
-
+ public void initialize( TestParameters Param, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
-
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java
index 1f112b76aa5e..473170ee2f49 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -40,17 +39,10 @@ public class ScIndexEnumeration_TableAutoFormatEnumeration extends TestCase{
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.java
index af896149c8dd..dd58474c34e2 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -51,18 +50,11 @@ public class ScIndexEnumeration_TableChartsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java
index 874632c3d138..169f73be9fac 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -46,18 +45,11 @@ public class ScIndexEnumeration_TableColumnsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java
index 281946bc299b..bed5fa04c677 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -50,18 +49,11 @@ public class ScIndexEnumeration_TableConditionalEntryEnumeration extends TestCas
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.java
index 03d2efb28978..3dda6ce59d47 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -46,17 +45,10 @@ public class ScIndexEnumeration_TableRowsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java
index 73d0455c09a8..632a08dc433b 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -60,18 +59,10 @@ public class ScIndexEnumeration_TextFieldEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScLabelRangeObj.java b/qadevOOo/tests/java/mod/_sc/ScLabelRangeObj.java
index 3639302fe81c..df585350d548 100644
--- a/qadevOOo/tests/java/mod/_sc/ScLabelRangeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScLabelRangeObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -55,18 +54,11 @@ public class ScLabelRangeObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScLabelRangesObj.java b/qadevOOo/tests/java/mod/_sc/ScLabelRangesObj.java
index 15e0d0b46405..2806fd4cfb55 100644
--- a/qadevOOo/tests/java/mod/_sc/ScLabelRangesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScLabelRangesObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -58,18 +57,11 @@ public class ScLabelRangesObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.java b/qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.java
index 229bec8d299d..e8e2afff28d5 100644
--- a/qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -61,18 +60,11 @@ public class ScNamedRangeObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScNamedRangesObj.java b/qadevOOo/tests/java/mod/_sc/ScNamedRangesObj.java
index c8d26848b561..737123413d54 100644
--- a/qadevOOo/tests/java/mod/_sc/ScNamedRangesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScNamedRangesObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -64,17 +63,10 @@ public class ScNamedRangesObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java b/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java
index 45cf216d23dc..bcce14359251 100644
--- a/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -51,17 +50,10 @@ public class ScRecentFunctionsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScScenariosObj.java b/qadevOOo/tests/java/mod/_sc/ScScenariosObj.java
index 07c73cdf0ead..7df0671c2f42 100644
--- a/qadevOOo/tests/java/mod/_sc/ScScenariosObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScScenariosObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -64,17 +63,11 @@ public class ScScenariosObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- public void initialize( TestParameters Param, PrintWriter log ) {
+ public void initialize( TestParameters Param, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
-
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScShapeObj.java b/qadevOOo/tests/java/mod/_sc/ScShapeObj.java
index 5f5d770065cb..93f9c6b40bbd 100644
--- a/qadevOOo/tests/java/mod/_sc/ScShapeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScShapeObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -37,18 +36,10 @@ public class ScShapeObj extends TestCase {
static XComponent xSheetDoc;
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
-
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a sheetdoc" );
- xSheetDoc = UnoRuntime.queryInterface(XComponent.class, SOF.createCalcDoc(null));
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdoc" );
+ xSheetDoc = UnoRuntime.queryInterface(XComponent.class, SOF.createCalcDoc(null));
}
@Override
diff --git a/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java b/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java
index 07727ae5b8bc..50726cd739b9 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -71,17 +70,11 @@ public class ScSheetLinkObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java b/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java
index c4f2141778b0..cd209cfd8332 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -59,17 +58,10 @@ public class ScSheetLinksObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScSortDescriptorBase.java b/qadevOOo/tests/java/mod/_sc/ScSortDescriptorBase.java
index b20f2b99081c..74a2d085f9a5 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSortDescriptorBase.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSortDescriptorBase.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -58,18 +57,10 @@ public class ScSortDescriptorBase extends TestCase {
*
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj.java b/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj.java
index a4c349eb763a..84b6eeb895ad 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj.java
@@ -51,18 +51,10 @@ public class ScSpreadsheetSettingsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
-
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScStyleFamiliesObj.java b/qadevOOo/tests/java/mod/_sc/ScStyleFamiliesObj.java
index 5125e07f927c..127b73226222 100644
--- a/qadevOOo/tests/java/mod/_sc/ScStyleFamiliesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScStyleFamiliesObj.java
@@ -56,17 +56,10 @@ public class ScStyleFamiliesObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java b/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java
index 1a211f90e3d2..ea8b06aabc3a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -67,17 +66,10 @@ public class ScStyleFamilyObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScStyleObj.java b/qadevOOo/tests/java/mod/_sc/ScStyleObj.java
index 37a063b9f781..8705c6d7d639 100644
--- a/qadevOOo/tests/java/mod/_sc/ScStyleObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScStyleObj.java
@@ -21,7 +21,6 @@ package mod._sc;
import java.io.PrintWriter;
import java.util.ArrayList;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -70,17 +69,10 @@ public class ScStyleObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a Spreadsheet document" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScSubTotalDescriptorBase.java b/qadevOOo/tests/java/mod/_sc/ScSubTotalDescriptorBase.java
index 945212a02c5d..f8254abb2700 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSubTotalDescriptorBase.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSubTotalDescriptorBase.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -64,21 +63,12 @@ public class ScSubTotalDescriptorBase extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- public void initialize( TestParameters Param, PrintWriter log ) {
- // creation of the testobject here
- // first we write what we are intend to do to log file
- log.println("creating a test environment");
-
+ public void initialize( TestParameters Param, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.java
index 000082e43b82..59bbe97ba5bc 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -59,21 +58,12 @@ public class ScSubTotalFieldObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- public void initialize( TestParameters Param, PrintWriter log ) {
- // creation of the testobject here
- // first we write what we are intend to do to log file
- log.println("creating a test environment");
-
+ public void initialize( TestParameters Param, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java b/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java
index b1378967f148..904854765cc1 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java
@@ -26,10 +26,10 @@ import com.sun.star.drawing.XDrawPagesSupplier;
import com.sun.star.drawing.XShape;
import com.sun.star.form.XForm;
import com.sun.star.lang.WrappedTargetException;
+
import java.io.PrintWriter;
import java.util.Comparator;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -90,20 +90,13 @@ public class ScTabViewObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- public void initialize( TestParameters Param, PrintWriter log ) {
+ public void initialize( TestParameters Param, PrintWriter log ) throws Exception {
// get a soffice factory object
-
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
-
- try {
- log.println("creating two spreadsheet documents");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- util.utils.waitForEventIdle(Param.getMSF());
- xSpreadsheetDoc2 = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating two spreadsheet documents");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
+ util.utils.waitForEventIdle(Param.getMSF());
+ xSpreadsheetDoc2 = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java b/qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java
index 69b3f6fa9a42..256a18efb708 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -65,18 +64,11 @@ public class ScTableColumnObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableColumnsObj.java b/qadevOOo/tests/java/mod/_sc/ScTableColumnsObj.java
index 39bbd9ea5cbb..dbb115acd695 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableColumnsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableColumnsObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -66,18 +65,11 @@ public class ScTableColumnsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.java b/qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.java
index f5170a35571d..5bed10b5e414 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -64,18 +63,11 @@ public class ScTableConditionalEntry extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java b/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java
index d66ef56163e7..0e579afca64d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -69,18 +68,11 @@ public class ScTableConditionalFormat extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableRowObj.java b/qadevOOo/tests/java/mod/_sc/ScTableRowObj.java
index d49cb1580c4d..6a1434ed74fe 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableRowObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableRowObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -62,18 +61,11 @@ public class ScTableRowObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableRowsObj.java b/qadevOOo/tests/java/mod/_sc/ScTableRowsObj.java
index 6bca6bf03c9d..b210f4f6f78d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableRowsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableRowsObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -63,17 +62,11 @@ public class ScTableRowsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc(null);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java b/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java
index cd22d415285c..206d0e70b6b3 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java
@@ -37,7 +37,6 @@ import ifc.sheet._XCellRangesQuery;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -126,19 +125,13 @@ public class ScTableSheetObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a sheetdocument");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a sheetdocument");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.java b/qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.java
index d53550f728f4..8270337b7aef 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.java
@@ -66,17 +66,11 @@ public class ScTableSheetsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- public void initialize( TestParameters Param, PrintWriter log ) {
+ public void initialize( TestParameters Param, PrintWriter log ) throws Exception {
// get a soffice factory object
-
SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableValidationObj.java b/qadevOOo/tests/java/mod/_sc/ScTableValidationObj.java
index 6dbe13a65d50..ce1a84e2b394 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableValidationObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableValidationObj.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -60,18 +59,11 @@ public class ScTableValidationObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
-
- try {
- log.println( "creating a sheetdocument" );
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a sheetdocument" );
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
index 49164287ab31..8f7a98c7cc08 100644
--- a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
@@ -31,7 +31,6 @@ import java.awt.Color;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -47,19 +46,13 @@ public class ScUniqueCellFormatsEnumeration extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a sheetdocument");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a sheetdocument");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java
index 713ea5e66ce3..808ac6739ca7 100644
--- a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java
@@ -30,7 +30,6 @@ import java.awt.Color;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -46,19 +45,13 @@ public class ScUniqueCellFormatsObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- protected void initialize(TestParameters tParam, PrintWriter log) {
+ protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(
tParam.getMSF());
- try {
- log.println("creating a sheetdocument");
- xSheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- // Some exception occurs.FAILED
- e.printStackTrace(log);
- throw new StatusException("Couldn't create document", e);
- }
+ log.println("creating a sheetdocument");
+ xSheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScViewPaneObj.java b/qadevOOo/tests/java/mod/_sc/ScViewPaneObj.java
index 17f29a930b66..4eb687bf7490 100644
--- a/qadevOOo/tests/java/mod/_sc/ScViewPaneObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScViewPaneObj.java
@@ -19,9 +19,9 @@
package mod._sc;
import com.sun.star.container.NoSuchElementException;
+
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -45,6 +45,7 @@ import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.Type;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface;
+
import util.FormTools;
/**
@@ -70,17 +71,11 @@ public class ScViewPaneObj extends TestCase {
* Creates Spreadsheet document.
*/
@Override
- public void initialize( TestParameters Param, PrintWriter log ) {
+ public void initialize( TestParameters Param, PrintWriter log ) throws Exception {
// get a soffice factory object
SOF = SOfficeFactory.getFactory( Param.getMSF());
-
- try {
- log.println("creating a spreadsheetdocument");
- xSpreadsheetDoc = SOF.createCalcDoc(null);
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document ", e );
- }
+ log.println("creating a spreadsheetdocument");
+ xSpreadsheetDoc = SOF.createCalcDoc(null);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java b/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java
index 0ea03329c221..b42d1fc9ca66 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -73,17 +72,10 @@ public class XMLContentExporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a calc document" );
- xSheetDoc = SOF.openDoc("scalc","_blank");
-
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a calc document" );
+ xSheetDoc = SOF.openDoc("scalc","_blank");
}
@Override
diff --git a/qadevOOo/tests/java/mod/_sc/XMLContentImporter.java b/qadevOOo/tests/java/mod/_sc/XMLContentImporter.java
index 13d917f2c273..5f3d65547361 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLContentImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLContentImporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -68,19 +67,13 @@ public class XMLContentImporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc( null );
- comp = UnoRuntime.queryInterface
- (XComponent.class, xSheetDoc) ;
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc( null );
+ comp = UnoRuntime.queryInterface
+ (XComponent.class, xSheetDoc) ;
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/XMLExporter.java b/qadevOOo/tests/java/mod/_sc/XMLExporter.java
index ddeec0159b23..bddb0701d6ba 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLExporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -71,16 +70,10 @@ public class XMLExporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a calc document" );
- xSheetDoc = SOF.openDoc("scalc","_blank");
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a calc document" );
+ xSheetDoc = SOF.openDoc("scalc","_blank");
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/XMLImporter.java b/qadevOOo/tests/java/mod/_sc/XMLImporter.java
index d1e5519acbbf..ff5e94063100 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLImporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -67,19 +66,13 @@ public class XMLImporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- XSpreadsheetDocument xSpreadsheetDoc = SOF.createCalcDoc( null );
- xSheetDoc = UnoRuntime.queryInterface
- (XComponent.class, xSpreadsheetDoc);
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ XSpreadsheetDocument xSpreadsheetDoc = SOF.createCalcDoc( null );
+ xSheetDoc = UnoRuntime.queryInterface
+ (XComponent.class, xSpreadsheetDoc);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java
index 2e8bf049ef34..7ebdca4b7e5f 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -69,17 +68,11 @@ public class XMLMetaExporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a calc document" );
- xSheetDoc = SOF.openDoc("scalc","_blank");
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a calc document" );
+ xSheetDoc = SOF.openDoc("scalc","_blank");
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java
index 0705e96734d0..b7e26d0bb138 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -69,19 +68,13 @@ public class XMLMetaImporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc( null );
- comp = UnoRuntime.queryInterface
- (XComponent.class, xSheetDoc) ;
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc( null );
+ comp = UnoRuntime.queryInterface
+ (XComponent.class, xSheetDoc) ;
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java
index d00e5787f017..9386a233d7de 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -69,17 +68,11 @@ public class XMLSettingsExporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a calc document" );
- xSheetDoc = SOF.openDoc("scalc","_blank");
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a calc document" );
+ xSheetDoc = SOF.openDoc("scalc","_blank");
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java
index 08d570c344b4..fc83d3e3b4f2 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -70,19 +69,13 @@ public class XMLSettingsImporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc( null );
- comp = UnoRuntime.queryInterface
- (XComponent.class, xSheetDoc) ;
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc( null );
+ comp = UnoRuntime.queryInterface
+ (XComponent.class, xSheetDoc) ;
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
index b17b1136646a..36b1bc7e7856 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -71,17 +70,10 @@ public class XMLStylesExporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
-
- try {
- log.println( "creating a calc document" );
- xSheetDoc = SOF.openDoc("scalc","_blank");
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a calc document" );
+ xSheetDoc = SOF.openDoc("scalc","_blank");
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_sc/XMLStylesImporter.java
index 5ccc6b295e92..49cb036def37 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLStylesImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLStylesImporter.java
@@ -20,7 +20,6 @@ package mod._sc;
import java.io.PrintWriter;
-import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
@@ -69,19 +68,13 @@ public class XMLStylesImporter extends TestCase {
* New spreadsheet document created.
*/
@Override
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
- try {
- log.println( "creating a Spreadsheet document" );
- xSheetDoc = SOF.createCalcDoc( null );
- comp = UnoRuntime.queryInterface
- (XComponent.class, xSheetDoc) ;
- } catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
- e.printStackTrace( log );
- throw new StatusException( "Couldn't create document", e );
- }
+ log.println( "creating a Spreadsheet document" );
+ xSheetDoc = SOF.createCalcDoc( null );
+ comp = UnoRuntime.queryInterface
+ (XComponent.class, xSheetDoc) ;
}
/**