Lines Matching refs:suMacro
596 rtl::OUString suMacro = rtl::OUString::createFromAscii( "$MYVAR/expand1" ); in expandMacrosFrom_001() local
599 aBootstrap.expandMacrosFrom( suMacro ); in expandMacrosFrom_001()
602 … CPPUNIT_ASSERT_MESSAGE("expandMacrosFrom failed.", suMacro.compareTo(suExpectedMacro) == 0 ); in expandMacrosFrom_001()
619 …rtl::OUString suMacro = rtl::OUString::createFromAscii( "${" ); //rtlrc:Bootstrap:RTLVALUE… in expandMacrosFrom_002() local
630 suMacro += aDirURL;//t_getSourcePath("rtl"); in expandMacrosFrom_002()
631 suMacro += rtl::OUString::createFromAscii( "::RTLVALUE}"); in expandMacrosFrom_002()
634 printUString( suMacro ); in expandMacrosFrom_002()
636 aBootstrap.expandMacrosFrom( suMacro ); in expandMacrosFrom_002()
638 printUString( suMacro ); in expandMacrosFrom_002()
640 …pand '${file:///.../" SAL_CONFIGFILE("rtl") "::RTLVALUE}' to 'qadev17'", suMacro.compareTo(suExpec… in expandMacrosFrom_002()
649 rtl::OUString suMacro; in expandMacrosFrom_002_1() local
651 aBootstrap.getFrom(rtl::OUString::createFromAscii( "SOFROMVALUE2" ), suMacro ); in expandMacrosFrom_002_1()
653 printUString( suMacro ); in expandMacrosFrom_002_1()
654 … CPPUNIT_ASSERT_MESSAGE("'SOFROMVALUE2' seems to do not exist.", suMacro.getLength() > 0 ); in expandMacrosFrom_002_1()
656 aBootstrap.getFrom(rtl::OUString::createFromAscii( "SOFROMVALUE" ), suMacro ); in expandMacrosFrom_002_1()
659 printUString( suMacro ); in expandMacrosFrom_002_1()
667 …can't expand '${" SAL_CONFIGFILE("rtl") "::SOVALUE}' to 'src680_qadev'", suMacro.compareTo(suExpec… in expandMacrosFrom_002_1()
679 rtl::OUString suMacro; in expandMacrosFrom_002_2() local
680 aBootstrap.getFrom(rtl::OUString::createFromAscii( "SOFROMVALUE3" ), suMacro ); in expandMacrosFrom_002_2()
683 printUString( suMacro ); in expandMacrosFrom_002_2()
685 if (suMacro.equals(rtl::OUString::createFromAscii("testshl2_file") ) == sal_True) in expandMacrosFrom_002_2()
691 …CPPUNIT_ASSERT_MESSAGE("SOFROMVALUE3 should contain 'rtlfile'.", suMacro.equals(rtl::OUString::cre… in expandMacrosFrom_002_2()
728 rtl::OUString suMacro[4]; in expandMacrosFrom_003() local
729 suMacro[0] = rtl::OUString::createFromAscii( "$SYSUSERCONFIG" ); in expandMacrosFrom_003()
730 suMacro[1] = rtl::OUString::createFromAscii( "$SYSUSERHOME" ); in expandMacrosFrom_003()
731 suMacro[2] = rtl::OUString::createFromAscii( "$SYSBINDIR" ); in expandMacrosFrom_003()
732 suMacro[3] = rtl::OUString::createFromAscii( "$ORIGIN" ); in expandMacrosFrom_003()
736 aBootstrap.expandMacrosFrom( suMacro[i] ); in expandMacrosFrom_003()
737 printUString(suMacro[i]); in expandMacrosFrom_003()
741 CPPUNIT_ASSERT_MESSAGE("some integral variables.", suMacro[0].getLength() > 0 && in expandMacrosFrom_003()
742 suMacro[1].getLength() > 0 && in expandMacrosFrom_003()
743 suMacro[2].getLength() > 0 && in expandMacrosFrom_003()
744 suMacro[3].getLength() > 0); in expandMacrosFrom_003()
844 rtl::OUString suMacro = rtl::OUString::createFromAscii( "$INHERITED_VALUE/well" ); in expandMacros_001() local
845 Bootstrap::expandMacros( suMacro ); in expandMacros_001()
851 CPPUNIT_ASSERT_MESSAGE("expandMacros failed.", suGetValue.compareTo(suMacro) == 0 ); in expandMacros_001()