assertStringNotMatchesFormat() public static method

Asserts that a string does not match a given format string.
public static assertStringNotMatchesFormat ( string $format, string $string, string $message = '' )
$format string
$string string
$message string
コード例 #1
0
ファイル: Functions.php プロジェクト: delkyd/sugarcrm_dev
/**
 * Asserts that a string does not match a given format string.
 *
 * @param  string $format
 * @param  string $string
 * @param  string $message
 * @since  Method available since Release 3.5.0
 */
function assertStringNotMatchesFormat($format, $string, $message = '')
{
    return PHPUnit_Framework_Assert::assertStringNotMatchesFormat($format, $string, $message);
}
コード例 #2
0
ファイル: Expect.php プロジェクト: jasonmccreary/expect
 public function toMatchFormat($format)
 {
     if ($this->negate) {
         a::assertStringNotMatchesFormat($format, $this->actual);
     } else {
         a::assertStringMatchesFormat($format, $this->actual);
     }
 }
コード例 #3
0
ファイル: Verify.php プロジェクト: jaschweder/Verify
 public function notMatchesFormat($format)
 {
     a::assertStringNotMatchesFormat($format, $this->actual, $this->description);
 }
コード例 #4
0
ファイル: StringMatcher.php プロジェクト: dekeysoft/pu-tester
 public function doesNotMatchFormat($format)
 {
     Assert::assertStringNotMatchesFormat($format, $this->actual, $this->description);
     return $this;
 }
コード例 #5
0
ファイル: Expect.php プロジェクト: jpkleemans/phpunit-expect
 /**
  * Expect that a string does not match a given format string.
  *
  * @param string $format
  * @param string $message
  *
  * @return Expect
  */
 public function notToMatchFormat($format, $message = '')
 {
     Assert::assertStringNotMatchesFormat($format, $this->value, $message);
     return $this;
 }