Project

General

Profile

Actions

Bug #35202

closed

Fix the unit tests to work with PHPUnit 3.6

Added by Oliver Klee over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Tests
Target version:
-
Start date:
2012-03-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The current trunk of the phpunit extension brings PHPUnit 3.6. Let's fix the unit tests to work with this version.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #35905: Failing test in autoloader with phpunit 3.6Closed2012-04-12

Actions
Actions #1

Updated by Oliver Klee over 12 years ago

This also includes changing all "throw new Exception" to use a subclass because otherwise this cannot be unit-tested (PHPUnit 3.6 does not allow checking for the Exception base class.)

Actions #2

Updated by Oliver Klee over 12 years ago

Note: The patch for this bug will only include fixes for the issues that seems to be related to the differences between PHPUnit 3.5 and PHPUnit 3.6. The patch is not about fixing real bugs in the code.

Actions #3

Updated by Gerrit Code Review over 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10187

Actions #4

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10187

Actions #5

Updated by Christian Kuhn over 12 years ago

#35905 already fixed the autoloader tests.

Actions #6

Updated by Gerrit Code Review over 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10187

Actions #7

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/10350

Actions #8

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/10351

Actions #9

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/10352

Actions #10

Updated by Oliver Klee over 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF