Author: jreidinger Date: Mon Jun 20 16:18:06 2011 New Revision: 64489 URL: http://svn.opensuse.org/viewcvs/yast?rev=64489&view=rev Log: add test for parsing URL containing complex query Modified: branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.out branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.ycp Modified: branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.out URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.out?rev=64489&r1=64488&r2=64489&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.out (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.out Mon Jun 20 16:18:06 2011 @@ -36,3 +36,4 @@ Return http://download.opensuse.org/.../target_file Return http://download.opensuse.org/.../target_file Return http://download.opensuse.org/very/.../be/truncated/target_file +Return http://1.2.3.4/gen.xml.cgi?mac=56&borg=yes Modified: branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.ycp?rev=64489&r1=64488&r2=64489&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/library/types/testsuite/tests/URL.ycp Mon Jun 20 16:18:06 2011 @@ -90,5 +90,7 @@ TEST(``(URL::FormatURL(URL::Parse(long_url), 45)), [], nil); TEST(``(URL::FormatURL(URL::Parse(long_url), 65)), [], nil); +TEST(``(URL::Build(URL::Parse("http://1.2.3.4/gen.xml.cgi?mac=56&borg=yes"))), [], nil); + /* EOF */ } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org