pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:10457:   // - call_function   test_eq(1,call_function(a))   test_eq(1,call_function(lambda(int a){ return a; },1))   test_eq(1,call_function(intp,1))      // - call_out   // - call_out_info      // - callablep   test_true( callablep(time) ) - test_true( callablep(String.capitalize) ) - test_true( callablep(CommonLog.read) ) - test_true( callablep(ADT.Stack) ) +    test_true( callablep(String.Buffer) )   test_true( callablep( class { void `()() { } }() ) )   test_false( callablep(String.Buffer()) )   test_true( callablep( ({}) ) )   test_true( callablep( ({ 0,0 }) ) ) - test_false( callablep( ({ 0,1 }) ) ) + test_treu( callablep( ({ 0,1 }) ) )   test_true( callablep( ({ time }) ) )   test_true( callablep( ({ time, 0 }) ) )   test_false( callablep( ({ "a", time }) ) )   test_false( callablep( ({ "" }) ) )   test_false( callablep( "" ) )   test_false( callablep( 3.14 ) )   test_false( callablep( (< time >) ) )   test_false( callablep( 0 ) )   test_false( callablep( 7 ) ) -  + test_true( callablep( ({ ({ 0, 1, time }) }) ) ) + test_false( callablep( ({ ({ 0, "" }) }) ) )         // - cd      // - ceil   // Tested in _math      // - chmod   // - chown   // - chroot