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
4bd25c60
Kaydet (Commit)
4bd25c60
authored
May 27, 2003
tarafından
Vladimir Glazounov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:55:38 sg 1.1.8.1: #109819# prepare devide of runner
üst
478df81b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
ODatabaseSource.java
qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java
+5
-5
ODatasourceAdministrationDialog.java
...s/java/mod/_dbaccess/ODatasourceAdministrationDialog.java
+4
-3
ODatasourceBrowser.java
qadevOOo/tests/java/mod/_dbaccess/ODatasourceBrowser.java
+5
-4
No files found.
qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java
Dosyayı görüntüle @
4bd25c60
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: ODatabaseSource.java,v $
* $RCSfile: ODatabaseSource.java,v $
*
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
*
* last change:$Date: 2003-0
1-27 18:14:38
$
* last change:$Date: 2003-0
5-27 12:36:43
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -143,14 +143,14 @@ public class ODatabaseSource extends TestCase {
...
@@ -143,14 +143,14 @@ public class ODatabaseSource extends TestCase {
XMultiServiceFactory
xMSF
=
null
;
XMultiServiceFactory
xMSF
=
null
;
try
{
try
{
xMSF
=
Param
.
getMSF
();
xMSF
=
(
XMultiServiceFactory
)
Param
.
getMSF
();
oInterface
=
xMSF
.
createInstance
(
"com.sun.star.sdb.DatabaseContext"
);
oInterface
=
xMSF
.
createInstance
(
"com.sun.star.sdb.DatabaseContext"
);
xDBContextNameServ
=
(
XNamingService
)
xDBContextNameServ
=
(
XNamingService
)
UnoRuntime
.
queryInterface
(
XNamingService
.
class
,
oInterface
)
;
UnoRuntime
.
queryInterface
(
XNamingService
.
class
,
oInterface
)
;
// retrieving temp directory for database
// retrieving temp directory for database
String
tmpDatabaseUrl
=
utils
.
getOfficeTempDir
(
Param
.
getMSF
());
String
tmpDatabaseUrl
=
utils
.
getOfficeTempDir
(
(
XMultiServiceFactory
)
Param
.
getMSF
());
tmpDatabaseUrl
=
"sdbc:dbase:file:///"
+
tmpDatabaseUrl
;
tmpDatabaseUrl
=
"sdbc:dbase:file:///"
+
tmpDatabaseUrl
;
...
@@ -196,7 +196,7 @@ public class ODatabaseSource extends TestCase {
...
@@ -196,7 +196,7 @@ public class ODatabaseSource extends TestCase {
// adding obj relation for interface XCompletedConnection
// adding obj relation for interface XCompletedConnection
Object
handler
=
null
;
Object
handler
=
null
;
try
{
try
{
handler
=
Param
.
getMSF
(
).
createInstance
handler
=
((
XMultiServiceFactory
)
Param
.
getMSF
()
).
createInstance
(
"com.sun.star.sdb.InteractionHandler"
)
;
(
"com.sun.star.sdb.InteractionHandler"
)
;
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
log
.
println
(
"Relation for XCompletedConnection wasn't created"
)
;
log
.
println
(
"Relation for XCompletedConnection wasn't created"
)
;
...
...
qadevOOo/tests/java/mod/_dbaccess/ODatasourceAdministrationDialog.java
Dosyayı görüntüle @
4bd25c60
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: ODatasourceAdministrationDialog.java,v $
* $RCSfile: ODatasourceAdministrationDialog.java,v $
*
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
*
* last change:$Date: 2003-0
1-27 18:14:38
$
* last change:$Date: 2003-0
5-27 12:36:54
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
package
mod
.
_dbaccess
;
package
mod
.
_dbaccess
;
import
com.sun.star.uno.XInterface
;
import
com.sun.star.uno.XInterface
;
import
com.sun.star.lang.XMultiServiceFactory
;
import
java.io.PrintWriter
;
import
java.io.PrintWriter
;
import
lib.Status
;
import
lib.Status
;
import
lib.StatusException
;
import
lib.StatusException
;
...
@@ -107,7 +108,7 @@ public class ODatasourceAdministrationDialog extends TestCase {
...
@@ -107,7 +108,7 @@ public class ODatasourceAdministrationDialog extends TestCase {
Object
oInterface
=
null
;
Object
oInterface
=
null
;
try
{
try
{
oInterface
=
Param
.
getMSF
(
).
createInstance
oInterface
=
((
XMultiServiceFactory
)
Param
.
getMSF
()
).
createInstance
(
"com.sun.star.sdb.DatasourceAdministrationDialog"
);
(
"com.sun.star.sdb.DatasourceAdministrationDialog"
);
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
log
.
println
(
"Service not available"
);
log
.
println
(
"Service not available"
);
...
...
qadevOOo/tests/java/mod/_dbaccess/ODatasourceBrowser.java
Dosyayı görüntüle @
4bd25c60
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: ODatasourceBrowser.java,v $
* $RCSfile: ODatasourceBrowser.java,v $
*
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
*
* last change:$Date: 2003-0
1-27 18:14:37
$
* last change:$Date: 2003-0
5-27 12:37:05
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
package
mod
.
_dbaccess
;
package
mod
.
_dbaccess
;
import
com.sun.star.awt.XControl
;
import
com.sun.star.awt.XControl
;
import
com.sun.star.lang.XMultiServiceFactory
;
import
com.sun.star.awt.XControlModel
;
import
com.sun.star.awt.XControlModel
;
import
com.sun.star.awt.XWindow
;
import
com.sun.star.awt.XWindow
;
import
com.sun.star.beans.PropertyValue
;
import
com.sun.star.beans.PropertyValue
;
...
@@ -139,7 +140,7 @@ public class ODatasourceBrowser extends TestCase {
...
@@ -139,7 +140,7 @@ public class ODatasourceBrowser extends TestCase {
*/
*/
protected
void
initialize
(
TestParameters
Param
,
PrintWriter
log
)
{
protected
void
initialize
(
TestParameters
Param
,
PrintWriter
log
)
{
the_Desk
=
(
XDesktop
)
UnoRuntime
.
queryInterface
(
the_Desk
=
(
XDesktop
)
UnoRuntime
.
queryInterface
(
XDesktop
.
class
,
DesktopTools
.
createDesktop
(
Param
.
getMSF
())
);
XDesktop
.
class
,
DesktopTools
.
createDesktop
(
(
XMultiServiceFactory
)
Param
.
getMSF
())
);
System
.
setProperty
(
"hideMe"
,
"false"
);
System
.
setProperty
(
"hideMe"
,
"false"
);
}
}
...
@@ -211,7 +212,7 @@ public class ODatasourceBrowser extends TestCase {
...
@@ -211,7 +212,7 @@ public class ODatasourceBrowser extends TestCase {
if
(
xTextDoc
!=
null
)
xTextDoc
.
dispose
();
if
(
xTextDoc
!=
null
)
xTextDoc
.
dispose
();
// get a soffice factory object
// get a soffice factory object
SOfficeFactory
SOF
=
SOfficeFactory
.
getFactory
(
Param
.
getMSF
());
SOfficeFactory
SOF
=
SOfficeFactory
.
getFactory
(
(
XMultiServiceFactory
)
Param
.
getMSF
());
try
{
try
{
log
.
println
(
"creating a text document"
);
log
.
println
(
"creating a text document"
);
...
...
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