pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:372:   init_future()   test_do([[ p12->success(12); ]])   test_do([[ p13->success(13); ]])   test_do([[ promise->success(14); ]])   test_do([[ p11->success(11); ]])   test_do([[ add_constant("p11"); ]])   test_do([[ add_constant("p12"); ]])   test_do([[ add_constant("p13"); ]])   exit_promise(1, ({11, 14, 12, 13}))    + dnl - Concurrent.results() - empty + init_promise() + test_do([[ add_constant("future", Concurrent.results(({}))); ]]) + init_future() + exit_promise(1, ({})) +    dnl - Concurrent.traverse()   init_promise()   test_do([[ add_constant("p11", Concurrent.Promise()); ]])   test_do([[ add_constant("p12", Concurrent.Promise()); ]])   test_do([[ add_constant("p13", Concurrent.Promise()); ]])   test_do([[ add_constant("future",    Concurrent.traverse(({p11, promise, p12, p13})    ->future(), lambda(int val) { return val+val;})); ]])   init_future()   test_do([[ p12->success(12); ]])