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
4f604f6b
Kaydet (Commit)
4f604f6b
authored
Şub 08, 2015
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Typos + simple german translations
Change-Id: Icc0e9f028b393abb062a880519211be4fcd1d4b3
üst
14e83984
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
DBaseStringFunctions.java
...y/qa/complex/connectivity/dbase/DBaseStringFunctions.java
+3
-3
testregistry.cxx
stoc/test/testregistry.cxx
+6
-6
No files found.
connectivity/qa/complex/connectivity/dbase/DBaseStringFunctions.java
Dosyayı görüntüle @
4f604f6b
...
@@ -67,7 +67,7 @@ public class DBaseStringFunctions extends SubTestCase
...
@@ -67,7 +67,7 @@ public class DBaseStringFunctions extends SubTestCase
}
}
try
try
{
{
a
cs
ii
(
xRowRes
);
a
sc
ii
(
xRowRes
);
}
}
catch
(
SQLException
ex
)
catch
(
SQLException
ex
)
{
{
...
@@ -222,10 +222,10 @@ public class DBaseStringFunctions extends SubTestCase
...
@@ -222,10 +222,10 @@ public class DBaseStringFunctions extends SubTestCase
where
=
temp
;
where
=
temp
;
}
}
private
void
a
cs
ii
(
final
XRowSet
xRowRes
)
throws
com
.
sun
.
star
.
uno
.
Exception
,
com
.
sun
.
star
.
beans
.
UnknownPropertyException
private
void
a
sc
ii
(
final
XRowSet
xRowRes
)
throws
com
.
sun
.
star
.
uno
.
Exception
,
com
.
sun
.
star
.
beans
.
UnknownPropertyException
{
{
final
XRow
row
=
execute
(
xRowRes
,
"ASCII('2') "
);
final
XRow
row
=
execute
(
xRowRes
,
"ASCII('2') "
);
assure
(
"a
cs
ii('2') failed!"
,
row
.
getInt
(
1
)
==
50
);
assure
(
"a
sc
ii('2') failed!"
,
row
.
getInt
(
1
)
==
50
);
}
}
private
void
char_length
(
final
XRowSet
xRowRes
)
throws
com
.
sun
.
star
.
uno
.
Exception
,
com
.
sun
.
star
.
beans
.
UnknownPropertyException
private
void
char_length
(
final
XRowSet
xRowRes
)
throws
com
.
sun
.
star
.
uno
.
Exception
,
com
.
sun
.
star
.
beans
.
UnknownPropertyException
...
...
stoc/test/testregistry.cxx
Dosyayı görüntüle @
4f604f6b
...
@@ -212,13 +212,13 @@ void test_SimpleRegistry(
...
@@ -212,13 +212,13 @@ void test_SimpleRegistry(
xSubKey
->
setLongValue
(
123456789
);
xSubKey
->
setLongValue
(
123456789
);
xSubKey
=
xKey
->
createKey
(
OUString
(
"SecondSubKey"
));
xSubKey
=
xKey
->
createKey
(
OUString
(
"SecondSubKey"
));
xSubKey
->
setAsciiValue
(
OUString
(
"
ich bin ein acs
ii value"
));
xSubKey
->
setAsciiValue
(
OUString
(
"
I'm an asc
ii value"
));
xSubKey
=
xKey
->
createKey
(
OUString
(
"ThirdSubKey"
));
xSubKey
=
xKey
->
createKey
(
OUString
(
"ThirdSubKey"
));
xSubKey
->
setStringValue
(
OUString
(
"
ich bin ein u
nicode value"
));
xSubKey
->
setStringValue
(
OUString
(
"
I'm an U
nicode value"
));
xSubKey
=
xKey
->
createKey
(
OUString
(
"FourthSubKey"
));
xSubKey
=
xKey
->
createKey
(
OUString
(
"FourthSubKey"
));
Sequence
<
sal_Int8
>
aSeq
((
sal_Int8
*
)
"
ich bin ein
binary value"
,
25
);
Sequence
<
sal_Int8
>
aSeq
((
sal_Int8
*
)
"
I'm a
binary value"
,
25
);
xSubKey
->
setBinaryValue
(
aSeq
);
xSubKey
->
setBinaryValue
(
aSeq
);
Sequence
<
OUString
>
seqNames
=
xKey
->
getKeyNames
();
Sequence
<
OUString
>
seqNames
=
xKey
->
getKeyNames
();
...
@@ -237,18 +237,18 @@ void test_SimpleRegistry(
...
@@ -237,18 +237,18 @@ void test_SimpleRegistry(
}
else
}
else
if
(
name
==
"/FirstKey/SecondSubKey"
)
if
(
name
==
"/FirstKey/SecondSubKey"
)
{
{
OSL_ENSURE
(
xSubKey
->
getAsciiValue
()
==
"
ich bin ein acs
ii value"
,
OSL_ENSURE
(
xSubKey
->
getAsciiValue
()
==
"
I'm an asc
ii value"
,
"test_SimpleRegistry error 11"
);
"test_SimpleRegistry error 11"
);
}
else
}
else
if
(
name
==
"/FirstKey/ThirdSubKey"
)
if
(
name
==
"/FirstKey/ThirdSubKey"
)
{
{
OSL_ENSURE
(
xSubKey
->
getStringValue
()
==
"
ich bin ein u
nicode value"
,
OSL_ENSURE
(
xSubKey
->
getStringValue
()
==
"
I'm an U
nicode value"
,
"test_SimpleRegistry error 12"
);
"test_SimpleRegistry error 12"
);
}
else
}
else
if
(
name
==
"/FirstKey/FourthSubKey"
)
if
(
name
==
"/FirstKey/FourthSubKey"
)
{
{
Sequence
<
sal_Int8
>
seqByte
=
xSubKey
->
getBinaryValue
();
Sequence
<
sal_Int8
>
seqByte
=
xSubKey
->
getBinaryValue
();
OSL_ENSURE
(
!
strcmp
(((
const
char
*
)
seqByte
.
getArray
()),
"
ich bin ein
binary value"
),
OSL_ENSURE
(
!
strcmp
(((
const
char
*
)
seqByte
.
getArray
()),
"
I'm a
binary value"
),
"test_SimpleRegistry error 13"
);
"test_SimpleRegistry error 13"
);
}
}
...
...
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