/[drupal]/contributions/modules/simpletest_automator/simpletest_automator.export.inc
ViewVC logotype

Diff of /contributions/modules/simpletest_automator/simpletest_automator.export.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7, Thu Aug 21 03:56:03 2008 UTC revision 1.8, Sun May 24 01:33:14 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: simpletest_automator.export.inc,v 1.6 2008/08/21 03:45:17 cwgordon7 Exp $  // $Id: simpletest_automator.export.inc,v 1.7 2008/08/21 03:56:03 cwgordon7 Exp $
3    
4  /**  /**
5   * Menu callback: export a SimpleTest automator instance to the code form.   * Menu callback: export a SimpleTest automator instance to the code form.
# Line 34  function simpletest_automator_export_tes Line 34  function simpletest_automator_export_tes
34   *   setUp() functions.   *   setUp() functions.
35   */   */
36  function _simpletest_automator_export_initial($simpletest_automator) {  function _simpletest_automator_export_initial($simpletest_automator) {
37    $code[] = '  function getInfo() {';    $code[] = '  public static function getInfo() {';
38    $code[] = '    return array(';    $code[] = '    return array(';
39    $code[] = array(    $code[] = array(
40      'value' => "      'name' => %s,",      'value' => "      'name' => %s,",
# Line 53  function _simpletest_automator_export_in Line 53  function _simpletest_automator_export_in
53    $code[] = '';    $code[] = '';
54    $code[] = '  function setUp() {';    $code[] = '  function setUp() {';
55    $code[] = array(    $code[] = array(
56      'value' => '    return parent::setUp(' . implode(', ', array_fill(0, count($simpletest_automator->modules), '%s')) . ');',      'value' => '    parent::setUp(' . implode(', ', array_fill(0, count($simpletest_automator->modules), '%s')) . ');',
57      'arguments' => $simpletest_automator->modules,      'arguments' => $simpletest_automator->modules,
58    );    );
59    $code[] = '  }';    $code[] = '  }';

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.2