Lines Matching refs:true

17         $this->assertFalse($constraint->evaluate([], '', true));
66 $this->assertFalse($constraint->evaluate([0 => 1], '', true));
117 $this->assertFalse($constraint->evaluate('foo', '', true));
143 $this->assertFalse($constraint->evaluate('foo', '', true));
169 $this->assertFalse($constraint->evaluate('foo', '', true));
195 $this->assertFalse($constraint->evaluate('foo', '', true));
247 $this->assertFalse($constraint->evaluate($file, '', true));
299 $this->assertFalse($constraint->evaluate(0, '', true));
300 $this->assertTrue($constraint->evaluate(2, '', true));
351 $this->assertTrue($constraint->evaluate(1, '', true));
402 $this->assertTrue($constraint->evaluate(1, '', true));
403 $this->assertFalse($constraint->evaluate(0, '', true));
454 $this->assertFalse($constraint->evaluate(1, '', true));
505 $this->assertTrue($constraint->evaluate(null, '', true));
517 $this->assertFalse($constraint->evaluate(null, '', true));
543 $this->assertTrue($constraint->evaluate(1, '', true));
544 $this->assertFalse($constraint->evaluate(0, '', true));
665 [[true], ['true'], <<<EOF
851 $this->assertTrue($constraint->evaluate(0, '', true));
852 $this->assertFalse($constraint->evaluate(1, '', true));
906 $this->assertFalse($constraint->evaluate($b, '', true));
907 $this->assertTrue($constraint->evaluate($a, '', true));
989 $this->assertTrue($constraint->evaluate($b, '', true));
990 $this->assertFalse($constraint->evaluate($a, '', true));
1065 $this->assertFalse($constraint->evaluate(new stdClass, '', true));
1066 $this->assertTrue($constraint->evaluate(new Exception, '', true));
1071 $this->assertFalse($interfaceConstraint->evaluate(new stdClass, '', true));
1072 $this->assertTrue($interfaceConstraint->evaluate(new ArrayObject, '', true));
1121 $this->assertFalse($constraint->evaluate(new stdClass, '', true));
1122 $this->assertTrue($constraint->evaluate(new Exception, '', true));
1172 $this->assertFalse($constraint->evaluate(0, '', true));
1173 $this->assertTrue($constraint->evaluate('', '', true));
1234 $this->assertTrue($constraint->evaluate($resource, '', true));
1245 $this->assertTrue($constraint->evaluate(0, '', true));
1246 $this->assertFalse($constraint->evaluate('', '', true));
1296 $this->assertFalse($constraint->evaluate(0, '', true));
1297 $this->assertTrue($constraint->evaluate(null, '', true));
1346 $this->assertFalse($constraint->evaluate(null, '', true));
1347 $this->assertTrue($constraint->evaluate(0, '', true));
1396 $this->assertTrue($constraint->evaluate(0, '', true));
1397 $this->assertFalse($constraint->evaluate(1, '', true));
1448 $this->assertTrue($constraint->evaluate(1, '', true));
1449 $this->assertFalse($constraint->evaluate(0, '', true));
1500 $this->assertTrue($constraint->evaluate(1, '', true));
1501 $this->assertFalse($constraint->evaluate(2, '', true));
1530 return true;
1534 $this->assertTrue($constraint->evaluate('', '', true));
1537 $this->assertTrue($constraint->evaluate(true, '', true));
1538 $this->assertFalse($constraint->evaluate(false, '', true));
1542 $this->assertTrue($constraint->evaluate(false, '', true));
1546 $this->assertTrue($constraint->evaluate(null, '', true));
1565 return true;
1570 return true;
1602 $this->assertTrue($constraint->evaluate(2, '', true));
1603 $this->assertFalse($constraint->evaluate(1, '', true));
1654 $this->assertTrue($constraint->evaluate('ClassWithNonPublicAttributes', '', true));
1655 $this->assertFalse($constraint->evaluate('stdClass', '', true));
1705 $this->assertTrue($constraint->evaluate('stdClass', '', true));
1706 $this->assertFalse($constraint->evaluate('ClassWithNonPublicAttributes', '', true));
1756 $this->assertTrue($constraint->evaluate('ClassWithNonPublicAttributes', '', true));
1757 $this->assertFalse($constraint->evaluate('stdClass', '', true));
1807 $this->assertTrue($constraint->evaluate('stdClass', '', true));
1808 $this->assertFalse($constraint->evaluate('ClassWithNonPublicAttributes', '', true));
1858 $this->assertTrue($constraint->evaluate(new ClassWithNonPublicAttributes, '', true));
1859 $this->assertFalse($constraint->evaluate(new stdClass, '', true));
1909 $this->assertTrue($constraint->evaluate(new stdClass, '', true));
1910 $this->assertFalse($constraint->evaluate(new ClassWithNonPublicAttributes, '', true));
1960 $this->assertFalse($constraint->evaluate('barbazbar', '', true));
1961 $this->assertTrue($constraint->evaluate('barfoobar', '', true));
2011 $this->assertTrue($constraint->evaluate('barbazbar', '', true));
2012 $this->assertFalse($constraint->evaluate('barfoobar', '', true));
2061 $this->assertFalse($constraint->evaluate('**', '', true));
2062 $this->assertTrue($constraint->evaluate('***', '', true));
2070 $this->assertFalse($constraint->evaluate('**', '', true));
2071 $this->assertTrue($constraint->evaluate('***', '', true));
2079 $this->assertFalse($constraint->evaluate('**', '', true));
2080 $this->assertTrue($constraint->evaluate('*0*', '', true));
2088 $this->assertFalse($constraint->evaluate('**', '', true));
2089 $this->assertTrue($constraint->evaluate('*0*', '', true));
2097 $this->assertFalse($constraint->evaluate('**', '', true));
2098 $this->assertTrue($constraint->evaluate('*0f0f0f*', '', true));
2106 $this->assertFalse($constraint->evaluate('**', '', true));
2107 $this->assertTrue($constraint->evaluate('*1.0*', '', true));
2116 $this->assertFalse($constraint->evaluate('foo', '', true));
2117 $this->assertTrue($constraint->evaluate('prefixfoo', '', true));
2167 $this->assertTrue($constraint->evaluate('foo', '', true));
2168 $this->assertFalse($constraint->evaluate('prefixfoo', '', true));
2219 $this->assertFalse($constraint->evaluate('barbazbar', '', true));
2220 $this->assertTrue($constraint->evaluate('barfoobar', '', true));
2244 $constraint = PHPUnit_Framework_Assert::stringContains('oryginał', true);
2246 $this->assertFalse($constraint->evaluate('oryginal', '', true));
2247 $this->assertTrue($constraint->evaluate('ORYGINAŁ', '', true));
2248 $this->assertTrue($constraint->evaluate('oryginał', '', true));
2274 $this->assertFalse($constraint->evaluate('oryginal', '', true));
2275 $this->assertFalse($constraint->evaluate('ORYGINAŁ', '', true));
2276 $this->assertTrue($constraint->evaluate('oryginał', '', true));
2327 $this->assertTrue($constraint->evaluate('barbazbar', '', true));
2328 $this->assertFalse($constraint->evaluate('barfoobar', '', true));
2356 $this->assertTrue($constraint->evaluate('original', '', true));
2357 $this->assertFalse($constraint->evaluate('ORYGINAŁ', '', true));
2358 $this->assertFalse($constraint->evaluate('oryginał', '', true));
2386 $this->assertTrue($constraint->evaluate('original', '', true));
2387 $this->assertTrue($constraint->evaluate('ORYGINAŁ', '', true));
2388 $this->assertFalse($constraint->evaluate('oryginał', '', true));
2439 $this->assertFalse($constraint->evaluate('foo', '', true));
2440 $this->assertTrue($constraint->evaluate('foosuffix', '', true));
2491 $this->assertTrue($constraint->evaluate('foo', '', true));
2492 $this->assertFalse($constraint->evaluate('foosuffix', '', true));
2542 $constraint = new PHPUnit_Framework_Constraint_TraversableContains('foo', true, true);
2544 $this->assertFalse($constraint->evaluate([0], '', true));
2545 $this->assertFalse($constraint->evaluate([true], '', true));
2550 $this->assertTrue($constraint->evaluate([0], '', true));
2551 $this->assertTrue($constraint->evaluate([true], '', true));
2558 $this->assertFalse($constraint->evaluate(['bar'], '', true));
2559 $this->assertTrue($constraint->evaluate(['foo'], '', true));
2610 $this->assertTrue($constraint->evaluate(['bar'], '', true));
2611 $this->assertFalse($constraint->evaluate(['foo'], '', true));
2665 $this->assertFalse($constraint->evaluate($storage, '', true));
2668 $this->assertTrue($constraint->evaluate($storage, '', true));
2717 $this->assertTrue($constraint->evaluate($object, '', true));
2723 $this->assertFalse($constraint->evaluate($object, '', true));
2773 $this->assertTrue($constraint->evaluate($object, '', true));
2781 $this->assertFalse($constraint->evaluate($object, '', true));
2830 $this->assertFalse($constraint->evaluate(['foo'], '', true));
2831 $this->assertTrue($constraint->evaluate([], '', true));
2832 $this->assertFalse($constraint->evaluate(new ArrayObject(['foo']), '', true));
2833 $this->assertTrue($constraint->evaluate(new ArrayObject([]), '', true));
2881 $this->assertTrue($constraint->evaluate([1, 2, 3, 4, 5], '', true));
2882 $this->assertFalse($constraint->evaluate([1, 2, 3, 4], '', true));
2889 $this->assertTrue($constraint->evaluate(new TestIterator([1, 2, 3, 4, 5]), '', true));
2890 $this->assertFalse($constraint->evaluate(new TestIterator([1, 2, 3, 4]), '', true));
2897 $this->assertTrue($constraint->evaluate(new ArrayObject([1, 2, 3, 4, 5]), '', true));
2898 $this->assertFalse($constraint->evaluate(new ArrayObject([1, 2, 3, 4]), '', true));
2951 $this->assertTrue($constraint->evaluate([6, 7, 8, 9, 10], '', true));
2952 $this->assertFalse($constraint->evaluate([1, 2, 3, 4], '', true));
2959 $this->assertTrue($constraint->evaluate(new TestIterator([6, 7, 8, 9, 10]), '', true));
2960 $this->assertFalse($constraint->evaluate(new TestIterator([1, 2, 3, 4]), '', true));
2967 $this->assertTrue($constraint->evaluate(new ArrayObject([6, 7, 8, 9, 10]), '', true));
2968 $this->assertFalse($constraint->evaluate(new ArrayObject([1, 2, 3, 4]), '', true));