Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b1fd48de
Kaydet (Commit)
b1fd48de
authored
Eyl 05, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove some obsolete boilerplate Test.java
Change-Id: I694cff583fddb713a59e5d6b8e15ea06a2be63b6
üst
cd0308ba
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
189 deletions
+1
-189
Test.java
dbaccess/qa/unoapi/dbaccess/Test.java
+0
-55
Test.java
extensions/qa/unoapi/Test.java
+0
-43
makefile.mk
qadevOOo/qa/unoapi/makefile.mk
+0
-41
JunitTest_sfx2_unoapi.mk
sfx2/JunitTest_sfx2_unoapi.mk
+1
-5
Test.java
sfx2/qa/unoapi/Test.java
+0
-45
No files found.
dbaccess/qa/unoapi/dbaccess/Test.java
deleted
100644 → 0
Dosyayı görüntüle @
cd0308ba
/*************************************************************************
* 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
();
}
extensions/qa/unoapi/Test.java
deleted
100644 → 0
Dosyayı görüntüle @
cd0308ba
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
package
org
.
openoffice
.
extensions
.
qa
.
unoapi
;
import
org.openoffice.Runner
;
import
org.openoffice.test.OfficeConnection
;
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"
,
"extensions.sce"
,
"-cs"
,
connection
.
getDescription
()));
}
private
final
OfficeConnection
connection
=
new
OfficeConnection
();
}
qadevOOo/qa/unoapi/makefile.mk
deleted
100644 → 0
Dosyayı görüntüle @
cd0308ba
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
.IF
"$(OOO_SUBSEQUENT_TESTS)"
==
""
nothing .PHONY
:
.ELSE
PRJ
=
../..
PRJNAME
=
qadevOOo
TARGET
=
qa_unoapi
.IF
"$(OOO_JUNIT_JAR)"
!=
""
PACKAGE
=
unoapi
JAVATESTFILES
=
Test.java
JAVAFILES
=
$(JAVATESTFILES)
JARFILES
=
OOoRunner.jar ridl.jar test.jar
EXTRAJARFILES
=
$(OOO_JUNIT_JAR)
.END
.INCLUDE
:
settings.mk
.INCLUDE
:
target.mk
.INCLUDE
:
installationtest.mk
ALLTAR
:
javatest
.END
sfx2/JunitTest_sfx2_unoapi.mk
Dosyayı görüntüle @
b1fd48de
...
...
@@ -34,12 +34,8 @@ $(eval $(call gb_JunitTest_use_jars,sfx2_unoapi,\
jurt \
))
$(eval $(call gb_JunitTest_add_sourcefiles,sfx2_unoapi,\
sfx2/qa/unoapi/Test \
))
$(eval $(call gb_JunitTest_add_classes,sfx2_unoapi,\
unoapi.
Test \
org.openoffice.test.UnoApi
Test \
))
# vim: set noet sw=4 ts=4:
sfx2/qa/unoapi/Test.java
deleted
100644 → 0
Dosyayı görüntüle @
cd0308ba
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
package
unoapi
;
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"
),
"-tdoc"
,
Argument
.
get
(
"tdoc"
),
"-cs"
,
connection
.
getDescription
()));
}
private
final
OfficeConnection
connection
=
new
OfficeConnection
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment