Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 25 of 216) sorted by relevance

123456789

/plugin/freechat/phpfreechat/lib/pear/PHPUnit/
H A DAssert.php127 ksort($actual);
132 $actual = $this->_convertToString($actual);
136 $actual = serialize($actual);
144 $actual
159 $actual
162 if (!($actual >= ($expected - $delta) && $actual <= ($expected + $delta))) {
173 $actual
198 (is_object($actual) || is_null($actual))) {
229 (is_object($actual) || is_null($actual))) {
258 if (is_null($actual)) {
[all …]
/plugin/findologicxmlexport/vendor/sebastian/comparator/src/
H A DScalarComparator.php22 * @param mixed $actual The second value to compare
26 public function accepts($expected, $actual) argument
29 (is_scalar($actual) xor null === $actual))
31 … || (is_string($expected) && is_object($actual) && method_exists($actual, '__toString'))
39 * @param mixed $actual Second value to compare
49 $actualToCompare = $actual;
53 if (is_string($expected) || is_string($actual)) {
67 $actual,
69 $this->exporter->export($actual),
77 $actual,
[all …]
H A DObjectComparator.php22 * @param mixed $actual The second value to compare
25 public function accepts($expected, $actual) argument
27 return is_object($expected) && is_object($actual);
34 * @param mixed $actual Second value to compare
47 $actual,
49 $this->exporter->export($actual),
53 $this->exporter->export($actual),
65 $processed[] = array($actual, $expected);
70 if ($actual !== $expected) {
74 $this->toArray($actual),
[all …]
H A DNumericComparator.php22 * @param mixed $actual The second value to compare
25 public function accepts($expected, $actual) argument
29 return is_numeric($expected) && is_numeric($actual) &&
30 !(is_double($expected) || is_double($actual)) &&
31 !(is_string($expected) && is_string($actual));
38 * @param mixed $actual Second value to compare
47 if (is_infinite($actual) && is_infinite($expected)) {
52 (is_nan($actual) or is_nan($expected)) ||
53 abs($actual - $expected) > $delta) {
56 $actual,
[all …]
H A DSplObjectStorageComparator.php22 * @param mixed $actual The second value to compare
25 public function accepts($expected, $actual) argument
27 return $expected instanceof \SplObjectStorage && $actual instanceof \SplObjectStorage;
34 * @param mixed $actual Second value to compare
41 …public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ignoreCase … argument
43 foreach ($actual as $object) {
47 $actual,
49 $this->exporter->export($actual),
57 if (!$actual->contains($object)) {
60 $actual,
[all …]
H A DDateTimeComparator.php22 * @param mixed $actual The second value to compare
25 public function accepts($expected, $actual) argument
28 ($actual instanceof \DateTime || $actual instanceof \DateTimeInterface);
35 * @param mixed $actual Second value to compare
43 …public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ignoreCase … argument
50 if ($actual < $expectedLower->sub($delta) ||
51 $actual > $expectedUpper->add($delta)) {
54 $actual,
56 $this->dateTimeToString($actual),
H A DArrayComparator.php22 * @param mixed $actual The second value to compare
25 public function accepts($expected, $actual) argument
27 return is_array($expected) && is_array($actual);
34 * @param mixed $actual Second value to compare
46 sort($actual);
49 $remaining = $actual;
56 if (!array_key_exists($key, $actual)) {
69 $comparator = $this->factory->getComparatorFor($value, $actual[$key]);
70 … $comparator->assertEquals($value, $actual[$key], $delta, $canonicalize, $ignoreCase, $processed);
80 $this->exporter->shortenedExport($actual[$key])
[all …]
H A DResourceComparator.php22 * @param mixed $actual The second value to compare
25 public function accepts($expected, $actual) argument
27 return is_resource($expected) && is_resource($actual);
34 * @param mixed $actual Second value to compare
41 …public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ignoreCase … argument
43 if ($actual != $expected) {
46 $actual,
48 $this->exporter->export($actual)
H A DTypeComparator.php22 * @param mixed $actual The second value to compare
25 public function accepts($expected, $actual) argument
34 * @param mixed $actual Second value to compare
41 …public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ignoreCase … argument
43 if (gettype($expected) != gettype($actual)) {
46 $actual,
53 $this->exporter->shortenedExport($actual),
H A DDoubleComparator.php29 * @param mixed $actual The second value to compare
32 public function accepts($expected, $actual) argument
34 …return (is_double($expected) || is_double($actual)) && is_numeric($expected) && is_numeric($actual
41 * @param mixed $actual Second value to compare
48 …public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ignoreCase … argument
54 parent::assertEquals($expected, $actual, $delta, $canonicalize, $ignoreCase);
H A DDOMNodeComparator.php25 * @param mixed $actual The second value to compare
28 public function accepts($expected, $actual) argument
30 return $expected instanceof DOMNode && $actual instanceof DOMNode;
37 * @param mixed $actual Second value to compare
45 …public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ignoreCase … argument
48 $actualAsString = $this->nodeToText($actual, true, $ignoreCase);
59 $actual,
/plugin/sequencediagram/bower_components/lodash/test/
H A Dtest-fp.js106 assert.deepEqual(actual, [1, 3]);
120 assert.deepEqual(actual, [1, 3]);
194 actual = remove(isEven);
196 assert.deepEqual(actual, []);
203 actual = remove(isEven)(value);
210 actual = remove(value)(isEven);
483 actual = fp.uniq(other);
492 actual = fp.xor(other)(array);
495 actual = fp.pull('b')(array);
741 actual = func(objects);
[all …]
H A Dtest.js1821 assert.ok((actual[0] === null) || (actual[0] && actual[0].Array));
1828 assert.ok((actual[0] === undefined) || (actual[0] && actual[0].Array));
2741 assert.ok(actual !== array && actual[0] === array[0]);
2756 assert.ok(actual.bar.b === actual.foo.b && actual === actual.foo.b.c.d && actual !== object);
4693 assert.strictEqual(actual.bar.b, actual.foo.b);
14918 assert.notStrictEqual(actual.bar.b, actual.foo.b);
18569 assert.ok(actual >= min && actual <= max);
18576 assert.ok(actual % 1 && actual >= 0 && actual <= 1);
18579 assert.ok(actual % 1 && actual >= 0 && actual <= 2);
18582 assert.ok(actual % 1 && actual >= 2 && actual <= 4);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/
H A DAssert.php468 * @param mixed $actual
517 * @param mixed $actual
567 * @param mixed $actual
596 * @param mixed $actual
626 * @param mixed $actual
655 * @param mixed $actual
661 $actual,
688 * @param mixed $actual
717 * @param mixed $actual
747 * @param string $actual
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Assert/
H A DFunctions.php571 * @param mixed $actual
604 * @param mixed $actual
656 * @param string $actual
688 * @param string $actual
719 * @param mixed $actual
734 * @param mixed $actual
749 * @param mixed $actual
764 * @param mixed $actual
883 * @param mixed $actual
898 * @param mixed $actual
[all …]
/plugin/findologicxmlexport/vendor/sebastian/comparator/tests/
H A DNumericComparatorTest.php75 public function testAcceptsSucceeds($expected, $actual) argument
78 $this->comparator->accepts($expected, $actual)
86 public function testAcceptsFails($expected, $actual) argument
89 $this->comparator->accepts($expected, $actual)
97 public function testAssertEqualsSucceeds($expected, $actual, $delta = 0.0) argument
102 $this->comparator->assertEquals($expected, $actual, $delta);
115 public function testAssertEqualsFails($expected, $actual, $delta = 0.0) argument
120 $this->comparator->assertEquals($expected, $actual, $delta);
H A DDoubleComparatorTest.php87 public function testAcceptsSucceeds($expected, $actual) argument
90 $this->comparator->accepts($expected, $actual)
98 public function testAcceptsFails($expected, $actual) argument
101 $this->comparator->accepts($expected, $actual)
109 public function testAssertEqualsSucceeds($expected, $actual, $delta = 0.0) argument
114 $this->comparator->assertEquals($expected, $actual, $delta);
127 public function testAssertEqualsFails($expected, $actual, $delta = 0.0) argument
132 $this->comparator->assertEquals($expected, $actual, $delta);
H A DResourceComparatorTest.php75 public function testAcceptsSucceeds($expected, $actual) argument
78 $this->comparator->accepts($expected, $actual)
86 public function testAcceptsFails($expected, $actual) argument
89 $this->comparator->accepts($expected, $actual)
97 public function testAssertEqualsSucceeds($expected, $actual) argument
102 $this->comparator->assertEquals($expected, $actual);
115 public function testAssertEqualsFails($expected, $actual) argument
118 $this->comparator->assertEquals($expected, $actual);
H A DDOMNodeComparatorTest.php114 public function testAcceptsSucceeds($expected, $actual) argument
117 $this->comparator->accepts($expected, $actual)
125 public function testAcceptsFails($expected, $actual) argument
128 $this->comparator->accepts($expected, $actual)
136 public function testAssertEqualsSucceeds($expected, $actual) argument
141 $this->comparator->assertEquals($expected, $actual);
154 public function testAssertEqualsFails($expected, $actual) argument
160 $this->comparator->assertEquals($expected, $actual);
H A DExceptionComparatorTest.php89 public function testAcceptsSucceeds($expected, $actual) argument
92 $this->comparator->accepts($expected, $actual)
100 public function testAcceptsFails($expected, $actual) argument
103 $this->comparator->accepts($expected, $actual)
111 public function testAssertEqualsSucceeds($expected, $actual) argument
116 $this->comparator->assertEquals($expected, $actual);
129 public function testAssertEqualsFails($expected, $actual, $message) argument
134 $this->comparator->assertEquals($expected, $actual);
H A DScalarComparatorTest.php111 public function testAcceptsSucceeds($expected, $actual) argument
114 $this->comparator->accepts($expected, $actual)
122 public function testAcceptsFails($expected, $actual) argument
125 $this->comparator->accepts($expected, $actual)
133 public function testAssertEqualsSucceeds($expected, $actual, $ignoreCase = false) argument
138 $this->comparator->assertEquals($expected, $actual, 0.0, false, $ignoreCase);
151 public function testAssertEqualsFails($expected, $actual, $message) argument
156 $this->comparator->assertEquals($expected, $actual);
/plugin/webdav/vendor/sabre/vobject/lib/
H A DPHPUnitAssertions.php32 * @param resource|string|Component $actual
35 public function assertVObjectEqualsVObject($expected, $actual, $message = '') argument
56 $actual = $getObj($actual)->serialize();
62 $actual = preg_replace(
65 $actual
71 $actual,
/plugin/icalevents/vendor/sabre/vobject/lib/
H A DPHPUnitAssertions.php32 * @param resource|string|Component $actual
35 function assertVObjectEqualsVObject($expected, $actual, $message = '') { argument
58 $actual = $getObj($actual)->serialize();
65 $actual = preg_replace(
68 $actual
75 $actual,
/plugin/s5reloaded/ui/effects_support/
H A Dunittest.js291 assertEqual: function(expected, actual) { argument
293 try { (expected == actual) ? this.pass() :
298 assertInspect: function(expected, actual) { argument
305 assertEnumEqual: function(expected, actual) { argument
313 assertNotEqual: function(expected, actual) { argument
315 try { (expected != actual) ? this.pass() :
319 assertIdentical: function(expected, actual) { argument
339 assertMatch: function(expected, actual) { argument
342 try { (regex.exec(actual)) ? this.pass() :
354 assertType: function(expected, actual) { argument
[all …]
/plugin/dbquery/_test/
H A Dhelper.test.php35 $actual = $this->hlp->gatherVariables();
36 $this->assertEquals($expected, $actual);
57 $actual = $this->hlp->gatherVariables();
58 $this->assertEquals($expected, $actual);
76 $actual = $sth->queryString;
78 $this->assertEquals($expected, $actual);

123456789