Changeset 19498
- Timestamp:
- 06/24/09 11:31:16 (8 months ago)
- Files:
-
- tools/lime/trunk/tests/phpt/lime_test/can_ok_fails.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/cmp_ok_fails.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/fail.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/fail_name.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/include_ok_fails.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/is_deeply_fails.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/is_fails.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/isa_ok_fails.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/isnt_fails.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/like_fails.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/ok_fails.phpt (modified) (1 diff)
- tools/lime/trunk/tests/phpt/lime_test/unlike_fails.phpt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/lime/trunk/tests/phpt/lime_test/can_ok_fails.phpt
r19496 r19498 7 7 $t->can_ok(new Test(), 'foo'); 8 8 ?> 9 --EXPECT --9 --EXPECTF-- 10 10 not ok 1 11 # Failed test ( ./tests/phpt/lime_test/can_ok_fails.php at line 4)11 # Failed test (%s/can_ok_fails.php at line 4) 12 12 # method 'foo' does not exist 13 13 1..1 tools/lime/trunk/tests/phpt/lime_test/cmp_ok_fails.phpt
r19496 r19498 6 6 $t->cmp_ok(1, '>', 1); 7 7 ?> 8 --EXPECT --8 --EXPECTF-- 9 9 not ok 1 10 # Failed test ( ./tests/phpt/lime_test/cmp_ok_fails.php at line 3)10 # Failed test (%s/cmp_ok_fails.php at line 3) 11 11 # 1 12 12 # > tools/lime/trunk/tests/phpt/lime_test/fail.phpt
r19496 r19498 6 6 $t->fail(); 7 7 ?> 8 --EXPECT --8 --EXPECTF-- 9 9 not ok 1 10 # Failed test ( ./tests/phpt/lime_test/fail.php at line 3)10 # Failed test (%s/fail.php at line 3) 11 11 1..1 12 12 Looks like you failed 1 tests of 1. tools/lime/trunk/tests/phpt/lime_test/fail_name.phpt
r19496 r19498 6 6 $t->fail('test name'); 7 7 ?> 8 --EXPECT --8 --EXPECTF-- 9 9 not ok 1 - test name 10 # Failed test ( ./tests/phpt/lime_test/fail_name.php at line 3)10 # Failed test (%s/fail_name.php at line 3) 11 11 1..1 12 12 Looks like you failed 1 tests of 1. tools/lime/trunk/tests/phpt/lime_test/include_ok_fails.phpt
r19496 r19498 6 6 $t->include_ok('foo.php'); 7 7 ?> 8 --EXPECT --8 --EXPECTF-- 9 9 not ok 1 10 # Failed test ( ./tests/phpt/lime_test/include_ok_fails.php at line 3)10 # Failed test (%s/include_ok_fails.php at line 3) 11 11 # Tried to include 'foo.php' 12 12 1..1 tools/lime/trunk/tests/phpt/lime_test/is_deeply_fails.phpt
r19496 r19498 8 8 $t->is_deeply(array(), array(1, 2, 3)); 9 9 ?> 10 --EXPECT --10 --EXPECTF-- 11 11 not ok 1 12 # Failed test ( ./tests/phpt/lime_test/is_deeply_fails.php at line 3)12 # Failed test (%s/is_deeply_fails.php at line 3) 13 13 # got: array ( 0 => 1, 1 => 2, 2 => array ( 1 => 'foo', 'a' => '4', ),) 14 14 # expected: array ( 0 => 1, 1 => 2, 2 => array ( 1 => 'bar', 'a' => '4', ),) 15 15 not ok 2 16 # Failed test ( ./tests/phpt/lime_test/is_deeply_fails.php at line 4)16 # Failed test (%s/is_deeply_fails.php at line 4) 17 17 # got: array ( 0 => 1, 1 => 2, 2 => 3,) 18 18 # expected: array () 19 19 not ok 3 20 # Failed test ( ./tests/phpt/lime_test/is_deeply_fails.php at line 5)20 # Failed test (%s/is_deeply_fails.php at line 5) 21 21 # got: array () 22 22 # expected: array ( 0 => 1, 1 => 2, 2 => 3,) tools/lime/trunk/tests/phpt/lime_test/is_fails.phpt
r19496 r19498 6 6 $t->is(false, true); 7 7 ?> 8 --EXPECT --8 --EXPECTF-- 9 9 not ok 1 10 # Failed test ( ./tests/phpt/lime_test/is_fails.php at line 3)10 # Failed test (%s/is_fails.php at line 3) 11 11 # got: false 12 12 # expected: true tools/lime/trunk/tests/phpt/lime_test/isa_ok_fails.phpt
r19496 r19498 7 7 $t->isa_ok(new Test(), 'Foo'); 8 8 ?> 9 --EXPECT --9 --EXPECTF-- 10 10 not ok 1 11 # Failed test ( ./tests/phpt/lime_test/isa_ok_fails.php at line 4)11 # Failed test (%s/isa_ok_fails.php at line 4) 12 12 # variable isn't a 'Foo' it's a 'Test' 13 13 1..1 tools/lime/trunk/tests/phpt/lime_test/isnt_fails.phpt
r19496 r19498 6 6 $t->isnt(false, false); 7 7 ?> 8 --EXPECT --8 --EXPECTF-- 9 9 not ok 1 10 # Failed test ( ./tests/phpt/lime_test/isnt_fails.php at line 3)10 # Failed test (%s/isnt_fails.php at line 3) 11 11 # false 12 12 # ne tools/lime/trunk/tests/phpt/lime_test/like_fails.phpt
r19496 r19498 6 6 $t->like('tests01', '/test\d+/'); 7 7 ?> 8 --EXPECT --8 --EXPECTF-- 9 9 not ok 1 10 # Failed test ( ./tests/phpt/lime_test/like_fails.php at line 3)10 # Failed test (%s/like_fails.php at line 3) 11 11 # 'tests01' 12 12 # doesn't match '/test\d+/' tools/lime/trunk/tests/phpt/lime_test/ok_fails.phpt
r19496 r19498 6 6 $t->ok(0); 7 7 ?> 8 --EXPECT --8 --EXPECTF-- 9 9 not ok 1 10 # Failed test ( ./tests/phpt/lime_test/ok_fails.php at line 3)10 # Failed test (%s/ok_fails.php at line 3) 11 11 1..1 12 12 Looks like you failed 1 tests of 1. tools/lime/trunk/tests/phpt/lime_test/unlike_fails.phpt
r19496 r19498 6 6 $t->unlike('test01', '/test\d+/'); 7 7 ?> 8 --EXPECT --8 --EXPECTF-- 9 9 not ok 1 10 # Failed test ( ./tests/phpt/lime_test/unlike_fails.php at line 3)10 # Failed test (%s/unlike_fails.php at line 3) 11 11 # 'test01' 12 12 # matches '/test\d+/'

