pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:1: - dnl $Id: testsuite.in,v 1.42 2009/07/11 11:48:23 mast Exp $ + dnl $Id: testsuite.in,v 1.43 2009/11/09 22:59:48 mast Exp $      START_MARKER      dnl - Arg      test_equal( Arg.parse("aa --hopp --haha=ho -bar=foo x y"/" "),    ([ "hopp":1, "haha":"ho", "b":1, "a":1, "r":"foo", Arg.REST: ({"x","y"}) ]) )   test_equal( Arg.parse("aa -bar -x=6"/" "),    ([ "b":1, "a":1, "r":1, "x":"6", Arg.REST: ({}) ]) )   test_equal( Arg.parse("aa --foo --bar"/" "),
pike.git/lib/modules/testsuite.in:716:      test_eq( Int.swap_word(array_sscanf("\1\2", "%2c")[0]),    array_sscanf("\2\1", "%2c")[0])   test_eq( Int.swap_long(array_sscanf("\1\2\3\4", "%4c")[0]),    array_sscanf("\4\3\2\1", "%4c")[0])      dnl - Mapping   dnl Mapping.delete   dnl Mapping.Iterator    + test_do(get_iterator(([1:1]))->_random()) +    dnl - Multiset   dnl Multiset.Iterator      dnl - Process   test_equal([[Process.split_quoted_string("test ")]],[[({"test"})]])   test_equal([[Process.split_quoted_string("'test'")]],[[({"test"})]])   test_equal([[Process.split_quoted_string("foo 'test' bar")]],[[({"foo","test","bar"})]])   test_equal([[Process.split_quoted_string ("\\\"")]],    [[({"\""})]])   test_equal([[Process.split_quoted_string ("\\a")]],