Index
A
- ArrayValuesEqualToTrait — Class in namespace Tailors\PHPUnit
- ArrayValuesEqualToTrait::assertThat() — Method in class ArrayValuesEqualToTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- ArrayValuesEqualToTrait::assertArrayValuesEqualTo() — Method in class ArrayValuesEqualToTrait
Asserts that selected properties of $actual are identical to $expected ones.
- ArrayValuesEqualToTrait::assertNotArrayValuesEqualTo() — Method in class ArrayValuesEqualToTrait
Asserts that selected properties of $actual are not identical to $expected ones.
- ArrayValuesEqualToTrait::arrayValuesEqualTo() — Method in class ArrayValuesEqualToTrait
Compares selected properties of $actual with $expected ones.
- ArrayValuesIdenticalToTrait — Class in namespace Tailors\PHPUnit
- ArrayValuesIdenticalToTrait::assertThat() — Method in class ArrayValuesIdenticalToTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- ArrayValuesIdenticalToTrait::assertArrayValuesIdenticalTo() — Method in class ArrayValuesIdenticalToTrait
Asserts that selected values of $actual array are identical to $expected ones.
- ArrayValuesIdenticalToTrait::assertNotArrayValuesIdenticalTo() — Method in class ArrayValuesIdenticalToTrait
Asserts that selected properties of $actual are not identical to $expected ones.
- ArrayValuesIdenticalToTrait::arrayValuesIdenticalTo() — Method in class ArrayValuesIdenticalToTrait
Compares selected properties of $actual with $expected ones.
- AbstractKsortedConstraint — Class in namespace Tailors\PHPUnit\Arrays
Abstract base class for constraints that compare key-sorted arrays.
- ClassPropertiesEqualToTrait::assertThat() — Method in class ClassPropertiesEqualToTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- ClassPropertiesEqualToTrait::assertClassPropertiesEqualTo() — Method in class ClassPropertiesEqualToTrait
Asserts that selected properties of $class are identical to $expected ones.
- ClassPropertiesEqualToTrait::assertNotClassPropertiesEqualTo() — Method in class ClassPropertiesEqualToTrait
Asserts that selected properties of $class are not identical to $expected ones.
- ClassPropertiesIdenticalToTrait::assertThat() — Method in class ClassPropertiesIdenticalToTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- ClassPropertiesIdenticalToTrait::assertClassPropertiesIdenticalTo() — Method in class ClassPropertiesIdenticalToTrait
Asserts that selected properties of $class are identical to $expected ones.
- ClassPropertiesIdenticalToTrait::assertNotClassPropertiesIdenticalTo() — Method in class ClassPropertiesIdenticalToTrait
Asserts that selected properties of $class are not identical to $expected ones.
- ComparatorInterface::adjective() — Method in class ComparatorInterface
Returns an adjective that identifies this comparison operator.
- EqualityComparator::adjective() — Method in class EqualityComparator
Returns an adjective that identifies this comparison operator.
- IdentityComparator::adjective() — Method in class IdentityComparator
Returns an adjective that identifies this comparison operator.
- ArrayValuesEqualTo — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts arrays having values equal to specified ones.
- ArrayValuesIdenticalTo — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts arrays having values equal to specified ones.
- ExtendsClassTrait::assertThat() — Method in class ExtendsClassTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- ExtendsClassTrait::assertExtendsClass() — Method in class ExtendsClassTrait
Asserts that $subject extends the class $parent.
- ExtendsClassTrait::assertNotExtendsClass() — Method in class ExtendsClassTrait
Asserts that $subject does not extend the class $parent.
- HasMethodTrait::assertThat() — Method in class HasMethodTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- HasMethodTrait::assertHasMethod() — Method in class HasMethodTrait
Asserts that $subject has method specified with $methodSpec.
- HasMethodTrait::assertNotHasMethod() — Method in class HasMethodTrait
Asserts that $subject has no method specified with $methodSpec.
- HasPregCapturesTrait::assertThat() — Method in class HasPregCapturesTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- HasPregCapturesTrait::assertHasPregCaptures() — Method in class HasPregCapturesTrait
Asserts that an array of $matches returned from
preg_match()
has capture groups as specified in $expected.- HasPregCapturesTrait::assertNotHasPregCaptures() — Method in class HasPregCapturesTrait
Negated assertHasPregCaptures().
- ImplementsInterfaceTrait::assertThat() — Method in class ImplementsInterfaceTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- ImplementsInterfaceTrait::assertImplementsInterface() — Method in class ImplementsInterfaceTrait
Asserts that $subject implements $interface.
- ImplementsInterfaceTrait::assertNotImplementsInterface() — Method in class ImplementsInterfaceTrait
Asserts that $subject does not implement $interface.
- AbstractConstraint — Class in namespace Tailors\PHPUnit\Inheritance
Abstract base class for inheritance constraints (ExtendsClass, ImplementsInterface, UsesTrait, etc.).
- KsortedArrayEqualToTrait::assertThat() — Method in class KsortedArrayEqualToTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- KsortedArrayEqualToTrait::assertKsortedArrayEqualTo() — Method in class KsortedArrayEqualToTrait
Asserts that $actual is an array equal to $expected when key-sorted.
- KsortedArrayEqualToTrait::assertNotKsortedArrayEqualTo() — Method in class KsortedArrayEqualToTrait
Asserts that $actual fails to be an array equal to $expected when key-sorted.
- KsortedArrayIdenticalToTrait::assertThat() — Method in class KsortedArrayIdenticalToTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- KsortedArrayIdenticalToTrait::assertKsortedArrayIdenticalTo() — Method in class KsortedArrayIdenticalToTrait
Asserts that $actual is an array identical to $expected when key-sorted.
- KsortedArrayIdenticalToTrait::assertNotKsortedArrayIdenticalTo() — Method in class KsortedArrayIdenticalToTrait
Asserts that $actual fails to be an array identical to $expected when key-sorted.
- ObjectPropertiesEqualToTrait::assertThat() — Method in class ObjectPropertiesEqualToTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- ObjectPropertiesEqualToTrait::assertObjectPropertiesEqualTo() — Method in class ObjectPropertiesEqualToTrait
Asserts that selected properties of $object are identical to $expected ones.
- ObjectPropertiesEqualToTrait::assertNotObjectPropertiesEqualTo() — Method in class ObjectPropertiesEqualToTrait
Asserts that selected properties of $object are not identical to $expected ones.
- ObjectPropertiesIdenticalToTrait::assertThat() — Method in class ObjectPropertiesIdenticalToTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- ObjectPropertiesIdenticalToTrait::assertObjectPropertiesIdenticalTo() — Method in class ObjectPropertiesIdenticalToTrait
Asserts that selected properties of $object are identical to $expected ones.
- ObjectPropertiesIdenticalToTrait::assertNotObjectPropertiesIdenticalTo() — Method in class ObjectPropertiesIdenticalToTrait
Asserts that selected properties of $object are not identical to $expected ones.
- CapturesFilter::accepts() — Method in class CapturesFilter
Returns true if $value may be a capture group returned by preg_match().
- CapturesFilterInterface::accepts() — Method in class CapturesFilterInterface
Returns true if $value is a capture group returned by preg_match().
- UsesTraitTrait::assertThat() — Method in class UsesTraitTrait
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
- UsesTraitTrait::assertUsesTrait() — Method in class UsesTraitTrait
Asserts that $subject uses $trait.
- UsesTraitTrait::assertNotUsesTrait() — Method in class UsesTraitTrait
Asserts that $subject does not use $trait.
- AbstractConstraint — Class in namespace Tailors\PHPUnit\Values
Abstract base for constraints that examine values.
- AbstractPropertySelector — Class in namespace Tailors\PHPUnit\Values
- AbstractValueSelector — Class in namespace Tailors\PHPUnit\Values
- AbstractValueSelector::assertSupports() — Method in class AbstractValueSelector
- AbstractValues — Class in namespace Tailors\PHPUnit\Values
An array of expected values.
- ActualValues — Class in namespace Tailors\PHPUnit\Values
An array of actual values.
- ActualValues::actual() — Method in class ActualValues
- ArrayValueSelector — Class in namespace Tailors\PHPUnit\Values
- ConstraintTestCase::adjective() — Method in class ConstraintTestCase
- ExpectedValues::actual() — Method in class ExpectedValues
- ValuesInterface::actual() — Method in class ValuesInterface
Returns true if this object represents actual values (as opposite to expected values).
C
- CircularDependencyException — Class in namespace Tailors\PHPUnit
- ClassPropertiesEqualToTrait — Class in namespace Tailors\PHPUnit
- ClassPropertiesEqualToTrait::classPropertiesEqualTo() — Method in class ClassPropertiesEqualToTrait
Compares selected properties of $class with $expected ones.
- ClassPropertiesIdenticalToTrait — Class in namespace Tailors\PHPUnit
- ClassPropertiesIdenticalToTrait::classPropertiesIdenticalTo() — Method in class ClassPropertiesIdenticalToTrait
Compares selected properties of $class with $expected ones.
- ComparatorInterface — Class in namespace Tailors\PHPUnit\Comparator
- ComparatorInterface::compare() — Method in class ComparatorInterface
Compares two values.
- ComparatorWrapperInterface — Class in namespace Tailors\PHPUnit\Comparator
- EqualityComparator::compare() — Method in class EqualityComparator
- IdentityComparator::compare() — Method in class IdentityComparator
- ClassPropertiesEqualTo — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts classes having properties equal to specified ones.
- ClassPropertiesIdenticalTo — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts classes having properties identical to specified ones.
- HasMethod::create() — Method in class HasMethod
- HasPregCaptures::create() — Method in class HasPregCaptures
Initializes the constraint.
- KsortedArrayEqualTo::create() — Method in class KsortedArrayEqualTo
- KsortedArrayIdenticalTo::create() — Method in class KsortedArrayIdenticalTo
- TestCase::createConstraint() — Method in class TestCase
- ConstraintImplementationTrait — Class in namespace Tailors\PHPUnit\Inheritance
Implementation of an inheritance constraint class.
- ConstraintImplementationTrait::create() — Method in class ConstraintImplementationTrait
- CapturesFilter — Class in namespace Tailors\PHPUnit\Preg
- CapturesFilterInterface — Class in namespace Tailors\PHPUnit\Preg
- ClassPropertySelector — Class in namespace Tailors\PHPUnit\Values
- ConstraintImplementationTrait — Class in namespace Tailors\PHPUnit\Values
- ConstraintImplementationTrait::create() — Method in class ConstraintImplementationTrait
- ConstraintTestCase — Class in namespace Tailors\PHPUnit\Values
E
- AbstractKsortedConstraint::evaluate() — Method in class AbstractKsortedConstraint
Evaluates the constraint for parameter $other.
- Exporter — Class in namespace Tailors\PHPUnit\Common
- Exporter::export() — Method in class Exporter
- EqualityComparator — Class in namespace Tailors\PHPUnit\Comparator
- ExtendsClass — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts classes that extend given class.
- HasPregCaptures::evaluate() — Method in class HasPregCaptures
Evaluates the constraint for parameter $other.
- TestCase::examineCreateConstraint() — Method in class TestCase
- TestCase::examineConstraintUnaryOperatorFailure() — Method in class TestCase
Tests whether the constraint throws expected exception with expected message when wrapped with an unary operator.
- TestCase::examineConstraintMatchSucceeds() — Method in class TestCase
- TestCase::examineConstraintMatchFails() — Method in class TestCase
- TestCase::examineNotConstraintMatchSucceeds() — Method in class TestCase
- TestCase::examineNotConstraintMatchFails() — Method in class TestCase
- ExceptionInterface — Class in namespace Tailors\PHPUnit
- ExtendsClassTrait — Class in namespace Tailors\PHPUnit
- ExtendsClassTrait::extendsClass() — Method in class ExtendsClassTrait
Checks objects (an classes) that they extend $parent class.
- AbstractConstraint::evaluate() — Method in class AbstractConstraint
Evaluates the constraint for parameter $other.
- ConstraintTestCase::examineValuesMatchSucceeds() — Method in class ConstraintTestCase
- ConstraintTestCase::examineValuesMatchFails() — Method in class ConstraintTestCase
- ConstraintTestCase::examineNotValuesMatchSucceeds() — Method in class ConstraintTestCase
- ConstraintTestCase::examineNotValuesMatchFails() — Method in class ConstraintTestCase
- ExpectedValues — Class in namespace Tailors\PHPUnit\Values
An array of expected values.
- ExpectedValuesSelection — Class in namespace Tailors\PHPUnit\Values
F
- ShortFailureDescriptionTrait::failureDescription() — Method in class ShortFailureDescriptionTrait
Returns the description of the failure.
- ShortFailureDescriptionTrait::failureDescriptionInContext() — Method in class ShortFailureDescriptionTrait
Returns the description of the failure when this constraint appears in context of an $operator expression.
- HasPregCaptures::failureDescription() — Method in class HasPregCaptures
Returns the description of the failure.
- AbstractConstraint::failureDescription() — Method in class AbstractConstraint
Returns the description of the failure.
- AbstractConstraint::failureDescriptionInContext() — Method in class AbstractConstraint
Returns the description of the failure when this constraint appears in context of an $operator expression.
- InvalidArgumentException::fromBackTrace() — Method in class InvalidArgumentException
- InvalidArgumentException::fromFunction() — Method in class InvalidArgumentException
- InvalidReturnValueException::fromExpectedTypeAndActualValue() — Method in class InvalidReturnValueException
- InvalidReturnValueException::fromExpectedAndActual() — Method in class InvalidReturnValueException
- MethodSpecFactory::fromString() — Method in class MethodSpecFactory
Parses string containing method requirement specification.
- MethodSpecFactoryInterface::fromString() — Method in class MethodSpecFactoryInterface
Parses string containing method requirement specification.
- CapturesFilter::filter() — Method in class CapturesFilter
Filter-out all elements of $array with $this->accepts().
- CapturesFilterInterface::filter() — Method in class CapturesFilterInterface
Filter-out all elements of $array with $this->accepts().
G
- AbstractKsortedConstraint::getComparator() — Method in class AbstractKsortedConstraint
Returns an instance of ComparatorInterface which implements comparison operator.
- ComparatorWrapperInterface::getComparator() — Method in class ComparatorWrapperInterface
Returns an instance of ComparatorInterface.
- TestCase::getConstraintClass() — Method in class TestCase
Returns constraint's class name.
- MethodSpec::getName() — Method in class MethodSpec
- {@inheridoc}.
- MethodSpec::getStatic() — Method in class MethodSpec
- {@inheridoc}.
- MethodSpec::getAccess() — Method in class MethodSpec
- {@inheridoc}.
- MethodSpec::getAbstract() — Method in class MethodSpec
- {@inheridoc}.
- MethodSpec::getFinal() — Method in class MethodSpec
- {@inheridoc}.
- MethodSpecInterface::getName() — Method in class MethodSpecInterface
Returns the name of the method being specified.
- MethodSpecInterface::getStatic() — Method in class MethodSpecInterface
Returns specification of
static
modifier.- MethodSpecInterface::getAccess() — Method in class MethodSpecInterface
Returns specification of methods visibility.
- MethodSpecInterface::getAbstract() — Method in class MethodSpecInterface
Returns specification of
abstract
modifier.- MethodSpecInterface::getFinal() — Method in class MethodSpecInterface
Returns specification of
final
modifier.- AbstractConstraint::getSelection() — Method in class AbstractConstraint
Returns an instance of SelectionInterface which defines expected values.
- AbstractConstraint::getComparator() — Method in class AbstractConstraint
Returns an instance of ComparatorInterface which implements comparison operator.
- AbstractPropertySelector::getSubjectAttribute() — Method in class AbstractPropertySelector
- ClassPropertySelector::getSubjectAttribute() — Method in class ClassPropertySelector
- ExpectedValuesSelection::getSelector() — Method in class ExpectedValuesSelection
- ObjectPropertySelector::getSubjectAttribute() — Method in class ObjectPropertySelector
- SelectionInterface::getSelector() — Method in class SelectionInterface
- SelectionWrapperInterface::getSelection() — Method in class SelectionWrapperInterface
Returns an instance of SelectionInterface.
- ValuesInterface::getArrayCopy() — Method in class ValuesInterface
H
- HasMethod — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts objects, classes, traits and interfaces having given method.
- HasPregCaptures — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts arrays of matches returned from
preg_match()
having capture groups as specified in the array of expectations.- HasMethodTrait — Class in namespace Tailors\PHPUnit
- HasMethodTrait::hasMethod() — Method in class HasMethodTrait
Checks if an object, class, trait or interface has given method.
- HasPregCapturesTrait — Class in namespace Tailors\PHPUnit
- HasPregCapturesTrait::hasPregCaptures() — Method in class HasPregCapturesTrait
Accepts arrays of matches returned from
preg_match()
having capture groups as specified in $excpected.
I
- IdentityComparator — Class in namespace Tailors\PHPUnit\Comparator
- ImplementsInterface — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts classes that implement given interface.
- ImplementsInterfaceTrait — Class in namespace Tailors\PHPUnit
- ImplementsInterfaceTrait::implementsInterface() — Method in class ImplementsInterfaceTrait
Checks classes that they implement $interface.
- AbstractConstraint::inheritance() — Method in class AbstractConstraint
Returns an array of "inherited classes" -- eiher interfaces $class implements, parent classes it extends or traits it uses, depending on the actual implementation of this constraint.
- ConstraintImplementationTrait::inheritance() — Method in class ConstraintImplementationTrait
- InvalidArgumentException — Class in namespace Tailors\PHPUnit
- InvalidReturnValueException — Class in namespace Tailors\PHPUnit
K
- AbstractKsortedConstraint::ksorted() — Method in class AbstractKsortedConstraint
Returns key-sorted copy of $array.
- KsortedArrayEqualTo — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts arrays equal to specified one when key-sorted.
- KsortedArrayIdenticalTo — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts arrays identical to specified one when key-sorted.
- KsortedArrayEqualToTrait — Class in namespace Tailors\PHPUnit
- KsortedArrayEqualToTrait::ksortedArrayEqualTo() — Method in class KsortedArrayEqualToTrait
Compares selected $actual with $expected array after key-sorting both sides.
- KsortedArrayIdenticalToTrait — Class in namespace Tailors\PHPUnit
- KsortedArrayIdenticalToTrait::ksortedArrayIdenticalTo() — Method in class KsortedArrayIdenticalToTrait
Compares selected $actual with $expected array after key-sorting both sides.
M
- AbstractKsortedConstraint::matches() — Method in class AbstractKsortedConstraint
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
- ArrayValuesEqualTo::makeComparator() — Method in class ArrayValuesEqualTo
Creates instance of EqualityComparator.
- ArrayValuesEqualTo::makeSelector() — Method in class ArrayValuesEqualTo
Creates instance of ArrayValueSelector.
- ArrayValuesIdenticalTo::makeComparator() — Method in class ArrayValuesIdenticalTo
Creates instance of IdentityComparator.
- ArrayValuesIdenticalTo::makeSelector() — Method in class ArrayValuesIdenticalTo
Creates instance of ArrayValueSelector.
- ClassPropertiesEqualTo::makeComparator() — Method in class ClassPropertiesEqualTo
Creates instance of EqualityComparator.
- ClassPropertiesEqualTo::makeSelector() — Method in class ClassPropertiesEqualTo
Creates instance of ClassPropertySelector.
- ClassPropertiesIdenticalTo::makeComparator() — Method in class ClassPropertiesIdenticalTo
Creates instance of IdentityComparator.
- ClassPropertiesIdenticalTo::makeSelector() — Method in class ClassPropertiesIdenticalTo
Creates instance of ClassPropertySelector.
- HasMethod::matches() — Method in class HasMethod
- HasPregCaptures::matches() — Method in class HasPregCaptures
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
- ObjectPropertiesEqualTo::makeComparator() — Method in class ObjectPropertiesEqualTo
Creates instance of EqualityComparator.
- ObjectPropertiesEqualTo::makeSelector() — Method in class ObjectPropertiesEqualTo
Creates instance of ObjectPropertySelector.
- ObjectPropertiesIdenticalTo::makeComparator() — Method in class ObjectPropertiesIdenticalTo
Creates instance of IdentityComparator.
- ObjectPropertiesIdenticalTo::makeSelector() — Method in class ObjectPropertiesIdenticalTo
Creates instance of ObjectPropertySelector.
- AbstractConstraint::matches() — Method in class AbstractConstraint
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
- MethodSpec — Class in namespace Tailors\PHPUnit\Methods
Specifies requirements on method including its name and modifiers.
- MethodSpec::matches() — Method in class MethodSpec
- {@inheridoc}.
- MethodSpecFactory — Class in namespace Tailors\PHPUnit\Methods
- MethodSpecFactoryInterface — Class in namespace Tailors\PHPUnit\Methods
- MethodSpecInterface — Class in namespace Tailors\PHPUnit\Methods
Specifies requirements on method including its name and modifiers.
- MethodSpecInterface::matches() — Method in class MethodSpecInterface
Returns true, if $method fulfills all requirements.
- MethodSpecSyntaxError — Class in namespace Tailors\PHPUnit\Methods
Specifies requirements on method including its name and modifiers.
- AbstractConstraint::matches() — Method in class AbstractConstraint
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
- ConstraintImplementationTrait::makeSelector() — Method in class ConstraintImplementationTrait
Creates instance of ValueSelectorInterface.
- ConstraintImplementationTrait::makeComparator() — Method in class ConstraintImplementationTrait
Creates instance of ComparatorInterface.
- ConstraintTestCase::message() — Method in class ConstraintTestCase
Assembles expected failure message out of pieces.
N
- AbstractConstraint::negatedVerb() — Method in class AbstractConstraint
Returns short negated description of what we examine, e.g.
'does not impement interface'
.- ConstraintImplementationTrait::negatedVerb() — Method in class ConstraintImplementationTrait
Returns short negated description of what we examine, e.g.
'does not impement interface'
.
O
- ObjectPropertiesEqualTo — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts objects having properties equal to specified ones.
- ObjectPropertiesIdenticalTo — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts objects having properties identical to specified ones.
- TestCase::operator() — Method in class TestCase
- ObjectPropertiesEqualToTrait — Class in namespace Tailors\PHPUnit
- ObjectPropertiesEqualToTrait::objectPropertiesEqualTo() — Method in class ObjectPropertiesEqualToTrait
Compares selected properties of $object with $expected ones.
- ObjectPropertiesIdenticalToTrait — Class in namespace Tailors\PHPUnit
- ObjectPropertiesIdenticalToTrait::objectPropertiesIdenticalTo() — Method in class ObjectPropertiesIdenticalToTrait
Compares selected properties of $object with $expected ones.
- ObjectPropertySelector — Class in namespace Tailors\PHPUnit\Values
P
- TestCase::precedence() — Method in class TestCase
- ConstraintTestCase::provCreateConstraint() — Method in class ConstraintTestCase
R
- RecursiveComparatorValidator — Class in namespace Tailors\PHPUnit\Values
Given an array of expectations, searches it recursivelly for constraints of incompatible type.
- RecursiveSelector — Class in namespace Tailors\PHPUnit\Values
Selects actual values from a $subject according to expected values.
- RecursiveSelectorInterface — Class in namespace Tailors\PHPUnit\Values
- RecursiveUnwrapper — Class in namespace Tailors\PHPUnit\Values
- RecursiveUnwrapperInterface — Class in namespace Tailors\PHPUnit\Values
S
- AbstractKsortedConstraint::supports() — Method in class AbstractKsortedConstraint
- ShortFailureDescriptionTrait — Class in namespace Tailors\PHPUnit\Common
- AbstractConstraint::supports() — Method in class AbstractConstraint
Checks if $subject may be used as an argument to
inheritance()
.- ConstraintImplementationTrait::supports() — Method in class ConstraintImplementationTrait
Checks if $subject may be used as an argument to inheritance().
- StringArgumentValidator — Class in namespace Tailors\PHPUnit
- AbstractPropertySelector::selectable() — Method in class AbstractPropertySelector
A name for the values being selected from subject (in plural, e.g. "values" or "properties").
- AbstractPropertySelector::selectFromSupported() — Method in class AbstractPropertySelector
- AbstractPropertySelector::selectWithMethod() — Method in class AbstractPropertySelector
- AbstractPropertySelector::selectWithAttribute() — Method in class AbstractPropertySelector
- AbstractValueSelector::select() — Method in class AbstractValueSelector
- AbstractValueSelector::selectFromSupported() — Method in class AbstractValueSelector
- ArrayValueSelector::supports() — Method in class ArrayValueSelector
- ArrayValueSelector::subject() — Method in class ArrayValueSelector
Returns short string explaining the type(s) of subjects the selector supports.
- ArrayValueSelector::selectable() — Method in class ArrayValueSelector
A name for the values being selected from subject.
- ArrayValueSelector::selectFromSupported() — Method in class ArrayValueSelector
- ClassPropertySelector::supports() — Method in class ClassPropertySelector
- ClassPropertySelector::subject() — Method in class ClassPropertySelector
A short string naming the subject type supported by this selector.
- ConstraintTestCase::subject() — Method in class ConstraintTestCase
- ConstraintTestCase::selectable() — Method in class ConstraintTestCase
- ConstraintTestCase::statement() — Method in class ConstraintTestCase
Assembles a statement which is a part of failure message.
- ObjectPropertySelector::supports() — Method in class ObjectPropertySelector
- ObjectPropertySelector::subject() — Method in class ObjectPropertySelector
A short string naming the subject type supported by this selector.
- RecursiveSelector::select() — Method in class RecursiveSelector
Select an array of values from $subject.
- RecursiveSelectorInterface::select() — Method in class RecursiveSelectorInterface
Select an array of values from $subject.
- SelectionInterface — Class in namespace Tailors\PHPUnit\Values
- SelectionWrapperInterface — Class in namespace Tailors\PHPUnit\Values
- ValueSelectorInterface::supports() — Method in class ValueSelectorInterface
- ValueSelectorInterface::select() — Method in class ValueSelectorInterface
- ValueSelectorInterface::subject() — Method in class ValueSelectorInterface
A short string naming the subject type(s) supported by this selector (e.g. "an array", "an object", "a class", etc.).
- ValueSelectorInterface::selectable() — Method in class ValueSelectorInterface
A name for the values being selected from subject (in plural, e.g. "values" or "properties").
T
- AbstractKsortedConstraint::toString() — Method in class AbstractKsortedConstraint
Returns a string representation of the constraint.
- AbstractKsortedConstraint::toStringInContext() — Method in class AbstractKsortedConstraint
Returns a custom string representation of the constraint object when it appears in context of an $operator expression.
- ShortFailureDescriptionTrait::toString() — Method in class ShortFailureDescriptionTrait
Returns a string representation of the constraint.
- ShortFailureDescriptionTrait::toStringInContext() — Method in class ShortFailureDescriptionTrait
Returns a custom string representation of the constraint object when it appears in context of an $operator expression.
- HasMethod::toString() — Method in class HasMethod
Returns a string representation of the constraint.
- HasPregCaptures::toString() — Method in class HasPregCaptures
Returns a string representation of the constraint.
- TestCase — Class in namespace Tailors\PHPUnit\Constraint
- AbstractConstraint::toString() — Method in class AbstractConstraint
Returns a string representation of the constraint.
- AbstractConstraint::toStringInContext() — Method in class AbstractConstraint
Returns a custom string representation of the constraint object when it appears in context of an $operator expression.
- MethodSpec::toString() — Method in class MethodSpec
- {@inheridoc}.
- MethodSpecInterface::toString() — Method in class MethodSpecInterface
Method specification in human readable form.
- AbstractConstraint::toString() — Method in class AbstractConstraint
Returns a string representation of the constraint.
- AbstractConstraint::toStringInContext() — Method in class AbstractConstraint
Returns a custom string representation of the constraint object when it appears in context of an $operator expression.
- ConstraintTestCase::testCreateConstraint() — Method in class ConstraintTestCase
- ConstraintTestCase::testConstraintUnaryOperatorFailure() — Method in class ConstraintTestCase
U
- UsesTrait — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts classes that extend given class.
- UsesTraitTrait — Class in namespace Tailors\PHPUnit
- UsesTraitTrait::usesTrait() — Method in class UsesTraitTrait
Checks objects (an classes) that they use given $trait.
- RecursiveUnwrapper::unwrap() — Method in class RecursiveUnwrapper
Walk recursively through $values and unwrap nested instances of ValuesInterface when suitable.
- RecursiveUnwrapperInterface::unwrap() — Method in class RecursiveUnwrapperInterface
V
- ValidateExpectationsTrait — Class in namespace Tailors\PHPUnit\Arrays
- ValidateExpectationsTrait::validateExpectations() — Method in class ValidateExpectationsTrait
- AbstractConstraint::verb() — Method in class AbstractConstraint
Returns short description of what we examine, e.g.
'impements interface'
.- ConstraintImplementationTrait::verb() — Method in class ConstraintImplementationTrait
Returns short description of what we examine, e.g.
'impements interface'
.- ValidateExpectationsTrait — Class in namespace Tailors\PHPUnit\Properties
- ValidateExpectationsTrait::validateExpectations() — Method in class ValidateExpectationsTrait
- StringArgumentValidator::validate() — Method in class StringArgumentValidator
- ConstraintImplementationTrait::validateExpectations() — Method in class ConstraintImplementationTrait
- RecursiveComparatorValidator::validate() — Method in class RecursiveComparatorValidator
- ValueSelectorInterface — Class in namespace Tailors\PHPUnit\Values
- ValuesInterface — Class in namespace Tailors\PHPUnit\Values
An array of actual or expected values.
W
- TestCase::wrapWithUnaryOperator() — Method in class TestCase
Returns $constraint wrapped with an UnaryOperator.
_
- AbstractKsortedConstraint::__construct() — Method in class AbstractKsortedConstraint
- HasMethod::__construct() — Method in class HasMethod
- TestCase::__construct() — Method in class TestCase
- AbstractConstraint::__construct() — Method in class AbstractConstraint
Initializes the constraint.
- MethodSpec::__construct() — Method in class MethodSpec
- CapturesFilter::__construct() — Method in class CapturesFilter
- StringArgumentValidator::__construct() — Method in class StringArgumentValidator
- AbstractConstraint::__construct() — Method in class AbstractConstraint
- ExpectedValuesSelection::__construct() — Method in class ExpectedValuesSelection
- RecursiveComparatorValidator::__construct() — Method in class RecursiveComparatorValidator
- RecursiveSelector::__construct() — Method in class RecursiveSelector
- RecursiveUnwrapper::__construct() — Method in class RecursiveUnwrapper
Initializes the object.