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
4a32028e
Kaydet (Commit)
4a32028e
authored
Haz 04, 2007
tarafından
Ivo Hinkelmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS qadev29 (1.3.8); FILE MERGED
2007/04/18 10:51:49 cn 1.3.8.1: #i76474#: new property isReadonly
üst
e1d7d160
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
_XObjectInspectorModel.java
...OOo/tests/java/ifc/inspection/_XObjectInspectorModel.java
+24
-4
No files found.
qadevOOo/tests/java/ifc/inspection/_XObjectInspectorModel.java
Dosyayı görüntüle @
4a32028e
...
...
@@ -4,9 +4,9 @@
*
* $RCSfile: _XObjectInspectorModel.java,v $
*
* $Revision: 1.
3
$
* $Revision: 1.
4
$
*
* last change: $Author:
kz $ $Date: 2006-12-13 11:54:02
$
* last change: $Author:
ihi $ $Date: 2007-06-04 13:32:40
$
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -123,7 +123,7 @@ public class _XObjectInspectorModel extends MultiMethodTest {
boolean
result
=
(
minHelpTextLines
.
intValue
()
==
getMinHelpTextLines
);
if
(!
result
)
log
.
println
(
"
expected
value:"
+
minHelpTextLines
+
" getted value:"
+
getMinHelpTextLines
);
log
.
println
(
"
FAILED:
value:"
+
minHelpTextLines
+
" getted value:"
+
getMinHelpTextLines
);
tRes
.
tested
(
"MinHelpTextLines()"
,
result
)
;
}
...
...
@@ -141,9 +141,29 @@ public class _XObjectInspectorModel extends MultiMethodTest {
boolean
result
=
(
maxHelpTextLines
.
intValue
()
==
getMaxHelpTextLines
);
if
(!
result
)
log
.
println
(
"expected value:"
+
maxHelpTextLines
+
" getted value:"
+
getMaxHelpTextLines
);
log
.
println
(
"
FAILED:
expected value:"
+
maxHelpTextLines
+
" getted value:"
+
getMaxHelpTextLines
);
tRes
.
tested
(
"MaxHelpTextLines()"
,
result
);
}
public
void
_IsReadOnly
()
{
boolean
readOnly
=
oObj
.
getIsReadOnly
();
oObj
.
setIsReadOnly
(!
readOnly
);
boolean
result
=
(
readOnly
!=
oObj
.
getIsReadOnly
());
if
(!
result
){
log
.
println
(
"FAILED: could not change 'IsReadOnly' to value '"
+
!
readOnly
+
"'"
);
}
oObj
.
setIsReadOnly
(
readOnly
);
result
&=
(
readOnly
==
oObj
.
getIsReadOnly
());
if
(!
result
){
log
.
println
(
"FAILED: could not change back 'IsReadOnly' to value '"
+
!
readOnly
+
"'"
);
}
tRes
.
tested
(
"IsReadOnly()"
,
result
);
}
}
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