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
bd3649ce
Kaydet (Commit)
bd3649ce
authored
Eki 20, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1327112 UrF: Unread field
Change-Id: I96ee36baef6301ce98ee200b58cc9634d615cfa1
üst
7df47cb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
TableWindowAccessibility.java
...Oo/tests/java/mod/_dbaccess/TableWindowAccessibility.java
+3
-9
No files found.
qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java
Dosyayı görüntüle @
bd3649ce
...
...
@@ -72,9 +72,7 @@ import util.utils;
*/
public
class
TableWindowAccessibility
extends
TestCase
{
XWindow
xWindow
=
null
;
Object
oDBSource
=
null
;
String
aFile
=
""
;
XConnection
connection
=
null
;
XIsolatedConnection
isolConnection
=
null
;
XComponent
QueryComponent
=
null
;
String
user
=
""
;
...
...
@@ -100,12 +98,11 @@ public class TableWindowAccessibility extends TestCase {
PrintWriter
log
)
throws
Exception
{
XInterface
oObj
=
null
;
Object
oDBSource
=
null
;
Object
newQuery
=
null
;
XStorable
store
=
null
;
Param
.
getMSF
().
createInstance
(
"com.sun.star.sdb.DatabaseContext"
);
oDBSource
=
Param
.
getMSF
()
Object
oDBSource
=
Param
.
getMSF
()
.
createInstance
(
"com.sun.star.sdb.DataSource"
);
newQuery
=
Param
.
getMSF
().
createInstance
(
"com.sun.star.sdb.QueryDefinition"
);
...
...
@@ -153,17 +150,14 @@ public class TableWindowAccessibility extends TestCase {
isolConnection
=
UnoRuntime
.
queryInterface
(
XIsolatedConnection
.
class
,
oDBSource
);
XConnection
connection
=
null
;
XStatement
statement
=
null
;
final
String
tbl_name1
=
"tst_table1"
;
final
String
tbl_name2
=
"tst_table2"
;
final
String
col_name1
=
"id1"
;
final
String
col_name2
=
"id2"
;
util
.
utils
.
waitForEventIdle
(
Param
.
getMSF
());
connection
=
isolConnection
.
getIsolatedConnection
(
user
,
password
);
statement
=
connection
.
createStatement
();
XConnection
connection
=
isolConnection
.
getIsolatedConnection
(
user
,
password
);
XStatement
statement
=
connection
.
createStatement
();
statement
.
executeUpdate
(
"drop table if exists "
+
tbl_name1
);
statement
.
executeUpdate
(
"drop table if exists "
+
tbl_name2
);
statement
.
executeUpdate
(
"create table "
+
tbl_name1
+
" ("
...
...
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