예제 #1
0
 /**
  * quote
  *
  * @param string $text
  *
  * @return  string
  */
 protected function qn($text)
 {
     return TestStringHelper::quote($text, static::$quote);
 }
 /**
  * assertStringDataEquals
  *
  * @param string $expected
  * @param string $actual
  * @param string $message
  * @param int    $delta
  * @param int    $maxDepth
  * @param bool   $canonicalize
  * @param bool   $ignoreCase
  *
  * @return  void
  */
 public function assertStringSafeEquals($expected, $actual, $message = '', $delta = 0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false)
 {
     $this->assertEquals(trim(TestStringHelper::removeCRLF($expected)), trim(TestStringHelper::removeCRLF($actual)), $message, $delta, $maxDepth, $canonicalize, $ignoreCase);
 }