Home
last modified time | relevance | path

Searched refs:constraint (Results 1 – 25 of 77) sorted by relevance

1234

/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/
H A DConstraintTest.php19 $this->assertCount(1, $constraint);
22 $constraint->evaluate([]);
122 $constraint->evaluate('foo');
305 $constraint->evaluate(0);
356 $constraint->evaluate(2);
408 $constraint->evaluate(0);
459 $constraint->evaluate(1);
549 $constraint->evaluate(0);
857 $constraint->evaluate(1);
1302 $constraint->evaluate(0);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Constraint/
H A DNot.php19 protected $constraint; variable in PHPUnit_Framework_Constraint_Not
22 * @param PHPUnit_Framework_Constraint $constraint
24 public function __construct($constraint) argument
28 if (!($constraint instanceof PHPUnit_Framework_Constraint)) {
29 $constraint = new PHPUnit_Framework_Constraint_IsEqual($constraint);
32 $this->constraint = $constraint;
114 switch (get_class($this->constraint)) {
122 $this->constraint->failureDescription($other)
134 switch (get_class($this->constraint)) {
142 $this->constraint->toString()
[all …]
H A DOr.php28 foreach ($constraints as $constraint) {
30 $constraint = new PHPUnit_Framework_Constraint_IsEqual(
31 $constraint
35 $this->constraints[] = $constraint;
60 $constraint = null;
62 foreach ($this->constraints as $constraint) {
63 if ($constraint->evaluate($other, $description, true)) {
87 foreach ($this->constraints as $key => $constraint) {
92 $text .= $constraint->toString();
107 foreach ($this->constraints as $constraint) {
[all …]
H A DXor.php28 foreach ($constraints as $constraint) {
29 if (!($constraint instanceof PHPUnit_Framework_Constraint)) {
30 $constraint = new PHPUnit_Framework_Constraint_IsEqual(
31 $constraint
35 $this->constraints[] = $constraint;
61 $constraint = null;
63 foreach ($this->constraints as $constraint) {
92 foreach ($this->constraints as $key => $constraint) {
97 $text .= $constraint->toString();
112 foreach ($this->constraints as $constraint) {
[all …]
H A DAnd.php35 foreach ($constraints as $constraint) {
36 if (!($constraint instanceof PHPUnit_Framework_Constraint)) {
43 $this->constraints[] = $constraint;
68 $constraint = null;
70 foreach ($this->constraints as $constraint) {
71 if (!$constraint->evaluate($other, $description, true)) {
95 foreach ($this->constraints as $key => $constraint) {
100 $text .= $constraint->toString();
115 foreach ($this->constraints as $constraint) {
116 $count += count($constraint);
H A DTraversableContainsOnly.php20 protected $constraint; variable in PHPUnit_Framework_Constraint_TraversableContainsOnly
36 $this->constraint = new PHPUnit_Framework_Constraint_IsType($type);
38 $this->constraint = new PHPUnit_Framework_Constraint_IsInstanceOf(
69 if (!$this->constraint->evaluate($item, '', true)) {
H A DAttribute.php19 * @param PHPUnit_Framework_Constraint $constraint
22 public function __construct(PHPUnit_Framework_Constraint $constraint, $attributeName) argument
24 parent::__construct($constraint);
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/
H A DMethodName.php25 protected $constraint; variable in PHPUnit_Framework_MockObject_Matcher_MethodName
32 public function __construct($constraint) argument
34 if (!$constraint instanceof PHPUnit_Framework_Constraint) {
35 if (!is_string($constraint)) {
39 $constraint = new PHPUnit_Framework_Constraint_IsEqual(
40 $constraint,
48 $this->constraint = $constraint;
56 return 'method name ' . $this->constraint->toString();
66 return $this->constraint->evaluate($invocation->methodName, '', true);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/
H A DAssert.php46 static::assertThat($array, $constraint, $message);
75 static::assertThat($array, $constraint, $message);
2058 self::$count += count($constraint);
2060 $constraint->evaluate($value, $message);
2228 $constraint->setConstraints($constraints);
2230 return $constraint;
2243 $constraint->setConstraints($constraints);
2245 return $constraint;
2270 $constraint->setConstraints($constraints);
2272 return $constraint;
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/Constraint/
H A DJsonMatchesTest.php18 $constraint = new PHPUnit_Framework_Constraint_JsonMatches($jsonValue);
19 $this->assertEquals($expected, $constraint->evaluate($jsonOther, '', true));
25 $constraint = new PHPUnit_Framework_Constraint_JsonMatches($jsonValue);
27 $this->assertEquals('matches JSON string "' . $jsonValue . '"', $constraint->toString());
H A DArraySubsetTest.php22 $constraint = new PHPUnit_Framework_Constraint_ArraySubset($subset, $strict);
24 $this->assertSame($expected, $constraint->evaluate($other, '', true));
61 $constraint = new PHPUnit_Framework_Constraint_ArraySubset(['foo' => 'bar']);
63 $this->assertTrue($constraint->evaluate($arrayAccess, '', true));
H A DIsJsonTest.php18 $constraint = new PHPUnit_Framework_Constraint_IsJson();
19 $this->assertEquals($expected, $constraint->evaluate($jsonOther, '', true));
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/
H A DInvocationMocker.php266 * @param PHPUnit_Framework_Constraint|string $constraint
270 public function method($constraint) argument
278 … if (is_string($constraint) && !in_array(strtolower($constraint), $this->configurableMethods)) {
282 $constraint
287 …his->matcher->methodNameMatcher = new PHPUnit_Framework_MockObject_Matcher_MethodName($constraint);
/plugin/mdpage/vendor/composer/
H A DInstalledVersions.php104 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
106 $constraint = $parser->parseConstraints($constraint);
109 return $provided->matches($constraint);
/plugin/commonmark/vendor/composer/
H A DInstalledVersions.php102 …* @param string|null $constraint A version constraint to check for, if you pass one you have t…
105 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
107 $constraint = $parser->parseConstraints($constraint);
110 return $provided->matches($constraint);
/plugin/combo/vendor/composer/
H A DInstalledVersions.php124 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
126 $constraint = $parser->parseConstraints($constraint);
129 return $provided->matches($constraint);
/plugin/conform/
H A Dhelper.php181 foreach ( $constraints as $constraint => $constraintlines )
183 if ( ! in_array($constraint, $attributes) )
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Assert/
H A DFunctions.php1395 * @param PHPUnit_Framework_Constraint $constraint
1398 function assertThat($value, PHPUnit_Framework_Constraint $constraint, $message = '') argument
1544 * @param PHPUnit_Framework_Constraint $constraint
1549 function attribute(PHPUnit_Framework_Constraint $constraint, $attributeName) argument
1928 * @param PHPUnit_Framework_Constraint $constraint
1932 function logicalNot(PHPUnit_Framework_Constraint $constraint) argument
/plugin/html2pdf/html2pdf/html2ps/
H A Dheight.php168 $constraint =& new HCConstraint($constant, $min, $max);
169 return $constraint;
/plugin/openid/Auth/OpenID/
H A DMDB2Store.php164 $constraint = array(
182 $constraint);
/plugin/fedauth/Auth/OpenID/
H A DMDB2Store.php164 $constraint = array(
182 $constraint);
/plugin/codemirror/dist/modes/
H A Dmllike.min.js1constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword","function":"keyword",initi…
/plugin/s5reloaded/ui/effects_support/
H A Ddragdrop.js490 if((!this.options.constraint) || (this.options.constraint=='horizontal'))
492 if((!this.options.constraint) || (this.options.constraint=='vertical'))
633 constraint: 'vertical', // one of 'vertical', 'horizontal', false
667 constraint: options.constraint, property in Sortable.create.options_for_draggable
/plugin/scrape/HTMLPurifier/ConfigSchema/schema/
H A DAttr.ClassUseCDATA.txt17 with the additional constraint that each name should be unique (this is not
/plugin/form/
H A Dsyntax.php1075 $this->writebefore($this->mailPath.'constraint.tmp', $constraint);

1234