Ignore:
Timestamp:
Dec 6, 2013 7:17:37 PM (11 years ago)
Author:
anonymous
Message:

phpunit tests now work with phpunit 3.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eli_branch/tests/UtilitiesTest.php

    r438 r442  
    3333 * Created with PHPUnit_Skeleton on 2005-08-09
    3434 */
    35 require_once 'PHPUnit.php';
    36 class UtilitiesTest extends PHPUnit_TestCase {
     35
     36class UtilitiesTest extends PHPUnit_Framework_TestCase {
    3737
    3838    var $Utilities;
     
    4040    function UtilitiesTest($name)
    4141    {
    42         $this->PHPUnit_TestCase($name);
     42        $this->PHPUnit_Framework_TestCase($name);
    4343    }
    4444
     
    5656
    5757}
    58 // Running the test.
    59 $suite = new PHPUnit_TestSuite('UtilitiesTest');
    60 $result = PHPUnit::run($suite);
    61 echo $result->toString();
Note: See TracChangeset for help on using the changeset viewer.