diff options
Diffstat (limited to 'stoc/test/testregistry.cxx')
-rw-r--r-- | stoc/test/testregistry.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/stoc/test/testregistry.cxx b/stoc/test/testregistry.cxx index b2dd4dd7051e..95484f117522 100644 --- a/stoc/test/testregistry.cxx +++ b/stoc/test/testregistry.cxx @@ -275,9 +275,9 @@ void test_SimpleRegistry( xKey = xRootKey->createKey(OUString( "ThirdKey" )); OUString pAscii[3]; - pAscii[0] = "Hallo"; - pAscii[1] = "jetzt komm"; - pAscii[2] = "ich"; + pAscii[0] = "Hello"; + pAscii[1] = "here I"; + pAscii[2] = "come"; Sequence<OUString> seqAscii(pAscii, 3); xKey->setAsciiListValue(seqAscii); @@ -285,15 +285,15 @@ void test_SimpleRegistry( Sequence<OUString> seqAscii2; seqAscii2 = xKey->getAsciiListValue(); OSL_ENSURE( seqAscii2.getLength() == 3, "test_SimpleRegistry error 18" ); - OSL_ENSURE( seqAscii2.getArray()[0] == "Hallo", "test_SimpleRegistry error 19"); - OSL_ENSURE( seqAscii2.getArray()[1] == "jetzt komm", "test_SimpleRegistry error 20"); - OSL_ENSURE( seqAscii2.getArray()[2] == "ich", "test_SimpleRegistry error 21"); + OSL_ENSURE( seqAscii2.getArray()[0] == "Hello", "test_SimpleRegistry error 19"); + OSL_ENSURE( seqAscii2.getArray()[1] == "here I", "test_SimpleRegistry error 20"); + OSL_ENSURE( seqAscii2.getArray()[2] == "come", "test_SimpleRegistry error 21"); xKey = xRootKey->createKey(OUString( "FourthKey" )); OUString pUnicode[3]; - pUnicode[0] = "Hallo"; - pUnicode[1] = "jetzt komm"; - pUnicode[2] = "ich als unicode"; + pUnicode[0] = "Hello"; + pUnicode[1] = "here I"; + pUnicode[2] = "come as unicode"; Sequence<OUString> seqUnicode(pUnicode, 3); xKey->setStringListValue(seqUnicode); @@ -301,9 +301,9 @@ void test_SimpleRegistry( Sequence<OUString> seqUnicode2; seqUnicode2 = xKey->getStringListValue(); OSL_ENSURE( seqUnicode2.getLength() == 3, "test_SimpleRegistry error 22" ); - OSL_ENSURE( seqUnicode2.getArray()[0] == "Hallo", "test_SimpleRegistry error 23"); - OSL_ENSURE( seqUnicode2.getArray()[1] == "jetzt komm", "test_SimpleRegistry error 24"); - OSL_ENSURE( seqUnicode2.getArray()[2] == "ich als unicode", "test_SimpleRegistry error 25"); + OSL_ENSURE( seqUnicode2.getArray()[0] == "Hello", "test_SimpleRegistry error 23"); + OSL_ENSURE( seqUnicode2.getArray()[1] == "here I", "test_SimpleRegistry error 24"); + OSL_ENSURE( seqUnicode2.getArray()[2] == "come as unicode", "test_SimpleRegistry error 25"); xReg->open(testreg2, sal_False, sal_True); @@ -506,11 +506,11 @@ void test_DefaultRegistry( Sequence<OUString> seqValue = xKey->getAsciiListValue(); OSL_ENSURE( seqValue.getLength() == 3, "test_DefaultRegistry error 10" ); - OSL_ENSURE( seqValue.getArray()[0] == "Hallo", + OSL_ENSURE( seqValue.getArray()[0] == "Hello", "test_DefaultRegistry error 11" ); - OSL_ENSURE( seqValue.getArray()[1] == "jetzt komm", + OSL_ENSURE( seqValue.getArray()[1] == "here I", "test_DefaultRegistry error 12" ); - OSL_ENSURE( seqValue.getArray()[2] == "ich", + OSL_ENSURE( seqValue.getArray()[2] == "come", "test_DefaultRegistry error 13" ); Sequence<sal_Int32> seqLong(3); |