Lines Matching refs:OUString
62 inline void printUString( const ::rtl::OUString & str, const sal_Char * msg = "" ) in printUString()
76 bool t_fileExist(rtl::OUString const& _sFilename) in t_fileExist()
91 inline ::rtl::OUString getModulePath( void ) in getModulePath()
93 ::rtl::OUString suDirPath; in getModulePath()
98 suDirPath += rtl::OUString::createFromAscii("bin"); in getModulePath()
106 static rtl::OUString getExecutableDirectory() in getExecutableDirectory()
108 rtl::OUString fileName; in getExecutableDirectory()
115 rtl::OUString aDirURL = fileName.copy(0, nDirEnd); in getExecutableDirectory()
121 inline rtl::OUString t_getSourcePath(rtl::OString const& _sFilename) in t_getSourcePath()
124 rtl::OUString aDirURL(getExecutableDirectory()); in t_getSourcePath()
125 aDirURL += OUString::createFromAscii( "/"); in t_getSourcePath()
126 aDirURL += OUString::createFromAscii( _sFilename.getStr() ); in t_getSourcePath()
128 aDirURL += rtl::OUString::createFromAscii(".ini"); in t_getSourcePath()
130 aDirURL += rtl::OUString::createFromAscii("rc"); in t_getSourcePath()
186 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
189 rtl::OUString suGetname; // = rtl::OUString::createFromAscii(""); in TEST_F()
206 rtl::OUString suGetname; in TEST_F()
229 rtl::OUString suCWD = getModulePath(); in ini_execProcess()
231 rtl::OUString suFileURL = suCWD; in ini_execProcess()
232 … suFileURL += rtl::OUString::createFromAscii("/") + rtl::OUString::createFromAscii(process_name) ; in ini_execProcess()
234 suFileURL += rtl::OUString::createFromAscii(".exe"); in ini_execProcess()
238 OUString suFlag( OUString::createFromAscii(flag) ); in ini_execProcess()
239 OUString suEnv1( OUString::createFromAscii("-env:UNO_SERVICES=service.rdb")); in ini_execProcess()
240 OUString suIniname = t_getSourcePath("rtl"); in ini_execProcess()
281 rtl::OUString suValue; in TEST_F()
282 rtl::OUString suValuename = rtl::OUString::createFromAscii( "SOLAR_JAVA" ); in TEST_F()
312 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
314 rtl::OUString suGetname; in TEST_F()
315 rtl::OUString suValuename = rtl::OUString::createFromAscii( "INHERITED_VALUE" ); in TEST_F()
324 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
326 rtl::OUString suGetname; in TEST_F()
327 rtl::OUString suValuename = rtl::OUString::createFromAscii( "MY_VALUE" ); in TEST_F()
328 rtl::OUString myDefault = rtl::OUString::createFromAscii( "2" ); in TEST_F()
339 rtl::OUString suIniname = t_getSourcePath(PSEUDO_INI); in TEST_F()
342 rtl::OUString suGetIniName; in TEST_F()
346 sal_Int32 nIndex = suGetIniName.indexOf(rtl::OUString::createFromAscii( "pseudo" )); in TEST_F()
352 rtl::OUString suValue; in TEST_F()
353 rtl::OUString suKeyName = rtl::OUString::createFromAscii( "FILE" ); in TEST_F()
356 sal_Int32 nCompare = suValue.compareTo( rtl::OUString::createFromAscii("pseudo file") ); in TEST_F()
365 rtl::OUString suKeyName = rtl::OUString::createFromAscii( "FILE" ); in TEST_F()
366 rtl::OUString suGetValue; in TEST_F()
370 ASSERT_TRUE(suGetValue.compareTo( rtl::OUString::createFromAscii("testshl2 file") ) == 0) in TEST_F()
427 rtl::OUString suGetIniname; in TEST_F()
432 rtl::OUString suIniname = t_getSourcePath(PSEUDO_INI); in TEST_F()
435 rtl::OUString suGetname; in TEST_F()
445 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
451 rtl::OUString suGetname; in TEST_F()
452 rtl::OUString suValuename = rtl::OUString::createFromAscii( "INHERITED_VALUE" ); in TEST_F()
474 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
481 rtl::OUString suIniname = t_getSourcePath(PSEUDO_INI); in TEST_F()
490 rtl::OUString suValue; in TEST_F()
491 rtl::OUString suKeyName = rtl::OUString::createFromAscii( "PSEUDOFILE" ); in TEST_F()
495 …ASSERT_TRUE(suValue.equals( rtl::OUString::createFromAscii("be pseudo") ) == sal_True) << "Can not… in TEST_F()
516 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
518 rtl::OUString suName = rtl::OUString::createFromAscii( "INHERITED_VALUE" ); in TEST_F()
519 rtl::OUString suValue = rtl::OUString::createFromAscii( "ok" ); in TEST_F()
522 rtl::OUString suGetValue; in TEST_F()
528 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
530 rtl::OUString suName = rtl::OUString::createFromAscii( "INHERITED_VALUE" ); in TEST_F()
531 rtl::OUString suGetOrientValue; in TEST_F()
536 rtl::OUString suValue = rtl::OUString::createFromAscii( TESTSHL2_INI ); in TEST_F()
539 rtl::OUString suGetValue; in TEST_F()
558 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
560 rtl::OUString suMacro = rtl::OUString::createFromAscii( "$MYVAR/expand1" ); in TEST_F()
564 rtl::OUString suExpectedMacro = rtl::OUString::createFromAscii( "src680_test/expand1" ); in TEST_F()
579 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
583 …rtl::OUString suMacro = rtl::OUString::createFromAscii( "${" ); //rtlrc:Bootstrap:RTLVALUE… in TEST_F()
585 rtl::OUString aDirURL = OUString::createFromAscii( "$ORIGIN"); in TEST_F()
586 aDirURL += OUString::createFromAscii( "/"); in TEST_F()
587 aDirURL += OUString::createFromAscii( "rtl" ); in TEST_F()
589 aDirURL += rtl::OUString::createFromAscii(".ini"); in TEST_F()
591 aDirURL += rtl::OUString::createFromAscii("rc"); in TEST_F()
595 suMacro += rtl::OUString::createFromAscii( "::RTLVALUE}"); in TEST_F()
603 rtl::OUString suExpectedMacro = rtl::OUString::createFromAscii( "qadev17" ); in TEST_F()
609 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
614 rtl::OUString suMacro; in TEST_F()
616 aBootstrap.getFrom(rtl::OUString::createFromAscii( "SOFROMVALUE2" ), suMacro ); in TEST_F()
621 aBootstrap.getFrom(rtl::OUString::createFromAscii( "SOFROMVALUE" ), suMacro ); in TEST_F()
631 rtl::OUString suExpectedMacro = rtl::OUString::createFromAscii( "src680_qadev" ); in TEST_F()
640 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
645 rtl::OUString suMacro; in TEST_F()
646 aBootstrap.getFrom(rtl::OUString::createFromAscii( "SOFROMVALUE3" ), suMacro ); in TEST_F()
651 if (suMacro.equals(rtl::OUString::createFromAscii("testshl2_file") ) == sal_True) in TEST_F()
657 …ASSERT_TRUE(suMacro.equals(rtl::OUString::createFromAscii("rtlfile") ) == sal_True) << "SOFROMVALU… in TEST_F()
692 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
694 rtl::OUString suMacro[4]; in TEST_F()
695 suMacro[0] = rtl::OUString::createFromAscii( "$SYSUSERCONFIG" ); in TEST_F()
696 suMacro[1] = rtl::OUString::createFromAscii( "$SYSUSERHOME" ); in TEST_F()
697 suMacro[2] = rtl::OUString::createFromAscii( "$SYSBINDIR" ); in TEST_F()
698 suMacro[3] = rtl::OUString::createFromAscii( "$ORIGIN" ); in TEST_F()
714 rtl::OUString t(RTL_CONSTASCII_USTRINGPARAM("$RECURSIVE")); in TEST_F()
721 rtl::OUString t(RTL_CONSTASCII_USTRINGPARAM("$LINKED")); in TEST_F()
727 rtl::OUString t1( in TEST_F()
732 rtl::OUString t2( in TEST_F()
740 rtl::OUString t( in TEST_F()
750 rtl::OUString p(t_getSourcePath(TESTSHL2_INI)); in TEST_F()
758 rtl::OUString t(b.makeStringAndClear()); in TEST_F()
783 rtl::OUString suIniname = t_getSourcePath(TESTSHL2_INI); in TEST_F()
785 rtl::OUString suMacro = rtl::OUString::createFromAscii( "$INHERITED_VALUE/well" ); in TEST_F()
788 rtl::OUString suName = rtl::OUString::createFromAscii( "INHERITED_VALUE" ); in TEST_F()
789 OUString suGetValue; in TEST_F()
791 suGetValue += OUString::createFromAscii( "/well" ); in TEST_F()
818 static void removeAndCreateFile(rtl::OUString const& _suFileURL, rtl::OString const& _sContent) in removeAndCreateFile()
852 rtl::OUString aFileURL(getExecutableDirectory()); in create_rtlrc()
854 aFileURL += rtl::OUString::createFromAscii("/rtl.ini"); in create_rtlrc()
856 aFileURL += rtl::OUString::createFromAscii("/rtlrc"); in create_rtlrc()
875 rtl::OUString aFileURL(getExecutableDirectory()); in create_testshl2rc()
877 aFileURL += rtl::OUString::createFromAscii("/testshl2.ini"); in create_testshl2rc()
879 aFileURL += rtl::OUString::createFromAscii("/testshl2rc"); in create_testshl2rc()
909 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/testshl2-link"))), in create_testshl2rc()
917 rtl::OUString aFileURL(getExecutableDirectory()); in create_pseudorc()
919 aFileURL += rtl::OUString::createFromAscii("/pseudo.ini"); in create_pseudorc()
921 aFileURL += rtl::OUString::createFromAscii("/pseudorc"); in create_pseudorc()
934 rtl::OUString aDirURL(getModulePath()); in create_bootstrap_processrc()
936 aDirURL += rtl::OUString::createFromAscii("/bootstrap_process.ini"); in create_bootstrap_processrc()
938 aDirURL += rtl::OUString::createFromAscii("/bootstrap_processrc"); in create_bootstrap_processrc()