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/CacheTest.php

    r438 r442  
    3333 * Created with PHPUnit_Skeleton on 2005-08-09
    3434 */
    35 require_once 'PHPUnit.php';
    36 class CacheTest extends PHPUnit_TestCase {
     35
     36class CacheTest extends PHPUnit_Framework_TestCase {
    3737
    3838    var $Cache;
     
    4040    function CacheTest($name)
    4141    {
    42         $this->PHPUnit_TestCase($name);
     42        $this->PHPUnit_Framework_TestCase($name);
    4343    }
    4444
     
    105105
    106106}
    107 // Running the test.
    108 $suite = new PHPUnit_TestSuite('CacheTest');
    109 $result = PHPUnit::run($suite);
    110 echo $result->toString();
Note: See TracChangeset for help on using the changeset viewer.