| [ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
PHP Version 4 Copyright (c) 2002-2005, Sebastian Bergmann <sb@sebastian-bergmann.de>. All rights reserved.
| Author: | Sebastian Bergmann <sb@sebastian-bergmann.de> |
| Copyright: | 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> |
| License: | http://www.opensource.org/licenses/bsd-license.php BSD License |
| Version: | CVS: $Id: Assert.php,v 1.29 2005/11/10 09:47:14 sebastian Exp $ |
| Poids: | 426 lignes (12 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 1 fois |
| Nécessite: | 0 fichiers |
PHPUnit_Assert:: (15 méthodes):
assertContains()
assertNotContains()
assertEquals()
assertSame()
assertNotSame()
assertNotNull()
assertNull()
assertTrue()
assertFalse()
assertRegExp()
assertNotRegExp()
assertType()
_convertToString()
setLooselyTyped()
fail()
Classe: PHPUnit_Assert - X-Ref
A set of assert methods.| assertContains($needle, $haystack, $message = '') X-Ref |
| Asserts that a haystack contains a needle. param: mixed param: mixed param: string |
| assertNotContains($needle, $haystack, $message = '') X-Ref |
| Asserts that a haystack does not contain a needle. param: mixed param: mixed param: string |
| assertEquals($expected, $actual, $message = '', $delta = 0) X-Ref |
| Asserts that two variables are equal. param: mixed param: mixed param: string param: mixed |
| assertSame($expected, $actual, $message = '') X-Ref |
| Asserts that two variables reference the same object. This requires the Zend Engine 2 to work. param: object param: object param: string |
| assertNotSame($expected, $actual, $message = '') X-Ref |
| Asserts that two variables do not reference the same object. This requires the Zend Engine 2 to work. param: object param: object param: string |
| assertNotNull($actual, $message = '') X-Ref |
| Asserts that a variable is not NULL. param: mixed param: string |
| assertNull($actual, $message = '') X-Ref |
| Asserts that a variable is NULL. param: mixed param: string |
| assertTrue($condition, $message = '') X-Ref |
| Asserts that a condition is true. param: boolean param: string |
| assertFalse($condition, $message = '') X-Ref |
| Asserts that a condition is false. param: boolean param: string |
| assertRegExp($pattern, $string, $message = '') X-Ref |
| Asserts that a string matches a given regular expression. param: string param: string param: string |
| assertNotRegExp($pattern, $string, $message = '') X-Ref |
| Asserts that a string does not match a given regular expression. param: string param: string param: string |
| assertType($expected, $actual, $message = '') X-Ref |
| Asserts that a variable is of a given type. param: string $expected param: mixed $actual param: optional string $message |
| _convertToString($value) X-Ref |
| Converts a value to a string. param: mixed $value |
| setLooselyTyped($looselyTyped) X-Ref |
param: boolean $looselyTyped |
| fail($message = '') X-Ref |
| Fails a test with the given message. param: string |
| Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
|