pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:102:   init_promise()   test_do([[ promise->success(21); ]])   test_eval_error([[ promise->success(22); ]])   test_eval_error([[ promise->failure(23); ]])   test_do([[ promise->try_success(24); ]])   test_do([[ promise->try_success(25); ]])   exit_promise(0, 0)   init_future()   exit_promise(1, 21)    + dnl - TODO: Future()->get(). +    dnl - map()   init_promise()   test_do([[ add_constant("future", future->map(`+, 100)); ]])   init_future()   test_do([[ promise->success(17); ]])   exit_promise(1, 117)    -  + dnl - flat_map() +    dnl - recover()   init_promise()   test_do([[ add_constant("future", future->recover(`+, 12)); ]])   init_future()   test_do([[ promise->failure(10); ]])   exit_promise(1, 22)    -  + dnl - recover_with() +    dnl - filter() - true   init_promise()   test_do([[ add_constant("future", future->filter(`&, 1)); ]])   init_future()   test_do([[ promise->success(11); ]])   exit_promise(1, 11)      dnl - filter() - false   init_promise()   test_do([[ add_constant("future", future->filter(`&, 1)); ]])
pike.git/lib/modules/testsuite.in:151:   test_do([[ promise->failure(1); ]])   exit_promise(1, -99)      dnl - transform() - exception   init_promise()   test_do([[ add_constant("future", future->transform(`+, throw)); ]])   init_future()   test_do([[ promise->failure(1); ]])   exit_promise(-1, 1)    + dnl - transform_with() +  + dnl - zip() +  + dnl - Concurrent.first_completed() +  + dnl - Concurrent.results() +  + dnl - Concurrent.traverse() +  + dnl - Concurrent.fold() +    test_do([[ add_constant("future"); ]])   test_do([[ add_constant("promise"); ]])   test_do([[ add_constant("AsyncResult"); ]])      dnl - NetUtils      test_equal( NetUtils.string_to_ip( "0.0.0.0" ), 0 );   test_equal( NetUtils.string_to_ip( "255.0.0.0" ), 0xff000000 );   test_equal( NetUtils.string_to_ip( "0.255.0.0" ), 0x00ff0000 );   test_equal( NetUtils.string_to_ip( "255.255.255.255" ), 0xffffffff );