Lines Matching refs:OUString
47 …REG_ENSURE(!myRegistry->create(OUString::createFromAscii("ucrtest.rdb")), "testCoreReflection erro… in test_coreReflection()
50 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("UCR"), key1), "testCoreReflection error 3… in test_coreReflection()
51 …REG_ENSURE(!key1.createKey(OUString::createFromAscii("ModuleA"), key2), "testCoreReflection error … in test_coreReflection()
52 …REG_ENSURE(!key2.createKey(OUString::createFromAscii("StructA"), key3), "testCoreReflection error … in test_coreReflection()
53 …REG_ENSURE(!key2.createKey(OUString::createFromAscii("EnumA"), key4), "testCoreReflection error 6"… in test_coreReflection()
54 …REG_ENSURE(!key2.createKey(OUString::createFromAscii("XInterfaceA"), key5), "testCoreReflection er… in test_coreReflection()
55 …REG_ENSURE(!key2.createKey(OUString::createFromAscii("ExceptionA"), key6), "testCoreReflection err… in test_coreReflection()
56 …REG_ENSURE(!key2.createKey(OUString::createFromAscii("ServiceA"), key7), "testCoreReflection error… in test_coreReflection()
57 …REG_ENSURE(!key2.createKey(OUString::createFromAscii("ConstantsA"), key8), "testCoreReflection err… in test_coreReflection()
61 OUString::createFromAscii("ModuleA"), in test_coreReflection()
62 OUString(), 11, 0, 0); in test_coreReflection()
66 writer.setDoku(OUString::createFromAscii("Hallo ich bin ein Modul")); in test_coreReflection()
67 writer.setFileName(OUString::createFromAscii("DummyFile")); in test_coreReflection()
71 writer.setFieldData(0, OUString::createFromAscii("aConstBool"), in test_coreReflection()
72 OUString::createFromAscii("boolean"), in test_coreReflection()
73 OUString::createFromAscii("ich bin ein boolean"), in test_coreReflection()
74 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
77 writer.setFieldData(1, OUString::createFromAscii("aConstByte"), in test_coreReflection()
78 OUString::createFromAscii("byte"), in test_coreReflection()
79 OUString::createFromAscii("ich bin ein byte"), in test_coreReflection()
80 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
83 writer.setFieldData(2, OUString::createFromAscii("aConstShort"), in test_coreReflection()
84 OUString::createFromAscii("short"), in test_coreReflection()
85 OUString::createFromAscii("ich bin ein short"), in test_coreReflection()
86 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
89 writer.setFieldData(3, OUString::createFromAscii("aConstUShort"), in test_coreReflection()
90 OUString::createFromAscii("unsigned short"), in test_coreReflection()
91 OUString::createFromAscii("ich bin ein unsigned short"), in test_coreReflection()
92 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
95 writer.setFieldData(4, OUString::createFromAscii("aConstLong"), in test_coreReflection()
96 OUString::createFromAscii("long"), in test_coreReflection()
97 OUString::createFromAscii("ich bin ein long"), in test_coreReflection()
98 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
101 writer.setFieldData(5, OUString::createFromAscii("aConstULong"), in test_coreReflection()
102 OUString::createFromAscii("unsigned long"), in test_coreReflection()
103 OUString::createFromAscii("ich bin ein unsigned long"), in test_coreReflection()
104 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
107 writer.setFieldData(6, OUString::createFromAscii("aConstHyper"), in test_coreReflection()
108 OUString::createFromAscii("hyper"), in test_coreReflection()
109 OUString::createFromAscii("ich bin ein hyper"), in test_coreReflection()
110 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
113 writer.setFieldData(7, OUString::createFromAscii("aConstULong"), in test_coreReflection()
114 OUString::createFromAscii("unsigned long"), in test_coreReflection()
115 OUString::createFromAscii("ich bin ein unsigned long"), in test_coreReflection()
116 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
119 writer.setFieldData(8, OUString::createFromAscii("aConstFloat"), in test_coreReflection()
120 OUString::createFromAscii("float"), in test_coreReflection()
121 OUString::createFromAscii("ich bin ein float"), in test_coreReflection()
122 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
124 …aConst.m_value.aDouble = -2e-100; writer.setFieldData(9, OUString::createFromAscii("aConstDouble")… in test_coreReflection()
125 OUString::createFromAscii("double"), in test_coreReflection()
126 OUString::createFromAscii("ich bin ein double"), in test_coreReflection()
127 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
129 OUString tmpStr(OUString::createFromAscii( "dies ist ein unicode string" )); in test_coreReflection()
132 writer.setFieldData(10, OUString::createFromAscii("aConstString"), in test_coreReflection()
133 OUString::createFromAscii("string"), in test_coreReflection()
134 OUString::createFromAscii("ich bin ein string"), in test_coreReflection()
135 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
140 …REG_ENSURE(!key2.setValue(OUString(), RG_VALUETYPE_BINARY, (void*)pBlop, aBlopSize), "testCoreRefl… in test_coreReflection()
143 REG_ENSURE(!key2.getValue(OUString(), (void*)readBlop) , "testCoreReflection error 9a"); in test_coreReflection()
149 …REG_ENSURE(reader.getTypeName().equals(OUString::createFromAscii("ModuleA")), "testCoreReflection … in test_coreReflection()
168 OUString::createFromAscii("ModuleA/StructA"), in test_coreReflection()
169 OUString(), 3, 0, 0); in test_coreReflection()
171 writer.setDoku(OUString::createFromAscii("Hallo ich bin eine Struktur")); in test_coreReflection()
172 writer.setFileName(OUString::createFromAscii("DummyFile")); in test_coreReflection()
174 writer.setFieldData(0, OUString::createFromAscii("asal_uInt32"), in test_coreReflection()
175 OUString::createFromAscii("unsigned long"), in test_coreReflection()
176 OUString(), OUString(), RT_ACCESS_READWRITE); in test_coreReflection()
177 writer.setFieldData(1, OUString::createFromAscii("aXInterface"), in test_coreReflection()
178 OUString::createFromAscii("stardiv/uno/XInterface"), in test_coreReflection()
179 OUString(), OUString(), RT_ACCESS_READWRITE); in test_coreReflection()
180 writer.setFieldData(2, OUString::createFromAscii("aSequence"), in test_coreReflection()
181 OUString::createFromAscii("[]ModuleA/EnumA"), in test_coreReflection()
182 OUString(), OUString(), RT_ACCESS_READWRITE); in test_coreReflection()
187 …REG_ENSURE(!key3.setValue(OUString(), RG_VALUETYPE_BINARY, (void*)pBlop, aBlopSize), "testCoreRefl… in test_coreReflection()
192 OUString::createFromAscii("ModuleA/EnumA"), in test_coreReflection()
193 OUString(), 2, 0, 0); in test_coreReflection()
200 writer.setDoku(OUString::createFromAscii("Hallo ich bin ein Enum")); in test_coreReflection()
201 writer.setFileName(OUString::createFromAscii("DummyFile")); in test_coreReflection()
203 writer.setFieldData(0, OUString::createFromAscii("ENUM_VAL_1"), in test_coreReflection()
204 OUString(), OUString::createFromAscii("ich bin ein enum value"), in test_coreReflection()
205 OUString(), RT_ACCESS_CONST, aConst); in test_coreReflection()
208 writer.setFieldData(1, OUString::createFromAscii("ENUM_VAL_2"), in test_coreReflection()
209 OUString(), OUString(), OUString(), RT_ACCESS_CONST, aConst); in test_coreReflection()
214 …REG_ENSURE(!key4.setValue(OUString(), RG_VALUETYPE_BINARY, (void*)pBlop, aBlopSize), "testCoreRefl… in test_coreReflection()
219 OUString::createFromAscii("ModuleA/XInterfaceA"), in test_coreReflection()
220 OUString::createFromAscii("stardiv/uno/XInterface"), in test_coreReflection()
227 writer.setDoku(OUString::createFromAscii("Hallo ich bin ein Interface")); in test_coreReflection()
228 writer.setFileName(OUString::createFromAscii("DummyFile")); in test_coreReflection()
230 writer.setFieldData(0, OUString::createFromAscii("aString"), in test_coreReflection()
231 OUString::createFromAscii("string"), OUString(), OUString(), RT_ACCESS_READWRITE); in test_coreReflection()
232 writer.setFieldData(1, OUString::createFromAscii("aStruct"), in test_coreReflection()
233 OUString::createFromAscii("ModuleA/StructA"), in test_coreReflection()
234 OUString(), OUString(), RT_ACCESS_READONLY); in test_coreReflection()
235 writer.setFieldData(2, OUString::createFromAscii("aEnum"), in test_coreReflection()
236 OUString::createFromAscii("ModuleA/EnumA"), OUString(), OUString(), RT_ACCESS_BOUND); in test_coreReflection()
239 writer.setFieldData(3, OUString::createFromAscii("aConstUShort"), in test_coreReflection()
240 OUString::createFromAscii("unsigned short"), OUString(), in test_coreReflection()
241 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
243 writer.setMethodData(0, OUString::createFromAscii("methodA"), in test_coreReflection()
244 OUString::createFromAscii("double"), RT_MODE_TWOWAY, 2, 1, in test_coreReflection()
245 OUString::createFromAscii("Hallo ich bin die methodA")); in test_coreReflection()
246 writer.setParamData(0, 0, OUString::createFromAscii("ModuleA/StructA"), in test_coreReflection()
247 OUString::createFromAscii("aStruct"), RT_PARAM_IN); in test_coreReflection()
248 writer.setParamData(0, 1, OUString::createFromAscii("unsigned short"), in test_coreReflection()
249 OUString::createFromAscii("aShort"), RT_PARAM_INOUT); in test_coreReflection()
250 writer.setExcData(0, 0, OUString::createFromAscii("ModuleA/ExceptionA")); in test_coreReflection()
255 …REG_ENSURE(!key5.setValue(OUString(), RG_VALUETYPE_BINARY, (void*)pBlop, aBlopSize), "testCoreRefl… in test_coreReflection()
258 REG_ENSURE(!key5.getValue(OUString(), (void*)readBlop) , "testCoreReflection error 9c1"); in test_coreReflection()
264 …REG_ENSURE(reader.getTypeName().equals(OUString::createFromAscii("ModuleA/XInterfaceA")), "testCor… in test_coreReflection()
279 OUString::createFromAscii("ModuleA/ExceptionA"), in test_coreReflection()
280 OUString(), 1, 0, 0); in test_coreReflection()
282 writer.setDoku(OUString::createFromAscii("Hallo ich bin eine Exception")); in test_coreReflection()
284 writer.setFieldData(0, OUString::createFromAscii("aSource"), in test_coreReflection()
285 OUString::createFromAscii("stardiv/uno/XInterface"), in test_coreReflection()
286 OUString::createFromAscii("ich bin ein interface member"), in test_coreReflection()
287 OUString(), RT_ACCESS_READWRITE); in test_coreReflection()
292 …REG_ENSURE(!key6.setValue(OUString(), RG_VALUETYPE_BINARY, (void*)pBlop, aBlopSize), "testCoreRefl… in test_coreReflection()
297 OUString::createFromAscii("ModuleA/ServiceA"), in test_coreReflection()
298 OUString(), 1, 0, 4); in test_coreReflection()
300 writer.setDoku(OUString::createFromAscii("Hallo ich bin ein Service")); in test_coreReflection()
301 writer.setFileName(OUString::createFromAscii("DummyFile")); in test_coreReflection()
303 writer.setFieldData(0, OUString::createFromAscii("aProperty"), in test_coreReflection()
304 OUString::createFromAscii("stardiv/uno/XInterface"), in test_coreReflection()
305 OUString::createFromAscii("ich bin eine property"), in test_coreReflection()
306 OUString(), RT_ACCESS_READWRITE); in test_coreReflection()
308 … writer.setReferenceData(0, OUString::createFromAscii("ModuleA/XInterfaceA"), RT_REF_SUPPORTS, in test_coreReflection()
309 … OUString::createFromAscii("Hallo ich eine Reference auf ein supported interface"), in test_coreReflection()
311 … writer.setReferenceData(1, OUString::createFromAscii("ModuleA/XInterfaceA"), RT_REF_OBSERVES, in test_coreReflection()
312 … OUString::createFromAscii("Hallo ich eine Reference auf ein observed interface")); in test_coreReflection()
313 writer.setReferenceData(2, OUString::createFromAscii("ModuleA/ServiceB"), RT_REF_EXPORTS, in test_coreReflection()
314 … OUString::createFromAscii("Hallo ich eine Reference auf einen exported service")); in test_coreReflection()
315 writer.setReferenceData(3, OUString::createFromAscii("ModuleA/ServiceB"), RT_REF_NEEDS, in test_coreReflection()
316 … OUString::createFromAscii("Hallo ich eine Reference auf einen needed service")); in test_coreReflection()
321 …REG_ENSURE(!key7.setValue(OUString(), RG_VALUETYPE_BINARY, (void*)pBlop, aBlopSize), "testCoreRefl… in test_coreReflection()
323 REG_ENSURE(!key7.getValue(OUString(), (void*)readBlop) , "testCoreReflection error 9e2"); in test_coreReflection()
329 …REG_ENSURE(reader.getTypeName().equals(OUString::createFromAscii("ModuleA/ServiceA")), "testCoreRe… in test_coreReflection()
334 OUString refName = reader.getReferenceName(0); in test_coreReflection()
335 …REG_ENSURE(refName.equals(OUString::createFromAscii("ModuleA/XInterfaceA")), "testCoreReflection e… in test_coreReflection()
341 OUString::createFromAscii("ModuleA/ConstansA"), in test_coreReflection()
342 OUString(), 3, 0, 0); in test_coreReflection()
346 writer.setDoku(OUString::createFromAscii("Hallo ich bin eine Constants Group")); in test_coreReflection()
347 writer.setFileName(OUString::createFromAscii("DummyFile")); in test_coreReflection()
351 writer.setFieldData(0, OUString::createFromAscii("ConstantsA_aConstBool"), in test_coreReflection()
352 OUString::createFromAscii("boolean"), in test_coreReflection()
353 OUString::createFromAscii("ich bin ein boolean"), in test_coreReflection()
354 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
357 writer.setFieldData(1, OUString::createFromAscii("ConstantsA_aConstByte"), in test_coreReflection()
358 OUString::createFromAscii("byte"), in test_coreReflection()
359 OUString::createFromAscii("ich bin ein byte"), in test_coreReflection()
360 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
363 writer.setFieldData(2, OUString::createFromAscii("ConstantsA_aConstShort"), in test_coreReflection()
364 OUString::createFromAscii("short"), in test_coreReflection()
365 OUString::createFromAscii("ich bin ein short"), in test_coreReflection()
366 OUString::createFromAscii("DummyFile"), RT_ACCESS_CONST, aConst); in test_coreReflection()
371 …REG_ENSURE(!key8.setValue(OUString(), RG_VALUETYPE_BINARY, (void*)pBlop, aBlopSize), "testCoreRefl… in test_coreReflection()
386 …REG_ENSURE(!myRegistry->create(OUString::createFromAscii("test.rdb")), "test_registry_CppApi error… in test_registry_CppApi()
389 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("myFirstKey"), key1), "test_registry_CppAp… in test_registry_CppApi()
390 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("mySecondKey"), key2), "test_registry_CppA… in test_registry_CppApi()
391 … REG_ENSURE(!key1.createKey(OUString::createFromAscii("X"), key3), "test_registry_CppApi error 5"); in test_registry_CppApi()
392 …REG_ENSURE(!key1.createKey(OUString::createFromAscii("mySecondSubKey"), key4), "test_registry_CppA… in test_registry_CppApi()
393 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("myThirdKey"), key5), "test_registry_CppAp… in test_registry_CppApi()
395 …REG_ENSURE(!key5.createKey(OUString::createFromAscii("1"), key4), "test_registry_CppApi error 6b"); in test_registry_CppApi()
396 …REG_ENSURE(!key4.createKey(OUString::createFromAscii("2"), key3), "test_registry_CppApi error 6c"); in test_registry_CppApi()
397 … REG_ENSURE(!key5.openKey(OUString::createFromAscii("1"), key4), "test_registry_CppApi error 6d"); in test_registry_CppApi()
398 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("/myThirdKey/1"), key4), "test_registry_CppA… in test_registry_CppApi()
399 …REG_ENSURE(key4.getName().equals(OUString::createFromAscii("/myThirdKey/1")), "test_registry_CppAp… in test_registry_CppApi()
401 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("myFourthKey"), key6), "test_registry_CppA… in test_registry_CppApi()
402 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("myFifthKey"), key6), "test_registry_CppAp… in test_registry_CppApi()
403 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("mySixthKey"), key6), "test_registry_CppAp… in test_registry_CppApi()
408 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("/myFourthKey/X"), key7), "test_registry_C… in test_registry_CppApi()
409 …REG_ENSURE(!key6.createLink(OUString::createFromAscii("myFirstLink"), OUString::createFromAscii("/… in test_registry_CppApi()
410 …REG_ENSURE(!key6.createKey(OUString::createFromAscii("mySixthSubKey"), key7), "test_registry_CppAp… in test_registry_CppApi()
412 OUString linkTarget; in test_registry_CppApi()
413 …REG_ENSURE(!key6.getLinkTarget(OUString::createFromAscii("myFirstLink"), linkTarget), "test_regist… in test_registry_CppApi()
414 …REG_ENSURE(linkTarget.equals(OUString::createFromAscii("/myFourthKey/X")), "test_registry_CppApi e… in test_registry_CppApi()
419 …REG_ENSURE(!rootKey.getKeyNames(OUString::createFromAscii("mySixthKey"), *pSubKeyNames), "test_reg… in test_registry_CppApi()
424 … if (pSubKeyNames->getElement(i).equals(OUString::createFromAscii("/mySixthKey/myFirstLink"))) in test_registry_CppApi()
435 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("/mySixthKey/myFirstLink"), key6), "test_reg… in test_registry_CppApi()
438 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("myFifthKey"), key6), "test_registry_CppApi … in test_registry_CppApi()
439 REG_ENSURE(!key6.createLink(OUString::createFromAscii("mySecondLink"), in test_registry_CppApi()
440 OUString::createFromAscii("/mySixthKey/myFirstLink")), "test_registry_CppApi error 7m2"); in test_registry_CppApi()
442 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("/myFifthKey/mySecondLink"), key6), "test_re… in test_registry_CppApi()
445 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("/myFifthKey/mySecondLink/myFirstLinkSubKe… in test_registry_CppApi()
446 …REG_ENSURE(key7.getName().equals(OUString::createFromAscii("/myFourthKey/X/myFirstLinkSubKey")), "… in test_registry_CppApi()
448 …REG_ENSURE(!key7.createLink(OUString::createFromAscii("myThirdLink"), OUString::createFromAscii("/… in test_registry_CppApi()
449 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("/myFourthKey/X/myFirstLinkSubKey/myThirdLin… in test_registry_CppApi()
454 …REG_ENSURE(!rootKey.deleteLink(OUString::createFromAscii("/myFifthKey/mySecondLink")), "test_regis… in test_registry_CppApi()
456 REG_ENSURE(!rootKey.createLink(OUString::createFromAscii("/myFifthKey/mySecondLink"), in test_registry_CppApi()
457 … OUString::createFromAscii("/myFourthKey/X/myFirstLinkSubKey/myThirdLink")), in test_registry_CppApi()
468 …REG_ENSURE(!rootKey.getKeyNames(OUString::createFromAscii("mySixthKey"), subKeyNames), "test_regis… in test_registry_CppApi()
472 …REG_ENSURE(subKeyNames.getElement(0).equals(OUString::createFromAscii("/mySixthKey/myFirstLink")),… in test_registry_CppApi()
473 …REG_ENSURE(subKeyNames.getElement(1).equals(OUString::createFromAscii("/mySixthKey/mySixthSubKey")… in test_registry_CppApi()
479 …REG_ENSURE(!rootKey.openSubKeys(OUString::createFromAscii("myFirstKey"), subKeys), "test_registry_… in test_registry_CppApi()
483 …REG_ENSURE(subKeys.getElement(0).getName().equals(OUString::createFromAscii("/myFirstKey/mySecondS… in test_registry_CppApi()
484 …REG_ENSURE(subKeys.getElement(1).getName().equals(OUString::createFromAscii("/myFirstKey/X")), "te… in test_registry_CppApi()
489 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("/TEST"), key8), "test_registry_CppApi err… in test_registry_CppApi()
490 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("/TEST/Child1"), key8), "test_registry_Cpp… in test_registry_CppApi()
491 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("/TEST/Child2"), key8), "test_registry_Cpp… in test_registry_CppApi()
492 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("/TEST"), key9), "test_registry_CppApi error… in test_registry_CppApi()
494 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("/TEST"), key8), "test_registry_CppApi error… in test_registry_CppApi()
496 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("TEST"), key8), "test_registry_CppApi error … in test_registry_CppApi()
501 …REG_ENSURE(!rootKey.setValue(OUString::createFromAscii("mySecondKey"), RG_VALUETYPE_STRING, Value,… in test_registry_CppApi()
506 …REG_ENSURE(!rootKey.getValueInfo(OUString::createFromAscii("mySecondKey"), &valueType, &valueSize)… in test_registry_CppApi()
509 REG_ENSURE(!key2.getValue(OUString(), readValue), "test_registry_CppApi error 10"); in test_registry_CppApi()
525 …REG_ENSURE(!rootKey.setStringListValue(OUString::createFromAscii("myFourthKey"), (sal_Char**)pList… in test_registry_CppApi()
528 …REG_ENSURE(!rootKey.getStringListValue(OUString::createFromAscii("myFourthKey"), valueList), "test… in test_registry_CppApi()
534 …REG_ENSURE(!rootKey.getValueInfo(OUString::createFromAscii("myFourthKey"), &valueType, &valueSize)… in test_registry_CppApi()
543 …REG_ENSURE(!rootKey.setLongListValue(OUString::createFromAscii("myFifthKey"), pLong, 3), "test_reg… in test_registry_CppApi()
546 …REG_ENSURE(!rootKey.getLongListValue(OUString::createFromAscii("myFifthKey"), longList), "test_reg… in test_registry_CppApi()
553 OUString sWTestValue(OUString::createFromAscii( "Mein erster Unicode Value" )); in test_registry_CppApi()
555 …REG_ENSURE(!rootKey.setValue(OUString::createFromAscii("mySixthKey"), RG_VALUETYPE_UNICODE, (void*… in test_registry_CppApi()
558 …REG_ENSURE(!rootKey.getValueInfo(OUString::createFromAscii("mySixthKey"), &valueType, &valueSize),… in test_registry_CppApi()
560 …REG_ENSURE(!rootKey.getValue(OUString::createFromAscii("mySixthKey"), pTmpValue), "test_registry_C… in test_registry_CppApi()
565 OUString w1(OUString::createFromAscii( "Hallo" )); in test_registry_CppApi()
566 OUString w2(OUString::createFromAscii( "jetzt komm" )); in test_registry_CppApi()
567 OUString w3(OUString::createFromAscii( "ich als unicode" )); in test_registry_CppApi()
573 …REG_ENSURE(!rootKey.setUnicodeListValue(OUString::createFromAscii("mySixthKey"), (sal_Unicode**)pU… in test_registry_CppApi()
576 …REG_ENSURE(!rootKey.getUnicodeListValue(OUString::createFromAscii("mySixthKey"), unicodeList), "te… in test_registry_CppApi()
588 …REG_ENSURE(!rootKey.deleteKey(OUString::createFromAscii("myFirstKey")), "test_registry_CppApi erro… in test_registry_CppApi()
591 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("mySecondKey"), key2), "test_registry_CppApi… in test_registry_CppApi()
595 …REG_ENSURE(!rootKey.deleteKey(OUString::createFromAscii("myThirdKey")), "test_registry_CppApi erro… in test_registry_CppApi()
597 …REG_ENSURE(rootKey.openKey(OUString::createFromAscii("myThirdKey"), key5), "test_registry_CppApi e… in test_registry_CppApi()
607 …REG_ENSURE(!myRegistry->create(OUString::createFromAscii("test2.rdb")), "test_registry_CppApi erro… in test_registry_CppApi()
610 …REG_ENSURE(!rootKey2.createKey(OUString::createFromAscii("reg2FirstKey"), key21), "test_registry_C… in test_registry_CppApi()
611 …REG_ENSURE(!rootKey2.createKey(OUString::createFromAscii("reg2SecondKey"), key22), "test_registry_… in test_registry_CppApi()
612 …REG_ENSURE(!key21.createKey(OUString::createFromAscii("reg2FirstSubKey"), key23), "test_registry_C… in test_registry_CppApi()
613 …REG_ENSURE(!key21.createKey(OUString::createFromAscii("reg2SecondSubKey"), key24), "test_registry_… in test_registry_CppApi()
614 …REG_ENSURE(!rootKey2.createKey(OUString::createFromAscii("reg2ThirdKey"), key25), "test_registry_C… in test_registry_CppApi()
617 …REG_ENSURE(!key23.setValue(OUString(), RG_VALUETYPE_LONG, &nValue, sizeof(sal_uInt32)), "test_regi… in test_registry_CppApi()
628 …REG_ENSURE(!myRegistry->open(OUString::createFromAscii("test.rdb"), REG_READWRITE), "test_registry… in test_registry_CppApi()
631 REG_ENSURE(!myRegistry->loadKey(rootKey, OUString::createFromAscii("allFromTest2"), in test_registry_CppApi()
632 OUString::createFromAscii("test2.rdb")), "test_registry_CppApi error 35"); in test_registry_CppApi()
633 REG_ENSURE(!myRegistry->saveKey(rootKey, OUString::createFromAscii("allFromTest2"), in test_registry_CppApi()
634 OUString::createFromAscii("test3.rdb")), "test_registry_CppApi error 36"); in test_registry_CppApi()
636 …REG_ENSURE(!rootKey.createKey(OUString::createFromAscii("allFromTest3"), key1), "test_registry_Cpp… in test_registry_CppApi()
637 …REG_ENSURE(!key1.createKey(OUString::createFromAscii("myFirstKey2"), key2), "test_registry_CppApi … in test_registry_CppApi()
638 …REG_ENSURE(!key1.createKey(OUString::createFromAscii("mySecondKey2"), key3), "test_registry_CppApi… in test_registry_CppApi()
640 REG_ENSURE(!myRegistry->mergeKey(rootKey, OUString::createFromAscii("allFromTest3"), in test_registry_CppApi()
641 OUString::createFromAscii("test3.rdb")), "test_registry_CppApi error 40"); in test_registry_CppApi()
642 REG_ENSURE(!myRegistry->mergeKey(rootKey, OUString::createFromAscii("allFromTest3"), in test_registry_CppApi()
643 OUString::createFromAscii("ucrtest.rdb"), sal_True), "test_registry_CppApi error 40.a)"); in test_registry_CppApi()
651 const sal_Unicode* wValue= OUString::createFromAscii( "Mein erster Unicode Value" ).getStr(); in test_registry_CppApi()
652 REG_ENSURE(!key3.setValue(OUString(), RG_VALUETYPE_UNICODE, (void*)wValue, in test_registry_CppApi()
657 …REG_ENSURE(!rootKey.openKey(OUString::createFromAscii("/allFromTest3/reg2FirstKey/reg2FirstSubKey"… in test_registry_CppApi()
659 …REG_ENSURE(!rootKey.deleteKey(OUString::createFromAscii("/allFromTest3/reg2FirstKey/reg2FirstSubKe… in test_registry_CppApi()
660 REG_ENSURE(key1.getValueInfo(OUString(), &valueType, &valueSize) == REG_INVALID_KEY, in test_registry_CppApi()
668 …REG_ENSURE(!myRegistry->open(OUString::createFromAscii("test.rdb"), REG_READWRITE), "test_registry… in test_registry_CppApi()
670 …REG_ENSURE(!myRegistry->destroy(OUString::createFromAscii("test2.rdb")), "test_registry_CppApi err… in test_registry_CppApi()
675 REG_ENSURE(myRegistry->destroy(OUString()), "test_registry_CppApi error 50"); in test_registry_CppApi()
679 …REG_ENSURE(!myRegistry->create(OUString::createFromAscii("destroytest.rdb")), "test_registry_CppAp… in test_registry_CppApi()
681 …REG_ENSURE(!myRegistry->open(OUString::createFromAscii("destroytest.rdb"), REG_READONLY), "test_re… in test_registry_CppApi()
684 REG_ENSURE(myRegistry->mergeKey(rootKey, OUString::createFromAscii("allFromTest3"), in test_registry_CppApi()
685 OUString::createFromAscii("test3.rdb")), "test_registry_CppApi error 55"); in test_registry_CppApi()
686 …REG_ENSURE(!myRegistry->destroy(OUString::createFromAscii("test3.rdb")), "test_registry_CppApi err… in test_registry_CppApi()
690 …REG_ENSURE(!myRegistry->open(OUString::createFromAscii("destroytest.rdb"), REG_READWRITE), "test_r… in test_registry_CppApi()
691 REG_ENSURE(!myRegistry->destroy(OUString()), "test_registry_CppApi error 60"); in test_registry_CppApi()
693 …REG_ENSURE(!myRegistry->open(OUString::createFromAscii("test.rdb"), REG_READWRITE), "test_registry… in test_registry_CppApi()
694 …REG_ENSURE(!myRegistry->destroy(OUString::createFromAscii("ucrtest.rdb")), "test_registry_CppApi e… in test_registry_CppApi()
695 REG_ENSURE(!myRegistry->destroy(OUString()), "test_registry_CppApi error 63"); in test_registry_CppApi()