Home
last modified time | relevance | path

Searched refs:constraint (Results 1 – 25 of 95) 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/authgooglesheets/vendor/google/apiclient-services/src/ServiceControl/
H A DViolationInfo.php29 public $constraint; variable in Google\\Service\\ServiceControl\\ViolationInfo
56 public function setConstraint($constraint) argument
58 $this->constraint = $constraint;
65 return $this->constraint;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudAsset/
H A DGoogleCloudOrgpolicyV1Policy.php27 public $constraint; variable in Google\\Service\\CloudAsset\\GoogleCloudOrgpolicyV1Policy
62 public function setConstraint($constraint) argument
64 $this->constraint = $constraint;
71 return $this->constraint;
/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));
/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/pureldap/vendor/composer/
H A DInstalledVersions.php109 * Checks whether the given package satisfies a version constraint
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
120 public static function satisfies(VersionParser $parser, $packageName, $constraint)
122 $constraint = $parser->parseConstraints((string) $constraint);
125 return $provided->matches($constraint);
129 * Returns a version constraint representing all the range(s) which are installed for a given package
131 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
135 * @return string Version constraint usabl
105 satisfies(VersionParser $parser, $packageName, $constraint) global() argument
[all...]
/plugin/commonmark/vendor/composer/
H A DInstalledVersions.php109 * Checks whether the given package satisfies a version constraint
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
120 public static function satisfies(VersionParser $parser, $packageName, $constraint)
122 $constraint = $parser->parseConstraints($constraint);
125 return $provided->matches($constraint);
129 * Returns a version constraint representing all the range(s) which are installed for a given package
131 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
135 * @return string Version constraint usabl
105 satisfies(VersionParser $parser, $packageName, $constraint) global() argument
[all...]
/plugin/elasticsearch/vendor/composer/
H A DInstalledVersions.php109 * Checks whether the given package satisfies a version constraint
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
120 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
122 $constraint = $parser->parseConstraints((string) $constraint);
125 return $provided->matches($constraint);
129 * Returns a version constraint representing all the range(s) which are installed for a given package
131 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
135 * @return string Version constraint usabl
[all...]
/plugin/barcodes/vendor/composer/
H A DInstalledVersions.php109 * Checks whether the given package satisfies a version constraint
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
120 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
122 $constraint = $parser->parseConstraints((string) $constraint);
125 return $provided->matches($constraint);
129 * Returns a version constraint representing all the range(s) which are installed for a given package
131 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
135 * @return string Version constraint usabl
[all...]
/plugin/oauth/vendor/composer/
H A DInstalledVersions.php107 * Checks whether the given package satisfies a version constraint
115 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
118 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
120 $constraint = $parser->parseConstraints($constraint);
123 return $provided->matches($constraint);
127 * Returns a version constraint representing all the range(s) which are installed for a given package
129 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
133 * @return string Version constraint usabl
[all...]
/plugin/geophp/vendor/composer/
H A DInstalledVersions.php109 * Checks whether the given package satisfies a version constraint
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
120 public static function satisfies(VersionParser $parser, $packageName, $constraint)
122 $constraint = $parser->parseConstraints((string) $constraint);
125 return $provided->matches($constraint);
129 * Returns a version constraint representing all the range(s) which are installed for a given package
131 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
135 * @return string Version constraint usabl
118 satisfies(VersionParser $parser, $packageName, $constraint) global() argument
[all...]
/plugin/authgooglesheets/vendor/composer/
H A DInstalledVersions.php281 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
283 $constraint = $parser->parseConstraints($constraint);
286 return $provided->matches($constraint);
/plugin/upgrade/vendor/composer/
H A DInstalledVersions.php109 * Checks whether the given package satisfies a version constraint
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
120 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
122 $constraint = $parser->parseConstraints((string) $constraint);
125 return $provided->matches($constraint);
129 * Returns a version constraint representing all the range(s) which are installed for a given package
131 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
135 * @return string Version constraint usabl
[all...]
/plugin/dw2pdf/vendor/composer/
H A DInstalledVersions.php109 * Checks whether the given package satisfies a version constraint
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
120 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
122 $constraint = $parser->parseConstraints((string) $constraint);
125 return $provided->matches($constraint);
129 * Returns a version constraint representing all the range(s) which are installed for a given package
131 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
135 * @return string Version constraint usabl
[all...]
/plugin/aichat/vendor/composer/
H A DInstalledVersions.php109 * Checks whether the given package satisfies a version constraint
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
120 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
122 $constraint = $parser->parseConstraints((string) $constraint);
125 return $provided->matches($constraint);
129 * Returns a version constraint representing all the range(s) which are installed for a given package
131 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
135 * @return string Version constraint usabl
[all...]

1234