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.
- ArrayValuesTrait — Class in namespace Tailors\PHPUnit
- ArrayValuesTrait::arrayValues() — Method in class ArrayValuesTrait
Returns an object representing array array values.
- AbstractArrayValues — Class in namespace Tailors\PHPUnit\Arrays
An array of expected or actual array values.
- AbstractKsortedConstraint — Class in namespace Tailors\PHPUnit\Arrays
Abstract base class for constraints that compare key-sorted arrays.
- ActualArrayValues — Class in namespace Tailors\PHPUnit\Arrays
An array of actual values.
- ActualArrayValues::actual() — Method in class ActualArrayValues
- ArrayValuesTestCase — Class in namespace Tailors\PHPUnit\Arrays
- ExpectedArrayValues::actual() — Method in class ExpectedArrayValues
- 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.
- ReferenceStorage::add() — Method in class ReferenceStorage
- 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 identical 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.
- CapturesFilterInterface::accepts() — Method in class CapturesFilterInterface
Returns true if $value is a capture group returned by preg_match().
- AbstractClassProperties — Class in namespace Tailors\PHPUnit\Properties
An array of expected or actual class properties.
- AbstractObjectProperties — Class in namespace Tailors\PHPUnit\Properties
An array of expected or actual object properties.
- ActualClassProperties — Class in namespace Tailors\PHPUnit\Properties
An array of actual class properties.
- ActualClassProperties::actual() — Method in class ActualClassProperties
- ActualObjectProperties — Class in namespace Tailors\PHPUnit\Properties
An array of actual object properties.
- ActualObjectProperties::actual() — Method in class ActualObjectProperties
- ExpectedClassProperties::actual() — Method in class ExpectedClassProperties
- ExpectedObjectProperties::actual() — Method in class ExpectedObjectProperties
- RecursiveConstraintTestCase::adjective() — Method in class RecursiveConstraintTestCase
- ResultInterface::actual() — Method in class ResultInterface
Returns true if this object represents actual result (as opposite to expected one).
- AbstractPropertySelector — Class in namespace Tailors\PHPUnit\Selector
- AbstractValueSelector — Class in namespace Tailors\PHPUnit\Selector
- AbstractValueSelector::assertSupports() — Method in class AbstractValueSelector
- ArrayValueSelector — Class in namespace Tailors\PHPUnit\Selector
- 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.
- AbstractGenericValues — Class in namespace Tailors\PHPUnit\Values
An array of expected or actual values (generic).
- AbstractValues — Class in namespace Tailors\PHPUnit\Values
An array of expected values.
- AbstractValuesTestCase — Class in namespace Tailors\PHPUnit\Values
- ActualValues — Class in namespace Tailors\PHPUnit\Values
An array of actual values.
- ActualValues::actual() — Method in class ActualValues
- ExpectedValues::actual() — Method in class ExpectedValues
C
- AbstractArrayValues::createActualValues() — Method in class AbstractArrayValues
- 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.
- ClassPropertiesTrait — Class in namespace Tailors\PHPUnit
- ClassPropertiesTrait::classProperties() — Method in class ClassPropertiesTrait
Returns an object representing expected array values.
- ReferenceStorage::count() — Method in class ReferenceStorage
- ReferenceStorage::contains() — Method in class ReferenceStorage
- ComparatorInterface — Class in namespace Tailors\PHPUnit\Comparator
- ComparatorInterface::compare() — Method in class ComparatorInterface
Compares two values.
- EqualityComparator::compare() — Method in class EqualityComparator
Compares two values.
- IdentityComparator::compare() — Method in class IdentityComparator
Compares two values.
- 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
- CapturesFilterInterface — Class in namespace Tailors\PHPUnit\Preg
- AbstractClassProperties::createActualValues() — Method in class AbstractClassProperties
- AbstractObjectProperties::createActualValues() — Method in class AbstractObjectProperties
- ClassPropertiesTestCase — Class in namespace Tailors\PHPUnit\Properties
- RecursiveConstraintSpecializationTrait::create() — Method in class RecursiveConstraintSpecializationTrait
- RecursiveSelectorVisitor::cycle() — Method in class RecursiveSelectorVisitor
- RecursiveUnwrapperVisitor::cycle() — Method in class RecursiveUnwrapperVisitor
- RecursiveVisitorInterface::cycle() — Method in class RecursiveVisitorInterface
- ClassPropertySelector — Class in namespace Tailors\PHPUnit\Selector
- AbstractGenericValues::createActualValues() — Method in class AbstractGenericValues
- ValuesInterface::createActualValues() — Method in class ValuesInterface
E
- AbstractKsortedConstraint::evaluate() — Method in class AbstractKsortedConstraint
Evaluates the constraint for parameter $other.
- ExpectedArrayValues — Class in namespace Tailors\PHPUnit\Arrays
An array of expected array values.
- 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.
- ExpectedClassProperties — Class in namespace Tailors\PHPUnit\Properties
An array of expected class properties.
- ExpectedObjectProperties — Class in namespace Tailors\PHPUnit\Properties
An array of expected object properties.
- RecursiveConstraintTestCase::examineValuesMatchSucceeds() — Method in class RecursiveConstraintTestCase
- RecursiveConstraintTestCase::examineValuesMatchFails() — Method in class RecursiveConstraintTestCase
- RecursiveConstraintTestCase::examineNotValuesMatchSucceeds() — Method in class RecursiveConstraintTestCase
- RecursiveConstraintTestCase::examineNotValuesMatchFails() — Method in class RecursiveConstraintTestCase
- RecursiveSelectorVisitor::enter() — Method in class RecursiveSelectorVisitor
- RecursiveUnwrapperVisitor::enter() — Method in class RecursiveUnwrapperVisitor
- RecursiveVisitorInterface::enter() — Method in class RecursiveVisitorInterface
- ExpectedValues — Class in namespace Tailors\PHPUnit\Values
An array of expected values.
F
- AbstractArrayValues::familyName() — Method in class AbstractArrayValues
- AbstractArrayValues::fallbackFamilyString() — Method in class AbstractArrayValues
- 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.
- InternalErrorException::fromBackTrace() — Method in class InternalErrorException
- InvalidArgumentException::fromBackTrace() — Method in class InvalidArgumentException
- InvalidArgumentException::fromFunction() — Method in class InvalidArgumentException
- InvalidReturnValueException::fromExpectedTypeAndActualValue() — Method in class InvalidReturnValueException
- InvalidReturnValueException::fromExpectedAndActual() — Method in class InvalidReturnValueException
- MethodSpecFactoryInterface::fromString() — Method in class MethodSpecFactoryInterface
Parses string containing method requirement specification.
- CapturesFilterInterface::filter() — Method in class CapturesFilterInterface
Filter-out all elements of $array with $this->accepts().
- AbstractClassProperties::familyName() — Method in class AbstractClassProperties
- AbstractClassProperties::fallbackFamilyString() — Method in class AbstractClassProperties
- AbstractObjectProperties::familyName() — Method in class AbstractObjectProperties
- AbstractObjectProperties::fallbackFamilyString() — Method in class AbstractObjectProperties
- RecursiveSelectorVisitor::freeStackItem() — Method in class RecursiveSelectorVisitor
- RecursiveUnwrapperVisitor::freeStackItem() — Method in class RecursiveUnwrapperVisitor
- RecursiveVisitorInterface::freeStackItem() — Method in class RecursiveVisitorInterface
- AbstractGenericValues::familyName() — Method in class AbstractGenericValues
- AbstractGenericValues::fallbackFamilyString() — Method in class AbstractGenericValues
- AbstractValues::familyTag() — Method in class AbstractValues
- AbstractValues::familyName() — Method in class AbstractValues
- AbstractValues::fallbackFamilyString() — Method in class AbstractValues
G
- ArrayValuesTestCase::getValuesClass() — Method in class ArrayValuesTestCase
- ArrayValuesTestCase::getValuesObject() — Method in class ArrayValuesTestCase
- ArrayValuesTestCase::getValuesFamilyName() — Method in class ArrayValuesTestCase
- ArrayValuesTestCase::getValuesActual() — Method in class ArrayValuesTestCase
- ExpectedArrayValues::getValueSelector() — Method in class ExpectedArrayValues
Returns an instance of ValueSelectorInterface.
- TestCase::getConstraintClass() — Method in class TestCase
Returns constraint's class name.
- MethodSpecInterface::getName() — Method in class MethodSpecInterface
Returns the name of the method being specified.
- MethodSpecInterface::getStatic() — Method in class MethodSpecInterface
Returns specification of
staticmodifier.- MethodSpecInterface::getAccess() — Method in class MethodSpecInterface
Returns specification of methods visibility.
- MethodSpecInterface::getAbstract() — Method in class MethodSpecInterface
Returns specification of
abstractmodifier.- MethodSpecInterface::getFinal() — Method in class MethodSpecInterface
Returns specification of
finalmodifier.- ClassPropertiesTestCase::getValuesClass() — Method in class ClassPropertiesTestCase
- ClassPropertiesTestCase::getValuesObject() — Method in class ClassPropertiesTestCase
- ClassPropertiesTestCase::getValuesFamilyName() — Method in class ClassPropertiesTestCase
- ClassPropertiesTestCase::getValuesActual() — Method in class ClassPropertiesTestCase
- ExpectedClassProperties::getValueSelector() — Method in class ExpectedClassProperties
Returns an instance of ValueSelectorInterface.
- ExpectedObjectProperties::getValueSelector() — Method in class ExpectedObjectProperties
Returns an instance of ValueSelectorInterface.
- ObjectPropertiesTestCase::getValuesClass() — Method in class ObjectPropertiesTestCase
- ObjectPropertiesTestCase::getValuesObject() — Method in class ObjectPropertiesTestCase
- ObjectPropertiesTestCase::getValuesFamilyName() — Method in class ObjectPropertiesTestCase
- ObjectPropertiesTestCase::getValuesActual() — Method in class ObjectPropertiesTestCase
- AbstractPropertySelector::getSubjectAttribute() — Method in class AbstractPropertySelector
- ClassPropertySelector::getSubjectAttribute() — Method in class ClassPropertySelector
- ObjectPropertySelector::getSubjectAttribute() — Method in class ObjectPropertySelector
- ValueSelectorWrapperInterface::getValueSelector() — Method in class ValueSelectorWrapperInterface
Returns an instance of ValueSelectorInterface.
- AbstractValuesTestCase::getValuesFamilyName() — Method in class AbstractValuesTestCase
- AbstractValuesTestCase::getValuesActual() — Method in class AbstractValuesTestCase
- AbstractValuesTestCase::getValuesObject() — Method in class AbstractValuesTestCase
- ValuesWrapperInterface::getValues() — Method in class ValuesWrapperInterface
Returns an instance of 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
- InternalErrorException — Class in namespace Tailors\PHPUnit
- 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.
- RecursiveUnwrapperStackItem::key() — Method in class RecursiveUnwrapperStackItem
- RecursiveVisitorStackItemInterface::key() — Method in class RecursiveVisitorStackItemInterface
L
- RecursiveSelectorVisitor::leave() — Method in class RecursiveSelectorVisitor
- RecursiveUnwrapperVisitor::leave() — Method in class RecursiveUnwrapperVisitor
- RecursiveVisitorInterface::leave() — Method in class RecursiveVisitorInterface
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.
- ArrayValuesEqualTo::makeExpectedValues() — Method in class ArrayValuesEqualTo
Creates instance of ValuesInterface to be used as expected values.
- ArrayValuesIdenticalTo::makeComparator() — Method in class ArrayValuesIdenticalTo
Creates instance of IdentityComparator.
- ArrayValuesIdenticalTo::makeSelector() — Method in class ArrayValuesIdenticalTo
Creates instance of ArrayValueSelector.
- ArrayValuesIdenticalTo::makeExpectedValues() — Method in class ArrayValuesIdenticalTo
Creates instance of ValuesInterface to be used as expected values.
- ClassPropertiesEqualTo::makeComparator() — Method in class ClassPropertiesEqualTo
Creates instance of EqualityComparator.
- ClassPropertiesEqualTo::makeSelector() — Method in class ClassPropertiesEqualTo
Creates instance of ClassPropertySelector.
- ClassPropertiesEqualTo::makeExpectedValues() — Method in class ClassPropertiesEqualTo
Creates instance of ValuesInterface to be used as expected values.
- ClassPropertiesIdenticalTo::makeComparator() — Method in class ClassPropertiesIdenticalTo
Creates instance of IdentityComparator.
- ClassPropertiesIdenticalTo::makeSelector() — Method in class ClassPropertiesIdenticalTo
Creates instance of ClassPropertySelector.
- ClassPropertiesIdenticalTo::makeExpectedValues() — Method in class ClassPropertiesIdenticalTo
Creates instance of ValuesInterface to be used as expected values.
- 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.
- ObjectPropertiesEqualTo::makeExpectedValues() — Method in class ObjectPropertiesEqualTo
Creates instance of ValuesInterface to be used as expected values.
- ObjectPropertiesIdenticalTo::makeComparator() — Method in class ObjectPropertiesIdenticalTo
Creates instance of IdentityComparator.
- ObjectPropertiesIdenticalTo::makeSelector() — Method in class ObjectPropertiesIdenticalTo
Creates instance of ObjectPropertySelector.
- ObjectPropertiesIdenticalTo::makeExpectedValues() — Method in class ObjectPropertiesIdenticalTo
Creates instance of ValuesInterface to be used as expected values.
- AbstractConstraint::matches() — Method in class AbstractConstraint
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
- 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.
- RecursiveConstraintSpecializationTrait::makeSelector() — Method in class RecursiveConstraintSpecializationTrait
Creates instance of ValueSelectorInterface.
- RecursiveConstraintSpecializationTrait::makeComparator() — Method in class RecursiveConstraintSpecializationTrait
Creates instance of ComparatorInterface.
- RecursiveConstraintSpecializationTrait::makeExpectedValues() — Method in class RecursiveConstraintSpecializationTrait
Creates instance of ValuesInterface to be used as expected values.
- RecursiveConstraintTestCase::message() — Method in class RecursiveConstraintTestCase
Assembles expected failure message out of pieces.
- RecursiveSelectorVisitor::makeStackItem() — Method in class RecursiveSelectorVisitor
- RecursiveUnwrapperVisitor::makeStackItem() — Method in class RecursiveUnwrapperVisitor
- RecursiveVisitorInterface::makeStackItem() — Method in class RecursiveVisitorInterface
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'.- RecursiveUnwrapperStackItem::node() — Method in class RecursiveUnwrapperStackItem
- RecursiveVisitorStackItemInterface::node() — Method in class RecursiveVisitorStackItemInterface
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.
- ObjectPropertiesTrait — Class in namespace Tailors\PHPUnit
- ObjectPropertiesTrait::objectProperties() — Method in class ObjectPropertiesTrait
Returns an object representing expected array values.
- ObjectPropertiesTestCase — Class in namespace Tailors\PHPUnit\Properties
- ObjectPropertySelector — Class in namespace Tailors\PHPUnit\Selector
P
- TestCase::precedence() — Method in class TestCase
- RecursiveConstraintTestCase::provCreateConstraint() — Method in class RecursiveConstraintTestCase
- AbstractValuesTestCase::provAbstractValues() — Method in class AbstractValuesTestCase
- AbstractValuesTestCase::provAbstractValuesTag() — Method in class AbstractValuesTestCase
R
- ReferenceStorage — Class in namespace Tailors\PHPUnit\Common
- ReferenceStorage::remove() — Method in class ReferenceStorage
- RecursiveConstraintSpecializationTrait — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveConstraintTestCase — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveSelectorState — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveSelectorVisitor — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveSelectorVisitor::result() — Method in class RecursiveSelectorVisitor
- RecursiveTraversal — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveTraversalInterface — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveUnwrapperInterface — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveUnwrapperStackItem — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveUnwrapperStackItem::result() — Method in class RecursiveUnwrapperStackItem
- RecursiveUnwrapperVisitor — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveUnwrapperVisitor::result() — Method in class RecursiveUnwrapperVisitor
- RecursiveVisitorInterface — Class in namespace Tailors\PHPUnit\Recursive
- RecursiveVisitorStackItemInterface — Class in namespace Tailors\PHPUnit\Recursive
- ResultInterface — Class in namespace Tailors\PHPUnit\Result
A constraint evaluation result (either expected, or actual).
S
- AbstractKsortedConstraint::supports() — Method in class AbstractKsortedConstraint
- ShortFailureDescriptionTrait — Class in namespace Tailors\PHPUnit\Common
- StaticTagInterface — Class in namespace Tailors\PHPUnit\Common
An array of actual or expected values.
- 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().
- RecursiveConstraintTestCase::subject() — Method in class RecursiveConstraintTestCase
- RecursiveConstraintTestCase::selectable() — Method in class RecursiveConstraintTestCase
- RecursiveConstraintTestCase::statement() — Method in class RecursiveConstraintTestCase
Assembles a statement which is a part of failure message.
- RecursiveUnwrapperStackItem::set() — Method in class RecursiveUnwrapperStackItem
- 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.
- ObjectPropertySelector::supports() — Method in class ObjectPropertySelector
- ObjectPropertySelector::subject() — Method in class ObjectPropertySelector
A short string naming the subject type supported by this selector.
- 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").
- StringArgumentValidator — Class in namespace Tailors\PHPUnit
T
- AbstractArrayValues::tag() — Method in class AbstractArrayValues
- 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.
- StaticTagInterface::tag() — Method in class StaticTagInterface
- TagInterface — Class in namespace Tailors\PHPUnit\Common
An array of actual or expected values.
- TagInterface::tag() — Method in class TagInterface
- 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.
- MethodSpecInterface::toString() — Method in class MethodSpecInterface
Method specification in human readable form.
- AbstractClassProperties::tag() — Method in class AbstractClassProperties
- AbstractObjectProperties::tag() — Method in class AbstractObjectProperties
- RecursiveConstraintTestCase::testCreateConstraint() — Method in class RecursiveConstraintTestCase
- RecursiveConstraintTestCase::testConstraintUnaryOperatorFailure() — Method in class RecursiveConstraintTestCase
- RecursiveUnwrapperVisitor::tag() — Method in class RecursiveUnwrapperVisitor
Returns random string generated once per process run.
- AbstractGenericValues::tag() — Method in class AbstractGenericValues
- AbstractValuesTestCase::testImplementsValuesInterface() — Method in class AbstractValuesTestCase
- AbstractValuesTestCase::testExtendsArrayObject() — Method in class AbstractValuesTestCase
- AbstractValuesTestCase::testAbstractValues() — Method in class AbstractValuesTestCase
- AbstractValuesTestCase::testAbstractValuesTag() — Method in class AbstractValuesTestCase
- AbstractValuesTestCase::testAbstractValuesCreateActualValues() — Method in class AbstractValuesTestCase
U
- UsesTrait — Class in namespace Tailors\PHPUnit\Constraint
Constraint that accepts classes that extend given class.
- RecursiveUnwrapperInterface::unwrap() — Method in class RecursiveUnwrapperInterface
- UsesTraitTrait — Class in namespace Tailors\PHPUnit
- UsesTraitTrait::usesTrait() — Method in class UsesTraitTrait
Checks objects (an classes) that they use given $trait.
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
- RecursiveConstraintSpecializationTrait::validateExpectations() — Method in class RecursiveConstraintSpecializationTrait
- RecursiveSelectorVisitor::visit() — Method in class RecursiveSelectorVisitor
- RecursiveUnwrapperVisitor::visit() — Method in class RecursiveUnwrapperVisitor
- RecursiveVisitorInterface::visit() — Method in class RecursiveVisitorInterface
- ValueSelectorInterface — Class in namespace Tailors\PHPUnit\Selector
- ValueSelectorWrapperInterface — Class in namespace Tailors\PHPUnit\Selector
- StringArgumentValidator::validate() — Method in class StringArgumentValidator
- ValuesInterface — Class in namespace Tailors\PHPUnit\Values
An array of values.
- ValuesWrapperInterface — Class in namespace Tailors\PHPUnit\Values
W
- TestCase::wrapWithUnaryOperator() — Method in class TestCase
Returns $constraint wrapped with an UnaryOperator.
- RecursiveTraversal::walk() — Method in class RecursiveTraversal
Walk recursively through $values and unwrap nested instances of ValuesInterface when suitable.
- RecursiveTraversalInterface::walk() — Method in class RecursiveTraversalInterface
_
- AbstractArrayValues::__construct() — Method in class AbstractArrayValues
- AbstractKsortedConstraint::__construct() — Method in class AbstractKsortedConstraint
- ReferenceStorage::__construct() — Method in class ReferenceStorage
- HasMethod::__construct() — Method in class HasMethod
- TestCase::__construct() — Method in class TestCase
- AbstractConstraint::__construct() — Method in class AbstractConstraint
Initializes the constraint.
- AbstractClassProperties::__construct() — Method in class AbstractClassProperties
- AbstractObjectProperties::__construct() — Method in class AbstractObjectProperties
- RecursiveSelectorState::__construct() — Method in class RecursiveSelectorState
- RecursiveSelectorVisitor::__construct() — Method in class RecursiveSelectorVisitor
- RecursiveTraversal::__construct() — Method in class RecursiveTraversal
Initializes the object.
- RecursiveUnwrapperStackItem::__construct() — Method in class RecursiveUnwrapperStackItem
- RecursiveUnwrapperVisitor::__construct() — Method in class RecursiveUnwrapperVisitor
- StringArgumentValidator::__construct() — Method in class StringArgumentValidator
- AbstractGenericValues::__construct() — Method in class AbstractGenericValues
- AbstractValues::__construct() — Method in class AbstractValues