Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 15, 2010
1 parent 8b5044f commit 6d08310
Show file tree
Hide file tree
Showing 18 changed files with 90 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PHPUnit/Tests/Framework/MockObject/class.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,9 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,10 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}

5 changes: 5 additions & 0 deletions PHPUnit/Tests/Framework/MockObject/class_partial.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,9 @@ class MockFoo extends Foo implements PHPUnit_Framework_MockObject_MockObject
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}
5 changes: 5 additions & 0 deletions PHPUnit/Tests/Framework/MockObject/interface.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,9 @@ class MockFoo implements PHPUnit_Framework_MockObject_MockObject, Foo
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}
5 changes: 5 additions & 0 deletions PHPUnit/Tests/Framework/MockObject/namespaced_class.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
5 changes: 5 additions & 0 deletions PHPUnit/Tests/Framework/MockObject/namespaced_interface.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,9 @@ class MockFoo implements PHPUnit_Framework_MockObject_MockObject, NS\Foo
{
$this->__phpunit_getInvocationMocker()->verify();
}

public function __phpunit_cleanup()
{
$this->invocationMocker = NULL;
}
}

0 comments on commit 6d08310

Please sign in to comment.