Lines Matching refs:xKey

223 …Reference<XRegistryKey> xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("FirstKey…  in test_SimpleRegistry()  local
225 …Reference<XRegistryKey> xSubKey = xKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("FirstSubK… in test_SimpleRegistry()
228 xSubKey = xKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("SecondSubKey") )); in test_SimpleRegistry()
231 xSubKey = xKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("ThirdSubKey") )); in test_SimpleRegistry()
234 xSubKey = xKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("FourthSubKey") )); in test_SimpleRegistry()
238 Sequence<OUString> seqNames = xKey->getKeyNames(); in test_SimpleRegistry()
239 Sequence< Reference<XRegistryKey> > seqKeys = xKey->openKeys(); in test_SimpleRegistry()
272 xKey->closeKey(); in test_SimpleRegistry()
277 xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("SecondKey") )); in test_SimpleRegistry()
280 xKey->setLongListValue(seqLongs); in test_SimpleRegistry()
283 seqLongs2 = xKey->getLongListValue(); in test_SimpleRegistry()
290 xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("ThirdKey") )); in test_SimpleRegistry()
297 xKey->setAsciiListValue(seqAscii); in test_SimpleRegistry()
300 seqAscii2 = xKey->getAsciiListValue(); in test_SimpleRegistry()
306 xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("FourthKey") )); in test_SimpleRegistry()
313 xKey->setStringListValue(seqUnicode); in test_SimpleRegistry()
316 seqUnicode2 = xKey->getStringListValue(); in test_SimpleRegistry()
326xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("ThirdKey/FirstSubKey/WithSubSubK… in test_SimpleRegistry()
327 xKey->closeKey(); in test_SimpleRegistry()
352 xKey = xRootKey->openKey( OUString( RTL_CONSTASCII_USTRINGPARAM("LinkTest") ) ); in test_SimpleRegistry()
354 xKey.is() && xKey->isValid() && in test_SimpleRegistry()
355xKey->getKeyName().equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("/ThirdKey/FirstSubKey/WithSubSubKey")… in test_SimpleRegistry()
357 xKey->closeKey(); in test_SimpleRegistry()
363 xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("FirstKey/SecondSubKey") )); in test_SimpleRegistry()
364 TEST_ENSHURE( !xKey.is(), "test_SimpleRegistry error 27" ); in test_SimpleRegistry()
367 xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("FifthKey") )); in test_SimpleRegistry()
368 xKey->createLink(OUString( RTL_CONSTASCII_USTRINGPARAM("MyFirstLink") ), in test_SimpleRegistry()
371 xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/FifthKey/MyFirstLink") )); in test_SimpleRegistry()
372 TEST_ENSHURE( xKey->isValid(), "test_SimpleRegistry error 27" ); in test_SimpleRegistry()
373 …TEST_ENSHURE( xKey->getKeyName() == OUString( RTL_CONSTASCII_USTRINGPARAM("/ThirdKey/FirstSubKey")… in test_SimpleRegistry()
375 xKey->createLink(OUString( RTL_CONSTASCII_USTRINGPARAM("/WithSubSubKey/MyFourthLink") ), in test_SimpleRegistry()
378 …TEST_ENSHURE( xKey->getLinkTarget(OUString( RTL_CONSTASCII_USTRINGPARAM("/WithSubSubKey/MyFourthLi… in test_SimpleRegistry()
383 …TEST_ENSHURE( xKey->getResolvedName(OUString( RTL_CONSTASCII_USTRINGPARAM("/WithSubSubKey/MyFourth… in test_SimpleRegistry()
392 xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("SixthKey") )); in test_SimpleRegistry()
393 xKey->createLink(OUString( RTL_CONSTASCII_USTRINGPARAM("MyThirdLink") ), in test_SimpleRegistry()
396 xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/SixthKey/SixthSubKey") )); in test_SimpleRegistry()
414 xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("SixthKey") )); in test_SimpleRegistry()
415 seqNames = xKey->getKeyNames(); in test_SimpleRegistry()
416 seqKeys = xKey->openKeys(); in test_SimpleRegistry()
487 …Reference<XRegistryKey> xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/UCR/com/s… in test_DefaultRegistry() local
489 …TEST_ENSHURE( xKey->getKeyName() == OUString( RTL_CONSTASCII_USTRINGPARAM("/UCR/com/sun/star/regis… in test_DefaultRegistry()
504xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("Test/ThirdKey/FirstSubKey/WithSubS… in test_DefaultRegistry()
505 if (xKey.is()) in test_DefaultRegistry()
506 xKey->setLongValue(123456789); in test_DefaultRegistry()
508 xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("Test/ThirdKey/FirstSubKey") )); in test_DefaultRegistry()
509 if (xKey.is()) in test_DefaultRegistry()
511 xKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("SecondSubSubKey") )); in test_DefaultRegistry()
513 Sequence<OUString> seqNames = xKey->getKeyNames(); in test_DefaultRegistry()
518 xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/Test/ThirdKey") )); in test_DefaultRegistry()
519 if (xKey.is()) in test_DefaultRegistry()
521 RegistryValueType valueType = xKey->getValueType(); in test_DefaultRegistry()
524 Sequence<OUString> seqValue = xKey->getAsciiListValue(); in test_DefaultRegistry()
539 xKey->setLongListValue(seqLong); in test_DefaultRegistry()
541 Sequence<sal_Int32> seqLongValue = xKey->getLongListValue(); in test_DefaultRegistry()
550 xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/Test/FifthKey") )); in test_DefaultRegistry()
551 xKey->createLink(OUString( RTL_CONSTASCII_USTRINGPARAM("MyFirstLink") ), in test_DefaultRegistry()
554 xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/Test/FifthKey/MyFirstLink") )); in test_DefaultRegistry()
555 TEST_ENSHURE( xKey->isValid(), "test_DefaultRegistry error 18" ); in test_DefaultRegistry()
556 …TEST_ENSHURE( xKey->getKeyName() == OUString( RTL_CONSTASCII_USTRINGPARAM("/Test/ThirdKey/FirstSub… in test_DefaultRegistry()
559 xKey->createLink(OUString( RTL_CONSTASCII_USTRINGPARAM("/WithSubSubKey/MyFourthLink") ), in test_DefaultRegistry()
562 …TEST_ENSHURE( xKey->getLinkTarget(OUString( RTL_CONSTASCII_USTRINGPARAM("/WithSubSubKey/MyFourthLi… in test_DefaultRegistry()
568 …TEST_ENSHURE( xKey->getResolvedName(OUString( RTL_CONSTASCII_USTRINGPARAM("/WithSubSubKey/MyFourth… in test_DefaultRegistry()
578 xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/Test/SixthKey") )); in test_DefaultRegistry()
579 xKey->createLink(OUString( RTL_CONSTASCII_USTRINGPARAM("MyThirdLink") ), in test_DefaultRegistry()
597xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/Test/DefaultLink/SecondSubSubKey"… in test_DefaultRegistry()
598 if (xKey.is()) in test_DefaultRegistry()
600 …TEST_ENSHURE( xKey->getKeyName() == OUString( RTL_CONSTASCII_USTRINGPARAM("/Test/ThirdKey/FirstSub… in test_DefaultRegistry()
602xKey = xRootKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/Test/DefaultLink/ThirdSubSubKey… in test_DefaultRegistry()
603 if (xKey.is()) in test_DefaultRegistry()
605 …TEST_ENSHURE( xKey->getKeyName() == OUString( RTL_CONSTASCII_USTRINGPARAM("/Test/ThirdKey/FirstSub… in test_DefaultRegistry()
609 xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("Test") )); in test_DefaultRegistry()
610 TEST_ENSHURE( xKey->isValid(), "test_DefaultRegistry error 25" ); in test_DefaultRegistry()
627xKey = xRootKey->openKey(OUString( RTL_CONSTASCII_USTRINGPARAM("/AllFromTestreg2/ThirdKey/FirstSub… in test_DefaultRegistry()
628 if (xKey.is()) in test_DefaultRegistry()