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
52b23e4b
Kaydet (Commit)
52b23e4b
authored
Şub 16, 2010
tarafından
sb
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sb118: adapted remaining */qa/unoapi tests to new framework
üst
91fa813a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
143 additions
and
40 deletions
+143
-40
build.lst
extensions/prj/build.lst
+1
-0
Test.java
extensions/qa/unoapi/Test.java
+50
-0
makefile.mk
extensions/qa/unoapi/makefile.mk
+20
-16
build.lst
forms/prj/build.lst
+1
-0
Test.java
forms/qa/unoapi/Test.java
+51
-0
makefile.mk
forms/qa/unoapi/makefile.mk
+20
-24
No files found.
extensions/prj/build.lst
Dosyayı görüntüle @
52b23e4b
...
@@ -34,3 +34,4 @@ ex extensions\source\update\feed nmake - all ex_updchkfeed ex
...
@@ -34,3 +34,4 @@ ex extensions\source\update\feed nmake - all ex_updchkfeed ex
ex extensions\source\update\check nmake - all ex_updchk ex_inc NULL
ex extensions\source\update\check nmake - all ex_updchk ex_inc NULL
ex extensions\source\update\ui nmake - all ex_updchkui ex_inc NULL
ex extensions\source\update\ui nmake - all ex_updchkui ex_inc NULL
ex extensions\util nmake - all ex_util ex_preload ex_abpilot ex_dbpilots ex_logging ex_ldap ex_propctrlr ex_bib ex_plutil ex_oooimprovecore NULL
ex extensions\util nmake - all ex_util ex_preload ex_abpilot ex_dbpilots ex_logging ex_ldap ex_propctrlr ex_bib ex_plutil ex_oooimprovecore NULL
ex extensions\qa\unoapi nmake - all ex_qa_unoapi NULL
extensions/qa/unoapi/Test.java
0 → 100644
Dosyayı görüntüle @
52b23e4b
/*************************************************************************
* 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
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
();
}
extensions/qa/unoapi/makefile.mk
Dosyayı görüntüle @
52b23e4b
#*************************************************************************
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2008 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
#
#
$RCSfile: makefile.mk,v $
#
Copyright 2000, 2010 Oracle and/or its affiliates.
#
#
#
$Revision: 1.5 $
#
OpenOffice.org - a multi-platform office productivity suite
#
#
# This file is part of OpenOffice.org.
# This file is part of OpenOffice.org.
#
#
...
@@ -26,19 +21,28 @@
...
@@ -26,19 +21,28 @@
# version 3 along with OpenOffice.org. If not, see
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
# for a copy of the LGPLv3 License.
#
#***********************************************************************/
#*************************************************************************
PRJ
=
..
$/
..
.IF
"$(OOO_SUBSEQUENT_TESTS)"
==
""
nothing .PHONY
:
.ELSE
PRJNAME
=
extensions
PRJ
=
../..
TARGET
=
qa_unoapi
PRJNAME
=
extensions
TARGET
=
qa_unoapi
.INCLUDE
:
settings.mk
.IF
"$(OOO_JUNIT_JAR)"
!=
""
PACKAGE
=
org/openoffice/extensions/qa/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
:
target.mk
.INCLUDE
:
installationtest.mk
ALLTAR
:
UNOAPI_TEST
ALLTAR
:
javatest
UNOAPI_TEST
:
.END
+$(SOLARENV)$/bin$/checkapi
-sce
$(PRJNAME).sce
-THRCNT
1
forms/prj/build.lst
Dosyayı görüntüle @
52b23e4b
...
@@ -15,3 +15,4 @@ fm forms\source\richtext nmake - all fm_richtext fm_inc N
...
@@ -15,3 +15,4 @@ fm forms\source\richtext nmake - all fm_richtext fm_inc N
fm forms\source\runtime nmake - all frm_runtime NULL
fm forms\source\runtime nmake - all frm_runtime NULL
fm forms\util nmake - all fm_util fm_component fm_solar_component fm_solar_control fm_helper fm_misc fm_resource fm_richtext frm_runtime fm_xforms NULL
fm forms\util nmake - all fm_util fm_component fm_solar_component fm_solar_control fm_helper fm_misc fm_resource fm_richtext frm_runtime fm_xforms NULL
fm forms\qa nmake - all fm_qa NULL
fm forms\qa nmake - all fm_qa NULL
fm forms\qa\unoapi nmake - all fm_qa_unoapi NULL
forms/qa/unoapi/Test.java
0 → 100644
Dosyayı görüntüle @
52b23e4b
/*************************************************************************
* 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
org
.
openoffice
.
forms
.
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"
,
"forms.sce"
,
"-xcl"
,
"knownissues.xcl"
,
"-tdoc"
,
"testdocuments"
,
"-cs"
,
connection
.
getDescription
()));
}
private
final
OfficeConnection
connection
=
new
OfficeConnection
();
}
forms/qa/unoapi/makefile.mk
Dosyayı görüntüle @
52b23e4b
#*************************************************************************
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2008 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
#
#
$RCSfile: makefile.mk,v $
#
Copyright 2000, 2010 Oracle and/or its affiliates.
#
#
#
$Revision: 1.8 $
#
OpenOffice.org - a multi-platform office productivity suite
#
#
# This file is part of OpenOffice.org.
# This file is part of OpenOffice.org.
#
#
...
@@ -26,27 +21,28 @@
...
@@ -26,27 +21,28 @@
# version 3 along with OpenOffice.org. If not, see
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
# for a copy of the LGPLv3 License.
#
#***********************************************************************/
#*************************************************************************
PRJ
=
..
$/
..
.IF
"$(OOO_SUBSEQUENT_TESTS)"
==
""
nothing .PHONY
:
.ELSE
PRJNAME
=
forms
PRJ
=
../..
TARGET
=
qa_unoapi
PRJNAME
=
forms
TARGET
=
qa_unoapi
.INCLUDE
:
settings.mk
.IF
"$(OOO_JUNIT_JAR)"
!=
""
PACKAGE
=
org/openoffice/forms/qa/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
:
target.mk
.INCLUDE
:
installationtest.mk
ALLTAR
:
UNOAPI_TEST
ALLTAR
:
javatest
UNOAPI_TEST
:
+$(SOLARENV)$/bin$/checkapi
-sce
forms.sce
-xcl
knownissues.xcl
-DOCPTH
$(PWD)$/testdocuments
-THRCNT
1
-tdoc
$(PWD)$/testdocuments
@
echo
=======================================================================
@echo
Problems
with
controls
might
me
focus
problems
during
the
run
of
XView
@echo
these
seems
to
appear
by
chance
...
just
re-run
those
testcases
with
@echo
$(SOLARENV)$/bin$/checkapi
-o
componentName
-xcl
knownissues.xcl
-DOCPTH
$(PWD)$/testdocuments
-THRCNT
1
-tdoc
$(PWD)$/testdocuments
@
echo
=======================================================================
run_%
:
.END
+$(SOLARENV)$/bin$/checkapi -o $(PRJNAME).$(@
:
s/run_//) -xcl knownissues.xcl -DOCPTH $(PWD)$/testdocuments -THRCNT 1 -tdoc $(PWD)$/testdocuments
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