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
cff72ec4
Kaydet (Commit)
cff72ec4
authored
Ara 12, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor qadevOOo improvement
Change-Id: Ibeefc8e9aad57c28722b62610231d14ebc8a7403
üst
b0db93d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
33 deletions
+15
-33
MultiMethodTest.java
qadevOOo/runner/lib/MultiMethodTest.java
+13
-33
_XDataPilotTable2.java
qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
+2
-0
No files found.
qadevOOo/runner/lib/MultiMethodTest.java
Dosyayı görüntüle @
cff72ec4
...
@@ -180,7 +180,6 @@ public class MultiMethodTest
...
@@ -180,7 +180,6 @@ public class MultiMethodTest
}
}
System
.
out
.
println
(
" is iface: ["
+
testedClassName
+
"] testcode: ["
+
entry
.
entryName
+
"]"
);
System
.
out
.
println
(
" is iface: ["
+
testedClassName
+
"] testcode: ["
+
entry
.
entryName
+
"]"
);
tEnv
.
getTestObject
();
Object
oObj
=
UnoRuntime
.
queryInterface
(
testedClass
,
tEnv
.
getTestObject
());
Object
oObj
=
UnoRuntime
.
queryInterface
(
testedClass
,
tEnv
.
getTestObject
());
if
(
oObj
==
null
)
if
(
oObj
==
null
)
...
@@ -200,7 +199,16 @@ public class MultiMethodTest
...
@@ -200,7 +199,16 @@ public class MultiMethodTest
}
}
//setting the field oObj
//setting the field oObj
setField
(
"oObj"
,
oObj
);
try
{
setField
(
"oObj"
,
oObj
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
setSubStates
(
e
.
toString
());
return
tRes
;
}
}
}
// to perform some stuff before all method tests
// to perform some stuff before all method tests
...
@@ -464,37 +472,9 @@ public class MultiMethodTest
...
@@ -464,37 +472,9 @@ public class MultiMethodTest
return
clName
.
substring
(
clName
.
lastIndexOf
(
'.'
)
+
1
);
return
clName
.
substring
(
clName
.
lastIndexOf
(
'.'
)
+
1
);
}
}
/**
private
void
setField
(
String
fieldName
,
Object
value
)
* Initializes <code>fieldName</code> of the subclass with
throws
NoSuchFieldException
,
IllegalAccessException
* <code>value</code>.
*
* @return Status describing the result of the operation.
*/
protected
Status
setField
(
String
fieldName
,
Object
value
)
{
{
Field
objField
;
this
.
getClass
().
getField
(
fieldName
).
set
(
this
,
value
);
try
{
objField
=
this
.
getClass
().
getField
(
fieldName
);
}
catch
(
NoSuchFieldException
nsfE
)
{
return
Status
.
exception
(
nsfE
);
}
try
{
objField
.
set
(
this
,
value
);
return
Status
.
passed
(
true
);
}
catch
(
IllegalArgumentException
iaE
)
{
return
Status
.
exception
(
iaE
);
}
catch
(
IllegalAccessException
iaE
)
{
return
Status
.
exception
(
iaE
);
}
}
}
}
}
qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
Dosyayı görüntüle @
cff72ec4
...
@@ -62,6 +62,8 @@ public class _XDataPilotTable2 extends MultiMethodTest
...
@@ -62,6 +62,8 @@ public class _XDataPilotTable2 extends MultiMethodTest
private
ArrayList
<
Integer
>
mDataFieldDims
=
null
;
private
ArrayList
<
Integer
>
mDataFieldDims
=
null
;
private
ArrayList
<
CellAddress
>
mResultCells
=
null
;
private
ArrayList
<
CellAddress
>
mResultCells
=
null
;
public
XDataPilotTable2
oObj
;
/**
/**
* exception to be thrown when obtaining a result data for a cell fails
* exception to be thrown when obtaining a result data for a cell fails
* (probably because the cell is not a result cell).
* (probably because the cell is not a result cell).
...
...
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