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
1aa1fd12
Kaydet (Commit)
1aa1fd12
authored
Agu 23, 2010
tarafından
Marc Neumann [msc]
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
automationooo330m5: #114064# testcases did not work under mac osx
üst
5bb4afeb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
8 deletions
+26
-8
db_Mozilla.inc
testautomation/dbaccess/optional/includes/db_Mozilla.inc
+26
-8
No files found.
testautomation/dbaccess/optional/includes/db_Mozilla.inc
Dosyayı görüntüle @
1aa1fd12
...
...
@@ -32,22 +32,35 @@
'
\
***********************************************************************
sub
db_Mozilla
' 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
if
(
gPlatform
=
"osx"
)
then
' on Mac platform the Mozilla address book is not available
'
so
I
call
only
the
testcases
to
satisfied
the
database
tQueryAddressbook
(
""
)
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
end
sub
'-------------------------------------------------------------------------
testcase tQueryAddressbook( sFileName )
if(gPlatform = "osx") then
printlog "mozilla address book not available on Mac"
goto endsub
endif
if ( not fOpenDatabase(sFileName) ) then
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"
...
...
@@ -86,6 +99,11 @@ endcase
'
-------------------------------------------------------------------------
testcase
tSortAddressbook
(
sFileName
)
if
(
gPlatform
=
"osx"
)
then
printlog
"mozilla address book not available on Mac"
goto
endsub
endif
Dim
sRecordCount
as
String
'/// open the database file created in the bas file
...
...
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