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
8856d306
Kaydet (Commit)
8856d306
authored
Eki 14, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cid#1326672 DLS: Dead local store
Change-Id: I43bbad0c77022d999e0a10b10ca9f1e316ed7b9f
üst
27336e23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
OQueryDesign.java
qadevOOo/tests/java/mod/_dbaccess/OQueryDesign.java
+4
-14
No files found.
qadevOOo/tests/java/mod/_dbaccess/OQueryDesign.java
Dosyayı görüntüle @
8856d306
...
...
@@ -67,25 +67,15 @@ public class OQueryDesign extends TestCase {
log
.
println
(
"creating a test environment"
);
XInterface
oObj
=
null
;
XDispatchProvider
aProv
=
UnoRuntime
.
queryInterface
(
XDispatchProvider
.
class
,
xDesk
);
XDispatch
getting
=
null
;
XMultiServiceFactory
xMSF
=
Param
.
getMSF
();
XNameAccess
xNameAccess
=
null
;
// we use the first datasource
XDataSource
xDS
=
null
;
xNameAccess
=
UnoRuntime
.
queryInterface
(
XNameAccess
xNameAccess
=
UnoRuntime
.
queryInterface
(
XNameAccess
.
class
,
xMSF
.
createInstance
(
"com.sun.star.sdb.DatabaseContext"
));
xDS
=
UnoRuntime
.
queryInterface
(
XDataSource
xDS
=
UnoRuntime
.
queryInterface
(
XDataSource
.
class
,
xNameAccess
.
getByName
(
"Bibliography"
));
xNameAccess
=
UnoRuntime
.
queryInterface
(
XNameAccess
.
class
,
xMSF
.
createInstance
(
"com.sun.star.sdb.DatabaseContext"
));
log
.
println
(
"check XMultiServiceFactory"
);
...
...
@@ -94,7 +84,7 @@ public class OQueryDesign extends TestCase {
log
.
println
(
"opening QueryDesign"
);
URL
the_url
=
new
URL
();
the_url
.
Complete
=
".component:DB/QueryDesign"
;
getting
=
aProv
.
queryDispatch
(
the_url
,
"Query"
,
12
);
XDispatch
getting
=
aProv
.
queryDispatch
(
the_url
,
"Query"
,
12
);
PropertyValue
[]
Args
=
new
PropertyValue
[
2
];
PropertyValue
param1
=
new
PropertyValue
();
param1
.
Name
=
"DataSourceName"
;
...
...
@@ -145,7 +135,7 @@ public class OQueryDesign extends TestCase {
params
[
2
]
=
param3
;
oObj
=
xFrame
.
getController
();
XInterface
oObj
=
xFrame
.
getController
();
TestEnvironment
tEnv
=
new
TestEnvironment
(
oObj
);
...
...
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