Lines Matching refs:suMacro
560 rtl::OUString suMacro = rtl::OUString::createFromAscii( "$MYVAR/expand1" ); in TEST_F() local
563 aBootstrap.expandMacrosFrom( suMacro ); in TEST_F()
566 ASSERT_TRUE(suMacro.compareTo(suExpectedMacro) == 0) << "expandMacrosFrom failed."; in TEST_F()
583 …rtl::OUString suMacro = rtl::OUString::createFromAscii( "${" ); //rtlrc:Bootstrap:RTLVALUE… in TEST_F() local
594 suMacro += aDirURL;//t_getSourcePath("rtl"); in TEST_F()
595 suMacro += rtl::OUString::createFromAscii( "::RTLVALUE}"); in TEST_F()
598 printUString( suMacro ); in TEST_F()
600 aBootstrap.expandMacrosFrom( suMacro ); in TEST_F()
602 printUString( suMacro ); in TEST_F()
604 ASSERT_TRUE(suMacro.compareTo(suExpectedMacro) == 0 ) in TEST_F()
614 rtl::OUString suMacro; in TEST_F() local
616 aBootstrap.getFrom(rtl::OUString::createFromAscii( "SOFROMVALUE2" ), suMacro ); in TEST_F()
618 printUString( suMacro ); in TEST_F()
619 ASSERT_TRUE(suMacro.getLength() > 0) << "'SOFROMVALUE2' seems to do not exist."; in TEST_F()
621 aBootstrap.getFrom(rtl::OUString::createFromAscii( "SOFROMVALUE" ), suMacro ); in TEST_F()
624 printUString( suMacro ); in TEST_F()
632 ASSERT_TRUE(suMacro.compareTo(suExpectedMacro) == 0) in TEST_F()
645 rtl::OUString suMacro; in TEST_F() local
646 aBootstrap.getFrom(rtl::OUString::createFromAscii( "SOFROMVALUE3" ), suMacro ); in TEST_F()
649 printUString( 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()
694 rtl::OUString suMacro[4]; in TEST_F() local
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()
702 aBootstrap.expandMacrosFrom( suMacro[i] ); in TEST_F()
703 printUString(suMacro[i]); in TEST_F()
707 ASSERT_TRUE(suMacro[0].getLength() > 0 && in TEST_F()
708 suMacro[1].getLength() > 0 && in TEST_F()
709 suMacro[2].getLength() > 0 && in TEST_F()
710 suMacro[3].getLength() > 0) << "some integral variables."; in TEST_F()
785 rtl::OUString suMacro = rtl::OUString::createFromAscii( "$INHERITED_VALUE/well" ); in TEST_F() local
786 Bootstrap::expandMacros( suMacro ); in TEST_F()
792 ASSERT_TRUE(suGetValue.compareTo(suMacro) == 0) << "expandMacros failed."; in TEST_F()