diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-09-05 20:49:38 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-05 21:01:48 +0200 |
commit | b1fd48de5fd7cd6385a63463d914d6d50e154bf9 (patch) | |
tree | 34de0faa4f72ac1c7127a60f7dfe6ba9aef08c72 /dbaccess/qa | |
parent | cd0308ba9c284d6ed336955e758a689bd8028a96 (diff) |
remove some obsolete boilerplate Test.java
Change-Id: I694cff583fddb713a59e5d6b8e15ea06a2be63b6
Diffstat (limited to 'dbaccess/qa')
-rw-r--r-- | dbaccess/qa/unoapi/dbaccess/Test.java | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/dbaccess/qa/unoapi/dbaccess/Test.java b/dbaccess/qa/unoapi/dbaccess/Test.java deleted file mode 100644 index 38ff47feef0c..000000000000 --- a/dbaccess/qa/unoapi/dbaccess/Test.java +++ /dev/null @@ -1,55 +0,0 @@ -/************************************************************************* -* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -* -* Copyright 2000, 2010 Oracle and/or its affiliates. -* -* OpenOffice.org - a multi-platform office productivity suite -* -* This file is part of OpenOffice.org. -* -* OpenOffice.org is free software: you can redistribute it and/or modify -* it under the terms of the GNU Lesser General Public License version 3 -* only, as published by the Free Software Foundation. -* -* OpenOffice.org is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser General Public License version 3 for more details -* (a copy is included in the LICENSE file that accompanied this code). -* -* You should have received a copy of the GNU Lesser General Public License -* version 3 along with OpenOffice.org. If not, see -* <http://www.openoffice.org/license.html> -* for a copy of the LGPLv3 License. -************************************************************************/ - -package unoapi.dbaccess; - -import org.openoffice.Runner; -import org.openoffice.test.OfficeConnection; -import org.openoffice.test.Argument; -import static org.junit.Assert.*; - -public final class Test { - @org.junit.Before public void setUp() throws Exception { - connection.setUp(); - } - - @org.junit.After public void tearDown() - throws InterruptedException, com.sun.star.uno.Exception - { - connection.tearDown(); - } - - @org.junit.Test public void test() { - assertTrue( - Runner.run( - "-sce", Argument.get("sce"), - "-xcl", Argument.get("xcl"), - "-ini", Argument.get("ini"), - "-tdoc", Argument.get("tdoc"), - "-cs", connection.getDescription())); - } - - private final OfficeConnection connection = new OfficeConnection(); -} |