assertStringNotMatchesFormatFile() public static method

Asserts that a string does not match a given format string.
public static assertStringNotMatchesFormatFile ( string $formatFile, string $string, string $message = '' )
$formatFile 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 $formatFile
 * @param  string $string
 * @param  string $message
 * @since  Method available since Release 3.5.0
 */
function assertStringNotMatchesFormatFile($formatFile, $string, $message = '')
{
    return PHPUnit_Framework_Assert::assertStringNotMatchesFormatFile($formatFile, $string, $message);
}
コード例 #2
0
ファイル: StringMatcher.php プロジェクト: dekeysoft/pu-tester
 public function doesNotMatchFormatFromFile($formatFile)
 {
     Assert::assertStringNotMatchesFormatFile($formatFile, $this->actual, $this->description);
     return $this;
 }
コード例 #3
0
ファイル: Expect.php プロジェクト: jpkleemans/phpunit-expect
 /**
  * Expect that a string does not match a given format string.
  *
  * @param string $formatFile
  * @param string $message
  *
  * @return Expect
  */
 public function notToMatchFormatFile($formatFile, $message = '')
 {
     Assert::assertStringNotMatchesFormatFile($formatFile, $this->value, $message);
     return $this;
 }
コード例 #4
0
ファイル: Verify.php プロジェクト: jaschweder/Verify
 public function notMatchesFormatFile($formatFile)
 {
     a::assertStringNotMatchesFormatFile($formatFile, $this->actual, $this->description);
 }
コード例 #5
0
ファイル: AssertionsTrait.php プロジェクト: newup/core
 /**
  * Asserts that a string does not match a given format string.
  *
  * @param $formatFile
  * @param $string
  * @param string $message
  */
 public function assertStringNotMatchesVfsFormatFile($formatFile, $string, $message = '')
 {
     PHPUnit::assertStringNotMatchesFormatFile($this->getPath($formatFile), $string, $message);
 }