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
dd25a276
Kaydet (Commit)
dd25a276
authored
Eyl 02, 2010
tarafından
Frank Schoenheit [fs]
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
dba34a: merged in CWS dba33i
üst
65b348d3
b028a3a5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
17 deletions
+35
-17
db_Mozilla.inc
testautomation/dbaccess/optional/includes/db_Mozilla.inc
+26
-8
window_functions.inc
...tomation/framework/required/includes/window_functions.inc
+0
-3
im_003_.inc
...automation/graphics/required/includes/impress/im_003_.inc
+3
-5
w_loadsave.inc
...tomation/writer/optional/includes/loadsave/w_loadsave.inc
+6
-1
No files found.
testautomation/dbaccess/optional/includes/db_Mozilla.inc
100755 → 100644
Dosyayı görüntüle @
dd25a276
...
@@ -32,22 +32,35 @@
...
@@ -32,22 +32,35 @@
'
\
***********************************************************************
'
\
***********************************************************************
sub
db_Mozilla
sub
db_Mozilla
' Information for this test under
if
(
gPlatform
=
"osx"
)
then
'
http
://
wiki
.
services
.
openoffice
.
org
/
wiki
/
Database_Automatic_Testing
#Testing_the_mozilla_Address_book
' on Mac platform the Mozilla address book is not available
'
so
I
call
only
the
testcases
to
satisfied
the
database
if
fCreateMozillaAddressbookDatasource
(
gOfficePath
+
ConvertPath
(
"user/work/TT_Mozilla.odb"
))
then
tQueryAddressbook
(
gOfficePath
+
ConvertPath
(
"user/work/TT_Mozilla.odb"
))
tSortAddressbook
(
gOfficePath
+
ConvertPath
(
"user/work/TT_Mozilla.odb"
))
else
tQueryAddressbook
(
""
)
tQueryAddressbook
(
""
)
tSortAddressbook
(
""
)
tSortAddressbook
(
""
)
else
' Information for this test under
'
http
://
wiki
.
services
.
openoffice
.
org
/
wiki
/
Database_Automatic_Testing
#Testing_the_mozilla_Address_book
if
fCreateMozillaAddressbookDatasource
(
gOfficePath
+
ConvertPath
(
"user/work/TT_Mozilla.odb"
))
then
tQueryAddressbook
(
gOfficePath
+
ConvertPath
(
"user/work/TT_Mozilla.odb"
))
tSortAddressbook
(
gOfficePath
+
ConvertPath
(
"user/work/TT_Mozilla.odb"
))
else
tQueryAddressbook
(
""
)
tSortAddressbook
(
""
)
endif
endif
endif
end
sub
end
sub
'-------------------------------------------------------------------------
'-------------------------------------------------------------------------
testcase tQueryAddressbook( sFileName )
testcase tQueryAddressbook( sFileName )
if(gPlatform = "osx") then
printlog "mozilla address book not available on Mac"
goto endsub
endif
if ( not fOpenDatabase(sFileName) ) then
if ( not fOpenDatabase(sFileName) ) then
warnlog "Database can'
t
be
open
"
warnlog "Database can'
t
be
open
"
printlog "
May
be
you
find
a
solution
under
http
://
wiki
.
services
.
openoffice
.
org
/
wiki
/
Database_Automatic_Testing
#Testing_the_mozilla_Address_book"
printlog "
May
be
you
find
a
solution
under
http
://
wiki
.
services
.
openoffice
.
org
/
wiki
/
Database_Automatic_Testing
#Testing_the_mozilla_Address_book"
...
@@ -86,6 +99,11 @@ endcase
...
@@ -86,6 +99,11 @@ endcase
'
-------------------------------------------------------------------------
'
-------------------------------------------------------------------------
testcase
tSortAddressbook
(
sFileName
)
testcase
tSortAddressbook
(
sFileName
)
if
(
gPlatform
=
"osx"
)
then
printlog
"mozilla address book not available on Mac"
goto
endsub
endif
Dim
sRecordCount
as
String
Dim
sRecordCount
as
String
'/// open the database file created in the bas file
'/// open the database file created in the bas file
...
...
testautomation/framework/required/includes/window_functions.inc
Dosyayı görüntüle @
dd25a276
...
@@ -196,9 +196,6 @@ end sub
...
@@ -196,9 +196,6 @@ end sub
testcase
tCheckWindowTitle
(
sApplication
as
string
,
sReference
as
string
)
testcase
tCheckWindowTitle
(
sApplication
as
string
,
sReference
as
string
)
if
(
sApplication
=
"soffice"
)
then
printlog
(
"Update test for the office window titles"
)
printlog
(
"Update test for the office window titles"
)
' This is a Testtool-only problem that the product name is not displayed
' This is a Testtool-only problem that the product name is not displayed
...
...
testautomation/graphics/required/includes/impress/im_003_.inc
Dosyayı görüntüle @
dd25a276
...
@@ -217,11 +217,9 @@ testcase tiViewToolbar_1
...
@@ -217,11 +217,9 @@ testcase tiViewToolbar_1
printlog "
open
application
"
printlog "
open
application
"
Call hNewDocument
Call hNewDocument
Call sSelectEmptyLayout
printlog "
delete
default
content
"
printlog "
use
the
empty
layout
"
hUseAsyncSlot( "
EditSelectAll
" )
call sSelectEmptyLayout
Kontext "
DocumentImpress
"
DocumentImpress.typeKeys("
<
DELETE
>
",true)
printlog "
Insert
->
Graphic
...
:
global\input\graf_inp\desp
.
bmp
"
printlog "
Insert
->
Graphic
...
:
global\input\graf_inp\desp
.
bmp
"
hUseAsyncSlot( "
InsertGraphicsFromFile
" )
hUseAsyncSlot( "
InsertGraphicsFromFile
" )
...
...
testautomation/writer/optional/includes/loadsave/w_loadsave.inc
Dosyayı görüntüle @
dd25a276
...
@@ -52,6 +52,7 @@ testcase tExportAllReadableFormatsIntoODF
...
@@ -52,6 +52,7 @@ testcase tExportAllReadableFormatsIntoODF
Dim
SavedCorrectly
as
Boolean
Dim
SavedCorrectly
as
Boolean
Dim
sExportFilter
as
string
Dim
sExportFilter
as
string
Dim
sExportFile
as
string
Dim
sExportFile
as
string
Dim
sExceptionFile
as
string
Dim
i
as
Integer
Dim
i
as
Integer
WorkDirectory
=
(
ConvertPath
(
gOfficePath
+
"user\work
\"
+ gPlatgroup + "
\export
\
"))
WorkDirectory
=
(
ConvertPath
(
gOfficePath
+
"user\work
\"
+ gPlatgroup + "
\export
\
"))
...
@@ -77,8 +78,12 @@ testcase tExportAllReadableFormatsIntoODF
...
@@ -77,8 +78,12 @@ testcase tExportAllReadableFormatsIntoODF
For i = 1 to listCount(ImportFileList())
For i = 1 to listCount(ImportFileList())
printlog "- " & i & ". load: " & ImportFileList(i)
printlog "- " & i & ". load: " & ImportFileList(i)
sExportFile = ImportFileList(i)
sExportFile = ImportFileList(i)
sExceptionFile = DateiExtract ( sExportFile )
printlog sExceptionFile
if GetExtention ( sExportFile ) = "psw" then
if GetExtention ( sExportFile ) = "psw" then
QAErrorlog "#i102221#Pocket Word filter puts General I/O Error"
QAErrorlog "#i102221#Pocket Word filter puts General I/O Error"
elseif LCase( sExceptionFile ) = "swdos.txt" then
QAErrorlog "#i114062#General I/O error loading StarWriter DOS file"
else
else
Call hFileOpen ( ImportFileList(i) )
Call hFileOpen ( ImportFileList(i) )
printlog "- done"
printlog "- done"
...
...
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