Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update tests.

  • Loading branch information...
commit 6d083104fc7c996d2f37abe37e11286afb1b0935 1 parent 8b5044f
@sebastianbergmann authored
Showing with 90 additions and 0 deletions.
  1. +5 −0 PHPUnit/Tests/Framework/MockObject/class.phpt
  2. +5 −0 PHPUnit/Tests/Framework/MockObject/class_call_parent_clone.phpt
  3. +5 −0 PHPUnit/Tests/Framework/MockObject/class_call_parent_constructor.phpt
  4. +5 −0 PHPUnit/Tests/Framework/MockObject/class_dont_call_parent_clone.phpt
  5. +5 −0 PHPUnit/Tests/Framework/MockObject/class_dont_call_parent_constructor.phpt
  6. +5 −0 PHPUnit/Tests/Framework/MockObject/class_implementing_interface_call_parent_constructor.phpt
  7. +5 −0 PHPUnit/Tests/Framework/MockObject/class_implementing_interface_dont_call_parent_constructor.phpt
  8. +5 −0 PHPUnit/Tests/Framework/MockObject/class_partial.phpt
  9. +5 −0 PHPUnit/Tests/Framework/MockObject/interface.phpt
  10. +5 −0 PHPUnit/Tests/Framework/MockObject/namespaced_class.phpt
  11. +5 −0 PHPUnit/Tests/Framework/MockObject/namespaced_class_call_parent_clone.phpt
  12. +5 −0 PHPUnit/Tests/Framework/MockObject/namespaced_class_call_parent_constructor.phpt
  13. +5 −0 PHPUnit/Tests/Framework/MockObject/namespaced_class_dont_call_parent_clone.phpt
  14. +5 −0 PHPUnit/Tests/Framework/MockObject/namespaced_class_dont_call_parent_constructor.phpt
  15. +5 −0 PHPUnit/Tests/Framework/MockObject/namespaced_class_implementing_interface_call_parent_constructor.phpt
  16. +5 −0 PHPUnit/Tests/Framework/MockObject/namespaced_class_implementing_interface_dont_call_parent_constructor.phpt
  17. +5 −0 PHPUnit/Tests/Framework/MockObject/namespaced_class_partial.phpt
  18. +5 −0 PHPUnit/Tests/Framework/MockObject/namespaced_interface.phpt
View
5 PHPUnit/Tests/Framework/MockObject/class.phpt
@@ -79,4 +79,9 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/class_call_parent_clone.phpt
@@ -49,5 +49,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/class_call_parent_constructor.phpt
@@ -48,5 +48,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/class_dont_call_parent_clone.phpt
@@ -48,5 +48,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/class_dont_call_parent_constructor.phpt
@@ -48,5 +48,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/class_implementing_interface_call_parent_constructor.phpt
@@ -53,5 +53,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/class_implementing_interface_dont_call_parent_constructor.phpt
@@ -53,5 +53,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/class_partial.phpt
@@ -66,4 +66,9 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/interface.phpt
@@ -60,4 +60,9 @@ class MockFoo implements PHPUnit_Framework_MockObject_MockObject, Foo
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/namespaced_class.phpt
@@ -85,4 +85,9 @@ class MockFoo extends NS\Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/namespaced_class_call_parent_clone.phpt
@@ -55,5 +55,10 @@ class MockFoo extends NS\Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/namespaced_class_call_parent_constructor.phpt
@@ -54,5 +54,10 @@ class MockFoo extends NS\Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/namespaced_class_dont_call_parent_clone.phpt
@@ -54,5 +54,10 @@ class MockFoo extends NS\Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/namespaced_class_dont_call_parent_constructor.phpt
@@ -54,5 +54,10 @@ class MockFoo extends NS\Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/namespaced_class_implementing_interface_call_parent_constructor.phpt
@@ -59,5 +59,10 @@ class MockFoo extends NS\Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 ...nit/Tests/Framework/MockObject/namespaced_class_implementing_interface_dont_call_parent_constructor.phpt
@@ -59,5 +59,10 @@ class MockFoo extends NS\Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/namespaced_class_partial.phpt
@@ -72,4 +72,9 @@ class MockFoo extends NS\Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
View
5 PHPUnit/Tests/Framework/MockObject/namespaced_interface.phpt
@@ -66,4 +66,9 @@ class MockFoo implements PHPUnit_Framework_MockObject_MockObject, NS\Foo
{
$this->__phpunit_getInvocationMocker()->verify();
}
+
+ public function __phpunit_cleanup()
+ {
+ $this->invocationMocker = NULL;
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.