Changeset 369

Show
Ignore:
Timestamp:
05/18/08 17:54:38 (8 months ago)
Author:
bender
Message:

Fixed unit test to expect correct exception class.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.4/test/classes/phing/tasks/TypedefTaskTest.php

    r227 r369  
    4646 
    4747    public function testClassNotFound() {  
    48         $this->expectBuildException("classNotFound", "classname specified doesn't exist"); 
     48        try { 
     49            $this->executeTarget("classNotFound"); 
     50            $this->fail("Should throw ConfigurationException because: " .  
     51              "classname specified doesn't exist"); 
     52        } catch (ConfigurationException $ignored) { 
     53        } 
    4954    } 
    5055