Development

Changeset 19498

You must first sign up to be able to contribute.

Changeset 19498

Show
Ignore:
Timestamp:
06/24/09 11:31:16 (8 months ago)
Author:
fabien
Message:

[lime] made tests rely less on the directory they are in

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/lime/trunk/tests/phpt/lime_test/can_ok_fails.phpt

    r19496 r19498  
    77$t->can_ok(new Test(), 'foo'); 
    88?> 
    9 --EXPECT-- 
     9--EXPECTF-- 
    1010not 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) 
    1212#       method 'foo' does not exist 
    13131..1 
  • tools/lime/trunk/tests/phpt/lime_test/cmp_ok_fails.phpt

    r19496 r19498  
    66$t->cmp_ok(1, '>', 1); 
    77?> 
    8 --EXPECT-- 
     8--EXPECTF-- 
    99not 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) 
    1111#       1 
    1212#           > 
  • tools/lime/trunk/tests/phpt/lime_test/fail.phpt

    r19496 r19498  
    66$t->fail(); 
    77?> 
    8 --EXPECT-- 
     8--EXPECTF-- 
    99not ok 1 
    10 #     Failed test (./tests/phpt/lime_test/fail.php at line 3) 
     10#     Failed test (%s/fail.php at line 3) 
    11111..1 
    1212 Looks like you failed 1 tests of 1. 
  • tools/lime/trunk/tests/phpt/lime_test/fail_name.phpt

    r19496 r19498  
    66$t->fail('test name'); 
    77?> 
    8 --EXPECT-- 
     8--EXPECTF-- 
    99not 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) 
    11111..1 
    1212 Looks like you failed 1 tests of 1. 
  • tools/lime/trunk/tests/phpt/lime_test/include_ok_fails.phpt

    r19496 r19498  
    66$t->include_ok('foo.php'); 
    77?> 
    8 --EXPECT-- 
     8--EXPECTF-- 
    99not 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) 
    1111#       Tried to include 'foo.php' 
    12121..1 
  • tools/lime/trunk/tests/phpt/lime_test/is_deeply_fails.phpt

    r19496 r19498  
    88$t->is_deeply(array(), array(1, 2, 3)); 
    99?> 
    10 --EXPECT-- 
     10--EXPECTF-- 
    1111not 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) 
    1313#            got: array (  0 => 1,  1 => 2,  2 =>   array (    1 => 'foo',    'a' => '4',  ),) 
    1414#       expected: array (  0 => 1,  1 => 2,  2 =>   array (    1 => 'bar',    'a' => '4',  ),) 
    1515not 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) 
    1717#            got: array (  0 => 1,  1 => 2,  2 => 3,) 
    1818#       expected: array () 
    1919not 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) 
    2121#            got: array () 
    2222#       expected: array (  0 => 1,  1 => 2,  2 => 3,) 
  • tools/lime/trunk/tests/phpt/lime_test/is_fails.phpt

    r19496 r19498  
    66$t->is(false, true); 
    77?> 
    8 --EXPECT-- 
     8--EXPECTF-- 
    99not 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) 
    1111#            got: false 
    1212#       expected: true 
  • tools/lime/trunk/tests/phpt/lime_test/isa_ok_fails.phpt

    r19496 r19498  
    77$t->isa_ok(new Test(), 'Foo'); 
    88?> 
    9 --EXPECT-- 
     9--EXPECTF-- 
    1010not 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) 
    1212#       variable isn't a 'Foo' it's a 'Test' 
    13131..1 
  • tools/lime/trunk/tests/phpt/lime_test/isnt_fails.phpt

    r19496 r19498  
    66$t->isnt(false, false); 
    77?> 
    8 --EXPECT-- 
     8--EXPECTF-- 
    99not 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) 
    1111#       false 
    1212#           ne 
  • tools/lime/trunk/tests/phpt/lime_test/like_fails.phpt

    r19496 r19498  
    66$t->like('tests01', '/test\d+/'); 
    77?> 
    8 --EXPECT-- 
     8--EXPECTF-- 
    99not 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) 
    1111#                     'tests01' 
    1212#       doesn't match '/test\d+/' 
  • tools/lime/trunk/tests/phpt/lime_test/ok_fails.phpt

    r19496 r19498  
    66$t->ok(0); 
    77?> 
    8 --EXPECT-- 
     8--EXPECTF-- 
    99not 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) 
    11111..1 
    1212 Looks like you failed 1 tests of 1. 
  • tools/lime/trunk/tests/phpt/lime_test/unlike_fails.phpt

    r19496 r19498  
    66$t->unlike('test01', '/test\d+/'); 
    77?> 
    8 --EXPECT-- 
     8--EXPECTF-- 
    99not 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) 
    1111#                'test01' 
    1212#       matches '/test\d+/' 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.