\PHPUnit_Framework_IncompleteTestCase
An incomplete test case
- Author: Davey Shafik <me@daveyshafik.com>
- Copyright: 2001-2014 Sebastian Bergmann <sebastian@phpunit.de>
- License: http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
Synopsis
- // members
- protected string $message;
- protected boolean $backupGlobals;
- protected boolean $backupStaticAttributes;
- protected boolean $runTestInSeparateProcess;
- protected boolean $useErrorHandler;
- protected boolean $useOutputBuffering;
- // Inherited members from PHPUnit_Framework_TestCase
- protected boolean $backupGlobals;
- protected array $backupGlobalsBlacklist;
- protected boolean $backupStaticAttributes;
- protected array $backupStaticAttributesBlacklist;
- protected boolean $runTestInSeparateProcess;
- protected boolean $preserveGlobalState;
- // methods
- public void __construct()
- protected void runTest()
- public string getMessage()
- public string toString()
- // Inherited methods from PHPUnit_Framework_TestCase
- public void __construct()
- public string toString()
- public integer count()
- public array getAnnotations()
- public string getName()
- public integer getSize()
- public string getActualOutput()
- public boolean hasOutput()
- public void expectOutputRegex()
- public void expectOutputString()
- public bool hasPerformedExpectationsOnOutput()
- public string getExpectedException()
- public void setExpectedException()
- public void setExpectedExceptionRegExp()
- protected void setExpectedExceptionFromAnnotation()
- public void setUseErrorHandler()
- protected void setUseErrorHandlerFromAnnotation()
- protected void checkRequirements()
- public integer getStatus()
- public string getStatusMessage()
- public boolean hasFailed()
- public PHPUnit_Framework_TestResult run()
- public void runBare()
- protected mixed runTest()
- protected void verifyMockObjects()
- public void setName()
- public void setDependencies()
- public boolean hasDependencies()
- public void setDependencyInput()
- public void setBackupGlobals()
- public void setBackupStaticAttributes()
- public void setRunTestInSeparateProcess()
- public void setPreserveGlobalState()
- public void setInIsolation()
- public boolean isInIsolation()
- public mixed getResult()
- public void setResult()
- public void setOutputCallback()
- public PHPUnit_Framework_TestResult getTestResultObject()
- public void setTestResultObject()
- protected void iniSet()
- protected void setLocale()
- public PHPUnit_Framework_MockObject_MockObject getMock()
- public PHPUnit_Framework_MockObject_MockBuilder getMockBuilder()
- protected string getMockClass()
- public PHPUnit_Framework_MockObject_MockObject getMockForAbstractClass()
- protected PHPUnit_Framework_MockObject_MockObject getMockFromWsdl()
- public PHPUnit_Framework_MockObject_MockObject getMockForTrait()
- protected getObjectForTrait()
- public void addToAssertionCount()
- public integer getNumAssertions()
- public static PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount any()
- public static PHPUnit_Framework_MockObject_Matcher_InvokedCount never()
- public static PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount atLeast()
- public static PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce atLeastOnce()
- public static PHPUnit_Framework_MockObject_Matcher_InvokedCount once()
- public static PHPUnit_Framework_MockObject_Matcher_InvokedCount exactly()
- public static PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount atMost()
- public static PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex at()
- public static PHPUnit_Framework_MockObject_Stub_Return returnValue()
- public static PHPUnit_Framework_MockObject_Stub_ReturnValueMap returnValueMap()
- public static PHPUnit_Framework_MockObject_Stub_ReturnArgument returnArgument()
- public static PHPUnit_Framework_MockObject_Stub_ReturnCallback returnCallback()
- public static PHPUnit_Framework_MockObject_Stub_ReturnSelf returnSelf()
- public static PHPUnit_Framework_MockObject_Stub_Exception throwException()
- public static PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls onConsecutiveCalls()
- protected string dataToString()
- protected string getDataSetAsString()
- protected PHPUnit_Framework_TestResult createResult()
- protected void handleDependencies()
- public static void setUpBeforeClass()
- protected void setUp()
- protected void assertPreConditions()
- protected void assertPostConditions()
- protected void tearDown()
- public static void tearDownAfterClass()
- protected void onNotSuccessfulTest()
- protected void prepareTemplate()
- protected PHPUnit_Framework_MockObject_Generator getMockObjectGenerator()
- // Inherited methods from PHPUnit_Framework_Assert
- public static void assertArrayHasKey()
- public static void assertArraySubset()
- public static void assertArrayNotHasKey()
- public static void assertContains()
- public static void assertAttributeContains()
- public static void assertNotContains()
- public static void assertAttributeNotContains()
- public static void assertContainsOnly()
- public static void assertContainsOnlyInstancesOf()
- public static void assertAttributeContainsOnly()
- public static void assertNotContainsOnly()
- public static void assertAttributeNotContainsOnly()
- public static void assertCount()
- public static void assertAttributeCount()
- public static void assertNotCount()
- public static void assertAttributeNotCount()
- public static void assertEquals()
- public static void assertAttributeEquals()
- public static void assertNotEquals()
- public static void assertAttributeNotEquals()
- public static void assertEmpty()
- public static void assertAttributeEmpty()
- public static void assertNotEmpty()
- public static void assertAttributeNotEmpty()
- public static void assertGreaterThan()
- public static void assertAttributeGreaterThan()
- public static void assertGreaterThanOrEqual()
- public static void assertAttributeGreaterThanOrEqual()
- public static void assertLessThan()
- public static void assertAttributeLessThan()
- public static void assertLessThanOrEqual()
- public static void assertAttributeLessThanOrEqual()
- public static void assertFileEquals()
- public static void assertFileNotEquals()
- public static void assertStringEqualsFile()
- public static void assertStringNotEqualsFile()
- public static void assertFileExists()
- public static void assertFileNotExists()
- public static void assertTrue()
- public static void assertNotTrue()
- public static void assertFalse()
- public static void assertNotFalse()
- public static void assertNotNull()
- public static void assertNull()
- public static void assertClassHasAttribute()
- public static void assertClassNotHasAttribute()
- public static void assertClassHasStaticAttribute()
- public static void assertClassNotHasStaticAttribute()
- public static void assertObjectHasAttribute()
- public static void assertObjectNotHasAttribute()
- public static void assertSame()
- public static void assertAttributeSame()
- public static void assertNotSame()
- public static void assertAttributeNotSame()
- public static void assertInstanceOf()
- public static void assertAttributeInstanceOf()
- public static void assertNotInstanceOf()
- public static void assertAttributeNotInstanceOf()
- public static void assertInternalType()
- public static void assertAttributeInternalType()
- public static void assertNotInternalType()
- public static void assertAttributeNotInternalType()
- public static void assertRegExp()
- public static void assertNotRegExp()
- public static void assertSameSize()
- public static void assertNotSameSize()
- public static void assertStringMatchesFormat()
- public static void assertStringNotMatchesFormat()
- public static void assertStringMatchesFormatFile()
- public static void assertStringNotMatchesFormatFile()
- public static void assertStringStartsWith()
- public static void assertStringStartsNotWith()
- public static void assertStringEndsWith()
- public static void assertStringEndsNotWith()
- public static void assertXmlFileEqualsXmlFile()
- public static void assertXmlFileNotEqualsXmlFile()
- public static void assertXmlStringEqualsXmlFile()
- public static void assertXmlStringNotEqualsXmlFile()
- public static void assertXmlStringEqualsXmlString()
- public static void assertXmlStringNotEqualsXmlString()
- public static void assertEqualXMLStructure()
- public static void assertSelectCount()
- public static void assertSelectRegExp()
- public static void assertSelectEquals()
- public static void assertTag()
- public static void assertNotTag()
- public static void assertThat()
- public static void assertJson()
- public static void assertJsonStringEqualsJsonString()
- public static void assertJsonStringNotEqualsJsonString()
- public static void assertJsonStringEqualsJsonFile()
- public static void assertJsonStringNotEqualsJsonFile()
- public static void assertJsonFileNotEqualsJsonFile()
- public static void assertJsonFileEqualsJsonFile()
- public static PHPUnit_Framework_Constraint_And logicalAnd()
- public static PHPUnit_Framework_Constraint_Or logicalOr()
- public static PHPUnit_Framework_Constraint_Not logicalNot()
- public static PHPUnit_Framework_Constraint_Xor logicalXor()
- public static PHPUnit_Framework_Constraint_IsAnything anything()
- public static PHPUnit_Framework_Constraint_IsTrue isTrue()
- public static PHPUnit_Framework_Constraint_Callback callback()
- public static PHPUnit_Framework_Constraint_IsFalse isFalse()
- public static PHPUnit_Framework_Constraint_IsJson isJson()
- public static PHPUnit_Framework_Constraint_IsNull isNull()
- public static PHPUnit_Framework_Constraint_Attribute attribute()
- public static PHPUnit_Framework_Constraint_TraversableContains contains()
- public static PHPUnit_Framework_Constraint_TraversableContainsOnly containsOnly()
- public static PHPUnit_Framework_Constraint_TraversableContainsOnly containsOnlyInstancesOf()
- public static PHPUnit_Framework_Constraint_ArrayHasKey arrayHasKey()
- public static PHPUnit_Framework_Constraint_IsEqual equalTo()
- public static PHPUnit_Framework_Constraint_Attribute attributeEqualTo()
- public static PHPUnit_Framework_Constraint_IsEmpty isEmpty()
- public static PHPUnit_Framework_Constraint_FileExists fileExists()
- public static PHPUnit_Framework_Constraint_GreaterThan greaterThan()
- public static PHPUnit_Framework_Constraint_Or greaterThanOrEqual()
- public static PHPUnit_Framework_Constraint_ClassHasAttribute classHasAttribute()
- public static PHPUnit_Framework_Constraint_ClassHasStaticAttribute classHasStaticAttribute()
- public static PHPUnit_Framework_Constraint_ObjectHasAttribute objectHasAttribute()
- public static PHPUnit_Framework_Constraint_IsIdentical identicalTo()
- public static PHPUnit_Framework_Constraint_IsInstanceOf isInstanceOf()
- public static PHPUnit_Framework_Constraint_IsType isType()
- public static PHPUnit_Framework_Constraint_LessThan lessThan()
- public static PHPUnit_Framework_Constraint_Or lessThanOrEqual()
- public static PHPUnit_Framework_Constraint_PCREMatch matchesRegularExpression()
- public static PHPUnit_Framework_Constraint_StringMatches matches()
- public static PHPUnit_Framework_Constraint_StringStartsWith stringStartsWith()
- public static PHPUnit_Framework_Constraint_StringContains stringContains()
- public static PHPUnit_Framework_Constraint_StringEndsWith stringEndsWith()
- public static PHPUnit_Framework_Constraint_Count countOf()
- public static void fail()
- public static mixed readAttribute()
- public static mixed getStaticAttribute()
- public static mixed getObjectAttribute()
- public static void markTestIncomplete()
- public static void markTestSkipped()
- public static integer getCount()
- public static void resetCount()
Hierarchy
Extends
Members
protected
- $backupGlobals — boolean
- $backupGlobals
—
boolean
Enable or disable the backup and restoration of the $GLOBALS array. - $backupGlobalsBlacklist — array
- $backupStaticAttributes — boolean
- $backupStaticAttributes
—
boolean
Enable or disable the backup and restoration of static attributes. - $backupStaticAttributesBlacklist — array
- $message — string
- $preserveGlobalState
—
boolean
Whether or not this test should preserve the global state when running in a separate PHP process. - $runTestInSeparateProcess — boolean
- $runTestInSeparateProcess
—
boolean
Whether or not this test is to be run in a separate PHP process. - $useErrorHandler — boolean
- $useOutputBuffering — boolean
Methods
protected
public
- __construct()
- getMessage()
- toString() — Returns a string representation of the test case.
Inherited from PHPUnit_Framework_TestCase
protected
- assertPostConditions() — Performs assertions shared by all tests of a test case.
- assertPreConditions() — Performs assertions shared by all tests of a test case.
- checkRequirements()
- createResult() — Creates a default TestResult object.
- dataToString()
- getDataSetAsString() — Gets the data set description of a TestCase.
- getMockClass() — Mocks the specified class and returns the name of the mocked class.
- getMockFromWsdl() — Returns a mock object based on the given WSDL file.
- getMockObjectGenerator() — Get the mock object generator, creating it if it doesn't exist.
- getObjectForTrait() — Returns an object for the specified trait.
- handleDependencies()
- iniSet() — This method is a wrapper for the ini_set() function that automatically resets the modified php.ini setting to its original value after the test is run.
- onNotSuccessfulTest() — This method is called when a test method did not execute successfully.
- prepareTemplate() — Performs custom preparations on the process isolation template.
- runTest() — Override to run the test and assert its state.
- setExpectedExceptionFromAnnotation()
- setLocale() — This method is a wrapper for the setlocale() function that automatically resets the locale to its original value after the test is run.
- setUp() — Sets up the fixture, for example, open a network connection.
- setUseErrorHandlerFromAnnotation()
- tearDown() — Tears down the fixture, for example, close a network connection.
- verifyMockObjects() — Verifies the mock object expectations.
public
- addToAssertionCount() — Adds a value to the assertion counter.
- any() — Returns a matcher that matches when the method it is evaluated for is executed zero or more times.
- at() — Returns a matcher that matches when the method it is evaluated for is invoked at the given $index.
- atLeast() — Returns a matcher that matches when the method it is evaluated for is executed at least N times.
- atLeastOnce() — Returns a matcher that matches when the method it is evaluated for is executed at least once.
- atMost() — Returns a matcher that matches when the method it is evaluated for is executed at most N times.
- count() — Counts the number of test cases executed by run(TestResult result).
- exactly() — Returns a matcher that matches when the method it is evaluated for is executed exactly $count times.
- expectOutputRegex()
- expectOutputString()
- getActualOutput()
- getAnnotations() — Returns the annotations for this test.
- getExpectedException()
- getMock() — Returns a mock object for the specified class.
- getMockBuilder() — Returns a builder object to create mock objects using a fluent interface.
- getMockForAbstractClass() — Returns a mock object for the specified abstract class with all abstract methods of the class mocked. Concrete methods are not mocked by default.
- getMockForTrait() — Returns a mock object for the specified trait with all abstract methods of the trait mocked. Concrete methods to mock can be specified with the `$mockedMethods` parameter.
- getName() — Gets the name of a TestCase.
- getNumAssertions() — Returns the number of assertions performed by this test.
- getResult()
- getSize() — Returns the size of the test.
- getStatus() — Returns the status of this test.
- getStatusMessage() — Returns the status message of this test.
- getTestResultObject()
- hasDependencies() — Returns true if the tests has dependencies
- hasFailed() — Returns whether or not this test has failed.
- hasOutput()
- hasPerformedExpectationsOnOutput()
- isInIsolation()
- never() — Returns a matcher that matches when the method it is evaluated for is never executed.
- onConsecutiveCalls()
- once() — Returns a matcher that matches when the method it is evaluated for is executed exactly once.
- returnArgument()
- returnCallback()
- returnSelf() — Returns the current object.
- returnValue()
- returnValueMap()
- run() — Runs the test case and collects the results in a TestResult object.
- runBare() — Runs the bare test sequence.
- setBackupGlobals() — Calling this method in setUp() has no effect!
- setBackupStaticAttributes() — Calling this method in setUp() has no effect!
- setDependencies() — Sets the dependencies of a TestCase.
- setDependencyInput() — Sets
- setExpectedException()
- setExpectedExceptionRegExp()
- setInIsolation()
- setName() — Sets the name of a TestCase.
- setOutputCallback()
- setPreserveGlobalState()
- setResult()
- setRunTestInSeparateProcess()
- setTestResultObject()
- setUpBeforeClass() — This method is called before the first test of this test class is run.
- setUseErrorHandler()
- tearDownAfterClass() — This method is called after the last test of this test class is run.
- throwException()
- toString() — Returns a string representation of the test case.
Inherited from PHPUnit_Framework_Assert
public
- anything() — Returns a PHPUnit_Framework_Constraint_IsAnything matcher object.
- arrayHasKey() — Returns a PHPUnit_Framework_Constraint_ArrayHasKey matcher object.
- assertArrayHasKey() — Asserts that an array has a specified key.
- assertArrayNotHasKey() — Asserts that an array does not have a specified key.
- assertArraySubset() — Asserts that an array has a specified subset.
- assertAttributeContains() — Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains a needle.
- assertAttributeContainsOnly() — Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type.
- assertAttributeCount() — Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
- assertAttributeEmpty() — Asserts that a static attribute of a class or an attribute of an object is empty.
- assertAttributeEquals() — Asserts that a variable is equal to an attribute of an object.
- assertAttributeGreaterThan() — Asserts that an attribute is greater than another value.
- assertAttributeGreaterThanOrEqual() — Asserts that an attribute is greater than or equal to another value.
- assertAttributeInstanceOf() — Asserts that an attribute is of a given type.
- assertAttributeInternalType() — Asserts that an attribute is of a given type.
- assertAttributeLessThan() — Asserts that an attribute is smaller than another value.
- assertAttributeLessThanOrEqual() — Asserts that an attribute is smaller than or equal to another value.
- assertAttributeNotContains() — Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain a needle.
- assertAttributeNotContainsOnly() — Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain only values of a given type.
- assertAttributeNotCount() — Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
- assertAttributeNotEmpty() — Asserts that a static attribute of a class or an attribute of an object is not empty.
- assertAttributeNotEquals() — Asserts that a variable is not equal to an attribute of an object.
- assertAttributeNotInstanceOf() — Asserts that an attribute is of a given type.
- assertAttributeNotInternalType() — Asserts that an attribute is of a given type.
- assertAttributeNotSame() — Asserts that a variable and an attribute of an object do not have the same type and value.
- assertAttributeSame() — Asserts that a variable and an attribute of an object have the same type and value.
- assertClassHasAttribute() — Asserts that a class has a specified attribute.
- assertClassHasStaticAttribute() — Asserts that a class has a specified static attribute.
- assertClassNotHasAttribute() — Asserts that a class does not have a specified attribute.
- assertClassNotHasStaticAttribute() — Asserts that a class does not have a specified static attribute.
- assertContains() — Asserts that a haystack contains a needle.
- assertContainsOnly() — Asserts that a haystack contains only values of a given type.
- assertContainsOnlyInstancesOf() — Asserts that a haystack contains only instances of a given classname
- assertCount() — Asserts the number of elements of an array, Countable or Traversable.
- assertEmpty() — Asserts that a variable is empty.
- assertEqualXMLStructure() — Asserts that a hierarchy of DOMElements matches.
- assertEquals() — Asserts that two variables are equal.
- assertFalse() — Asserts that a condition is false.
- assertFileEquals() — Asserts that the contents of one file is equal to the contents of another file.
- assertFileExists() — Asserts that a file exists.
- assertFileNotEquals() — Asserts that the contents of one file is not equal to the contents of another file.
- assertFileNotExists() — Asserts that a file does not exist.
- assertGreaterThan() — Asserts that a value is greater than another value.
- assertGreaterThanOrEqual() — Asserts that a value is greater than or equal to another value.
- assertInstanceOf() — Asserts that a variable is of a given type.
- assertInternalType() — Asserts that a variable is of a given type.
- assertJson() — Asserts that a string is a valid JSON string.
- assertJsonFileEqualsJsonFile() — Asserts that two JSON files are equal.
- assertJsonFileNotEqualsJsonFile() — Asserts that two JSON files are not equal.
- assertJsonStringEqualsJsonFile() — Asserts that the generated JSON encoded object and the content of the given file are equal.
- assertJsonStringEqualsJsonString() — Asserts that two given JSON encoded objects or arrays are equal.
- assertJsonStringNotEqualsJsonFile() — Asserts that the generated JSON encoded object and the content of the given file are not equal.
- assertJsonStringNotEqualsJsonString() — Asserts that two given JSON encoded objects or arrays are not equal.
- assertLessThan() — Asserts that a value is smaller than another value.
- assertLessThanOrEqual() — Asserts that a value is smaller than or equal to another value.
- assertNotContains() — Asserts that a haystack does not contain a needle.
- assertNotContainsOnly() — Asserts that a haystack does not contain only values of a given type.
- assertNotCount() — Asserts the number of elements of an array, Countable or Traversable.
- assertNotEmpty() — Asserts that a variable is not empty.
- assertNotEquals() — Asserts that two variables are not equal.
- assertNotFalse() — Asserts that a condition is not false.
- assertNotInstanceOf() — Asserts that a variable is not of a given type.
- assertNotInternalType() — Asserts that a variable is not of a given type.
- assertNotNull() — Asserts that a variable is not null.
- assertNotRegExp() — Asserts that a string does not match a given regular expression.
- assertNotSame() — Asserts that two variables do not have the same type and value.
- assertNotSameSize() — Assert that the size of two arrays (or `Countable` or `Traversable` objects) is not the same.
- assertNotTag() — This assertion is the exact opposite of assertTag().
- assertNotTrue() — Asserts that a condition is not true.
- assertNull() — Asserts that a variable is null.
- assertObjectHasAttribute() — Asserts that an object has a specified attribute.
- assertObjectNotHasAttribute() — Asserts that an object does not have a specified attribute.
- assertRegExp() — Asserts that a string matches a given regular expression.
- assertSame() — Asserts that two variables have the same type and value.
- assertSameSize() — Assert that the size of two arrays (or `Countable` or `Traversable` objects) is the same.
- assertSelectCount() — Assert the presence, absence, or count of elements in a document matching the CSS $selector, regardless of the contents of those elements.
- assertSelectEquals() — assertSelectEquals("#binder .name", "Chuck", true, $xml); // any? assertSelectEquals("#binder .name", "Chuck", false, $xml); // none?
- assertSelectRegExp() — assertSelectRegExp("#binder .name", "/Mike|Derek/", true, $xml); // any? assertSelectRegExp("#binder .name", "/Mike|Derek/", 3, $xml); // 3?
- assertStringEndsNotWith() — Asserts that a string ends not with a given suffix.
- assertStringEndsWith() — Asserts that a string ends with a given suffix.
- assertStringEqualsFile() — Asserts that the contents of a string is equal to the contents of a file.
- assertStringMatchesFormat() — Asserts that a string matches a given format string.
- assertStringMatchesFormatFile() — Asserts that a string matches a given format file.
- assertStringNotEqualsFile() — Asserts that the contents of a string is not equal to the contents of a file.
- assertStringNotMatchesFormat() — Asserts that a string does not match a given format string.
- assertStringNotMatchesFormatFile() — Asserts that a string does not match a given format string.
- assertStringStartsNotWith() — Asserts that a string starts not with a given prefix.
- assertStringStartsWith() — Asserts that a string starts with a given prefix.
- assertTag() — Evaluate an HTML or XML string and assert its structure and/or contents.
- assertThat() — Evaluates a PHPUnit_Framework_Constraint matcher object.
- assertTrue() — Asserts that a condition is true.
- assertXmlFileEqualsXmlFile() — Asserts that two XML files are equal.
- assertXmlFileNotEqualsXmlFile() — Asserts that two XML files are not equal.
- assertXmlStringEqualsXmlFile() — Asserts that two XML documents are equal.
- assertXmlStringEqualsXmlString() — Asserts that two XML documents are equal.
- assertXmlStringNotEqualsXmlFile() — Asserts that two XML documents are not equal.
- assertXmlStringNotEqualsXmlString() — Asserts that two XML documents are not equal.
- attribute() — Returns a PHPUnit_Framework_Constraint_Attribute matcher object.
- attributeEqualTo() — Returns a PHPUnit_Framework_Constraint_IsEqual matcher object that is wrapped in a PHPUnit_Framework_Constraint_Attribute matcher object.
- callback() — Returns a PHPUnit_Framework_Constraint_Callback matcher object.
- classHasAttribute() — Returns a PHPUnit_Framework_Constraint_ClassHasAttribute matcher object.
- classHasStaticAttribute() — Returns a PHPUnit_Framework_Constraint_ClassHasStaticAttribute matcher object.
- contains() — Returns a PHPUnit_Framework_Constraint_TraversableContains matcher object.
- containsOnly() — Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
- containsOnlyInstancesOf() — Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
- countOf() — Returns a PHPUnit_Framework_Constraint_Count matcher object.
- equalTo() — Returns a PHPUnit_Framework_Constraint_IsEqual matcher object.
- fail() — Fails a test with the given message.
- fileExists() — Returns a PHPUnit_Framework_Constraint_FileExists matcher object.
- getCount() — Return the current assertion count.
- getObjectAttribute() — Returns the value of an object's attribute.
- getStaticAttribute() — Returns the value of a static attribute.
- greaterThan() — Returns a PHPUnit_Framework_Constraint_GreaterThan matcher object.
- greaterThanOrEqual() — Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_GreaterThan matcher object.
- identicalTo() — Returns a PHPUnit_Framework_Constraint_IsIdentical matcher object.
- isEmpty() — Returns a PHPUnit_Framework_Constraint_IsEmpty matcher object.
- isFalse() — Returns a PHPUnit_Framework_Constraint_IsFalse matcher object.
- isInstanceOf() — Returns a PHPUnit_Framework_Constraint_IsInstanceOf matcher object.
- isJson() — Returns a PHPUnit_Framework_Constraint_IsJson matcher object.
- isNull() — Returns a PHPUnit_Framework_Constraint_IsNull matcher object.
- isTrue() — Returns a PHPUnit_Framework_Constraint_IsTrue matcher object.
- isType() — Returns a PHPUnit_Framework_Constraint_IsType matcher object.
- lessThan() — Returns a PHPUnit_Framework_Constraint_LessThan matcher object.
- lessThanOrEqual() — Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_LessThan matcher object.
- logicalAnd() — Returns a PHPUnit_Framework_Constraint_And matcher object.
- logicalNot() — Returns a PHPUnit_Framework_Constraint_Not matcher object.
- logicalOr() — Returns a PHPUnit_Framework_Constraint_Or matcher object.
- logicalXor() — Returns a PHPUnit_Framework_Constraint_Xor matcher object.
- markTestIncomplete() — Mark the test as incomplete.
- markTestSkipped() — Mark the test as skipped.
- matches() — Returns a PHPUnit_Framework_Constraint_StringMatches matcher object.
- matchesRegularExpression() — Returns a PHPUnit_Framework_Constraint_PCREMatch matcher object.
- objectHasAttribute() — Returns a PHPUnit_Framework_Constraint_ObjectHasAttribute matcher object.
- readAttribute() — Returns the value of an attribute of a class or an object.
- resetCount() — Reset the assertion counter.
- stringContains() — Returns a PHPUnit_Framework_Constraint_StringContains matcher object.
- stringEndsWith() — Returns a PHPUnit_Framework_Constraint_StringEndsWith matcher object.
- stringStartsWith() — Returns a PHPUnit_Framework_Constraint_StringStartsWith matcher object.
History
-
2014-08-17T09:59:50+02:00 (commit #f40b290)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix @since annotations
-
2014-07-22T00:48:47+02:00 (commit #dcfd677)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Cleanup 185b7ae.
-
2014-07-22T00:31:57+02:00 (commit #185b7ae)
Author: Davey Shafik (me@daveyshafik.com) / Commiter: Davey Shafik (me@daveyshafik.com)
Allow markTestSkipped/Incomplete() in dataProvider - If you call `$this->markTestSkipped()` or `$this->markTestIncomplete()` in a dataProvider, it will now skip/incomplete the test, counting it as one test
-
2014-01-22T19:43:07+01:00 (commit #02b42d7)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Initial work on formatting code according to PSR-2
-
2014-01-20T17:21:13+01:00 (commit #3a5808f)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Cleanup
-
2014-01-09T08:11:47+01:00 (commit #205e008)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year
-
2013-09-04T06:29:36+02:00 (commit #c07b181)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Fixes #991 Removed: * `@outputBuffering` * `PHPUnit_Framework_TestCase::setUseOutputBuffering()` * `PHPUnit_Util_Test::getOutputBufferingSettings()`
-
2013-01-07T11:37:52+01:00 (commit #c517984)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year
-
2012-09-24T06:47:44+02:00 (commit #81ab540)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Do not perform string replacement for @package_version@ anymore.
-
2012-04-30T12:02:38+02:00 (commit #5786e50)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
List The BSD 3-Clause License correctly and consistently. Thanks to Christian Aistleitner <christian@quelltextlich.at> for bringing this issue to my attention.
-
2012-01-01T11:21:16+01:00 (commit #aae6c38)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2011-12-27T10:21:52+01:00 (commit #37cacc9)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
PHPUnit no longer throws exceptions that do not extend PHPUnit_Framework_Exception.
-
2010-12-31T11:45:34+01:00 (commit #bee3344)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2010-08-17T06:10:07+02:00 (commit #7835ab2)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix whitespace.
-
2010-08-17T06:09:35+02:00 (commit #12713ff)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Close #7.
-
2010-07-07T12:42:23+02:00 (commit #f0d9cdd)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Change email address.
-
2010-06-12T20:25:54+02:00 (commit #d19a737)
Author: Mark Story (mark@mark-story.com) / Commiter: Mark Story (mark@mark-story.com)
Removing trailing whitespace from files. Refs #1063
-
2010-04-05T17:41:26+02:00 (commit #471d69e)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Add @subpackage annotation.
-
2010-02-02T14:14:29+01:00 (commit #bc1aaaa)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove closing PHP tags.
-
2010-01-19T09:39:03+01:00 (commit #fb48a69)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Initial work on autoloading.
-
2009-12-31T09:26:09+01:00 (commit #37f75ff)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2009-12-31T09:25:53+01:00 (commit #bddcc5f)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2009-12-31T09:23:37+01:00 (commit #7a7d0b7)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2009-12-25T10:32:26+01:00 (commit #60e7125)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove Subversion keywords.
-
2009-12-25T10:30:57+01:00 (commit #42294ad)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove Subversion keywords.
-
2009-12-25T10:26:35+01:00 (commit #8617133)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove Subversion keywords.
-
2009-11-23T09:39:24+01:00 (commit #1503412)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [5389].
-
2009-11-23T09:29:23+01:00 (commit #4c9cf4e)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Initial work on PHP_CodeCoverage migration.
-
2009-08-29T07:48:59+02:00 (commit #d2f7448)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [4132].
-
2009-03-28T12:55:12+01:00 (commit #35fda23)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [4741].
-
2009-03-28T12:54:26+01:00 (commit #aa763bf)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Change how test case names are displayed.
-
2009-03-01T16:29:08+01:00 (commit #21a5cc6)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [4698], [4699], and [4700].
-
2009-03-01T00:17:17+01:00 (commit #b3d3eb5)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Revise [4674].
-
2009-02-26T07:00:55+01:00 (commit #6105eaa)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [4687].
-
2009-02-26T07:00:01+01:00 (commit #0944b45)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Support input from multiple dependencies.
-
2009-02-25T11:19:22+01:00 (commit #0568e0e)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [4674].
-
2009-02-25T11:17:13+01:00 (commit #bc67dd8)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Implement fixture reuse based on test dependencies.
-
2008-12-31T10:26:51+01:00 (commit #a899cb2)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [4402].
-
2008-12-31T10:25:57+01:00 (commit #4b26cea)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2008-11-24T19:09:29+01:00 (commit #4087880)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Do not conditionally declare classes.
-
2008-06-08T14:22:29+02:00 (commit #191a5d5)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [3160].
-
2008-06-08T14:03:37+02:00 (commit #9d9b5e3)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Drop superfluous annotations.
-
2007-12-26T19:11:55+01:00 (commit #1bba1cc)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2007-12-26T19:11:04+01:00 (commit #58121cf)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2007-10-13T17:53:53+02:00 (commit #675e9df)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [1391].
-
2007-10-12T21:54:16+02:00 (commit #aeb4895)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [1389].
-
2007-09-29T12:56:13+02:00 (commit #8feea89)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [1361].
-
2007-02-24T07:58:18+01:00 (commit #203ee10)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fugbix typo.
-
2007-02-24T07:58:18+01:00 (commit #ae2a7c2)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fugbix typo.
-
2006-12-24T18:50:40+01:00 (commit #0189be1)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump year.
-
2006-09-24T18:38:00+02:00 (commit #2b70970)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Add getMessage().
-
2006-09-20T11:57:47+02:00 (commit #940d55f)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Do not trigger __autoload() for class_exists().
-
2006-09-11T09:20:41+02:00 (commit #75e12fb)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
No longer needed.
-
2006-08-13T10:57:58+02:00 (commit #3cd6a25)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Whitespace fixes.
-
2006-07-06T11:50:42+02:00 (commit #dacd2f1)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Leftover: PHPUnit2 -> PHPUnit.
-
2006-06-30T10:38:41+02:00 (commit #210b621)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Make it easier to use a checkout of the trunk.
-
2006-06-29T20:56:08+02:00 (commit #6b0d2d5)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Post-PEAR cleanup, phase one: PHPUnit2_* -> PHPUnit_*, pear.php.net -> phpunit.de, etc.
-
2006-06-29T16:58:01+02:00 (commit #8b8c705)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Recreate trunk.