Development

Changeset 23200

You must first sign up to be able to contribute.

Changeset 23200

Show
Ignore:
Timestamp:
10/19/09 23:29:50 (5 months ago)
Author:
Kris.Wallsmith
Message:

[1.3] added custom lime harness to cleanup output of plugin paths

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.3/lib/autoload/sfCoreAutoload.class.php

    r22268 r23200  
    408408    'sfassetsupgrade' => 'task/project/upgrade1.3/sfAssetsUpgrade.class.php', 
    409409    'sfformsupgrade' => 'task/project/upgrade1.3/sfFormsUpgrade.class.php', 
     410    'sfpropelupgrade' => 'task/project/upgrade1.3/sfPropelUpgrade.class.php', 
    410411    'sftasksupgrade' => 'task/project/upgrade1.3/sfTasksUpgrade.class.php', 
    411412    'sfupgrade' => 'task/project/upgrade1.3/sfUpgrade.class.php', 
     
    417418    'lime_symfony' => 'task/symfony/lime_symfony.php', 
    418419    'sfsymfonytesttask' => 'task/symfony/sfSymfonyTestTask.class.php', 
     420    'sflimeharness' => 'task/test/sfLimeHarness.class.php', 
    419421    'sftestalltask' => 'task/test/sfTestAllTask.class.php', 
    420422    'sftestbasetask' => 'task/test/sfTestBaseTask.class.php', 
  • branches/1.3/lib/task/test/sfTestAllTask.class.php

    r19721 r23200  
    7272  protected function execute($arguments = array(), $options = array()) 
    7373  { 
    74     require_once(sfConfig::get('sf_symfony_lib_dir').'/vendor/lime/lime.php')
     74    require_once dirname(__FILE__).'/sfLimeHarness.class.php'
    7575 
    76     $h = new lime_harness(array('force_colors' => $options['color'], 'verbose' => $options['trace'])); 
     76    $h = new sfLimeHarness(array('force_colors' => $options['color'], 'verbose' => $options['trace'])); 
     77    $h->addPlugins(array_map(array($this->configuration, 'getPluginConfiguration'), $this->configuration->getPlugins())); 
    7778    $h->base_dir = sfConfig::get('sf_test_dir'); 
    7879 
  • branches/1.3/lib/task/test/sfTestCoverageTask.class.php

    r19717 r23200  
    5656  protected function execute($arguments = array(), $options = array()) 
    5757  { 
    58     require_once(sfConfig::get('sf_symfony_lib_dir').'/vendor/lime/lime.php')
     58    require_once sfConfig::get('sf_symfony_lib_dir').'/vendor/lime/lime.php'
    5959 
    6060    $coverage = $this->getCoverage($this->getTestHarness(), $options['detailed']); 
     
    7474  protected function getTestHarness() 
    7575  { 
    76     $harness = new lime_harness(array('force_colors' => $options['color'])); 
     76    require_once dirname(__FILE__).'/sfLimeHarness.class.php'; 
     77 
     78    $harness = new sfLimeHarness(array('force_colors' => $options['color'])); 
     79    $harness->addPlugins(array_map(array($this->configuration, 'getPluginConfiguration'), $this->configuration->getPlugins())); 
    7780    $harness->base_dir = sfConfig::get('sf_root_dir'); 
    7881 
  • branches/1.3/lib/task/test/sfTestFunctionalTask.class.php

    r19721 r23200  
    9191    else 
    9292    { 
    93       require_once(sfConfig::get('sf_symfony_lib_dir').'/vendor/lime/lime.php')
     93      require_once dirname(__FILE__).'/sfLimeHarness.class.php'
    9494 
    95       $h = new lime_harness(array('force_colors' => $options['color'], 'verbose' => $options['trace'])); 
     95      $h = new sfLimeHarness(array('force_colors' => $options['color'], 'verbose' => $options['trace'])); 
     96      $h->addPlugins(array_map(array($this->configuration, 'getPluginConfiguration'), $this->configuration->getPlugins())); 
    9697      $h->base_dir = sfConfig::get('sf_test_dir').'/functional/'.$app; 
    9798 
  • branches/1.3/lib/task/test/sfTestUnitTask.class.php

    r19721 r23200  
    8686    else 
    8787    { 
    88       require_once(sfConfig::get('sf_symfony_lib_dir').'/vendor/lime/lime.php')
     88      require_once dirname(__FILE__).'/sfLimeHarness.class.php'
    8989 
    90       $h = new lime_harness(array('force_colors' => $options['color'], 'verbose' => $options['trace'])); 
     90      $h = new sfLimeHarness(array('force_colors' => $options['color'], 'verbose' => $options['trace'])); 
     91      $h->addPlugins(array_map(array($this->configuration, 'getPluginConfiguration'), $this->configuration->getPlugins())); 
    9192      $h->base_dir = sfConfig::get('sf_test_dir').'/unit'; 
    9293 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.