Components_Unit_Components_Release_Task_TimestampTest::testPretend PHP Method

testPretend() public method

public testPretend ( )
    public function testPretend()
    {
        $this->markTestSkipped('Release no longer possible with outdated package.xml');
        $tasks = $this->getReleaseTasks();
        $package = $this->getComponent($this->_fixture);
        $tasks->run(array('Timestamp', 'CommitPreRelease'), $package, array('pretend' => true, 'commit' => new Components_Helper_Commit($this->output, array('pretend' => true))));
        $this->assertEquals(array(sprintf('Would timestamp "%s" now and synchronize its change log.', realpath($this->_fixture . '/package.xml')), sprintf('Would run "git add %s" now.', realpath($this->_fixture . '/package.xml')), 'Would run "git commit -m "Released Fixture-0.0.1"" now.'), $this->output->getOutput());
    }