Lines Matching refs:rtl

50 static rtl::OUString s_comment;
60 …uno::TypeDescription typeDescription(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.X… in s_check_object_is_in()
79 static void s_test__loadSharedLibComponentFactory(rtl::OUString const & clientPurpose, in s_test__loadSharedLibComponentFactory()
80 rtl::OUString const & servicePurpose) in s_test__loadSharedLibComponentFactory()
82 cppu::EnvGuard envGuard(uno::Environment(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(UNO_LB_UNO)) in s_test__loadSharedLibComponentFactory()
86 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tcouldn't get purpose env: \"")); in s_test__loadSharedLibComponentFactory()
88 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\" - FAILURE\n")); in s_test__loadSharedLibComponentFactory()
93 rtl::OString os_clientPurpose(rtl::OUStringToOString(clientPurpose, RTL_TEXTENCODING_ASCII_US)); in s_test__loadSharedLibComponentFactory()
97 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SAL_DLLPREFIX "TestComponent.uno" SAL_DLLEXTENSION)), in s_test__loadSharedLibComponentFactory()
99 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("")), in s_test__loadSharedLibComponentFactory()
101 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file://../lib/")), in s_test__loadSharedLibComponentFactory()
103 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("impl.test.TestComponent")) + servicePurpose, in s_test__loadSharedLibComponentFactory()
111 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tgot no object - FAILURE\n")); in s_test__loadSharedLibComponentFactory()
117 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tcouldn't find object in current purpos… in s_test__loadSharedLibComponentFactory()
119 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\" - FAILURE\n")); in s_test__loadSharedLibComponentFactory()
124 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tdid not enter client purpose \"")); in s_test__loadSharedLibComponentFactory()
126 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\" - FAILURE\n")); in s_test__loadSharedLibComponentFactory()
132 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\ts_test__loadSharedLibComponentFactory__f… in s_test__loadSharedLibComponentFactory__free_free()
134 s_test__loadSharedLibComponentFactory(rtl::OUString(), rtl::OUString()); in s_test__loadSharedLibComponentFactory__free_free()
139 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\ts_test__loadSharedLibComponentFactory__f… in s_test__loadSharedLibComponentFactory__free_purpose()
141 s_test__loadSharedLibComponentFactory(rtl::OUString(), in s_test__loadSharedLibComponentFactory__free_purpose()
142 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(":testenv"))); in s_test__loadSharedLibComponentFactory__free_purpose()
147 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\ts_test__loadSharedLibComponentFactory__p… in s_test__loadSharedLibComponentFactory__purpose_free()
149 s_test__loadSharedLibComponentFactory(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(":testenv")), in s_test__loadSharedLibComponentFactory__purpose_free()
150 rtl::OUString()); in s_test__loadSharedLibComponentFactory__purpose_free()
155 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\ts_test__loadSharedLibComponentFactory__p… in s_test__loadSharedLibComponentFactory__purpose_purpose()
157 s_test__loadSharedLibComponentFactory(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(":testenv")), in s_test__loadSharedLibComponentFactory__purpose_purpose()
158 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(":testenv"))); in s_test__loadSharedLibComponentFactory__purpose_purpose()
161 static rtl::OUString s_getSDrive(void) in s_getSDrive()
163 rtl::OUString path;//(RTL_CONSTASCII_USTRINGPARAM("file://")); in s_getSDrive()
166 path += rtl::OUString(tmp, rtl_str_getLength(tmp), RTL_TEXTENCODING_ASCII_US); in s_getSDrive()
167 path += rtl::OUString(SAL_PATHDELIMITER); in s_getSDrive()
170 path += rtl::OUString(tmp, rtl_str_getLength(tmp), RTL_TEXTENCODING_ASCII_US); in s_getSDrive()
171 path += rtl::OUString(SAL_PATHDELIMITER); in s_getSDrive()
173 path += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("bin")); in s_getSDrive()
176 path += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("lib")); in s_getSDrive()
181 path += rtl::OUString(tmp, rtl_str_getLength(tmp), RTL_TEXTENCODING_ASCII_US); in s_getSDrive()
188 static void s_test__createSimpleRegistry(rtl::OUString const & clientPurpose) in s_test__createSimpleRegistry()
190 cppu::EnvGuard envGuard(uno::Environment(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(UNO_LB_UNO)) in s_test__createSimpleRegistry()
194 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tcouldn't get purpose env: \"")); in s_test__createSimpleRegistry()
196 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\" - FAILURE\n")); in s_test__createSimpleRegistry()
206 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tgot no object - FAILURE\n")); in s_test__createSimpleRegistry()
212 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tcouldn't find object in current purpos… in s_test__createSimpleRegistry()
214 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\" - FAILURE\n")); in s_test__createSimpleRegistry()
220 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\ts_test__createSimpleRegistry__free\n")); in s_test__createSimpleRegistry__free()
222 s_test__createSimpleRegistry(rtl::OUString()); in s_test__createSimpleRegistry__free()
227 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\ts_test__createSimpleRegistry__purpose\n"… in s_test__createSimpleRegistry__purpose()
229 s_test__createSimpleRegistry(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(":testenv"))); in s_test__createSimpleRegistry__purpose()
233 static void s_test__bootstrap_InitialComponentContext(rtl::OUString const & clientPurpose) in s_test__bootstrap_InitialComponentContext()
235 cppu::EnvGuard envGuard(uno::Environment(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(UNO_LB_UNO)) in s_test__bootstrap_InitialComponentContext()
239 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tcouldn't get purpose env: \"")); in s_test__bootstrap_InitialComponentContext()
241 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\" - FAILURE\n")); in s_test__bootstrap_InitialComponentContext()
254 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tgot no object - FAILURE\n")); in s_test__bootstrap_InitialComponentContext()
260 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\t\tcouldn't find object in current purpos… in s_test__bootstrap_InitialComponentContext()
262 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\" - FAILURE\n")); in s_test__bootstrap_InitialComponentContext()
271 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\ts_test__bootstrap_InitialComponentContex… in s_test__bootstrap_InitialComponentContext__free()
273 s_test__bootstrap_InitialComponentContext(rtl::OUString()); in s_test__bootstrap_InitialComponentContext__free()
278 …s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\ts_test__bootstrap_InitialComponentContex… in s_test__bootstrap_InitialComponentContext__purpose()
280 s_test__bootstrap_InitialComponentContext(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(":testenv"))); in s_test__bootstrap_InitialComponentContext__purpose()
298 if (s_comment.indexOf(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FAILURE"))) == -1)
300 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TESTS PASSED\n"));
305 s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TESTS _NOT_ PASSED\n"));
312 << rtl::OUStringToOString(s_comment, RTL_TEXTENCODING_ASCII_US).getStr()