Development

Changeset 3086 for trunk

You must first sign up to be able to contribute.

Changeset 3086 for trunk

Show
Ignore:
Timestamp:
12/19/06 09:58:46 (2 years ago)
Author:
fabien
Message:

added tests in symfony crud generate task

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/data/tasks/sfPakePropelCrudGenerator.php

    r2898 r3086  
    123123  pake_replace_tokens($finder, $moduleDir, '##', '##', $constants); 
    124124 
     125  // create basic test 
     126  pake_copy(sfConfig::get('sf_symfony_data_dir').'/skeleton/module/test/actionsTest.php', $sf_root_dir.'/test/functional/'.$app.'/'.$module.'ActionsTest.php'); 
     127 
     128  // customize test file 
     129  pake_replace_tokens($module.'ActionsTest.php', $sf_root_dir.'/test/functional/'.$app, '##', '##', $constants); 
     130 
    125131  // delete temp files 
    126132  $finder = pakeFinder::type('any'); 
  • trunk/test/other/fixtures/test/functional/result-harness.txt

    r2692 r3086  
     1articleGenCrudActionsTest............................................ok 
    12articleInitCrudActionsTest...........................................ok 
    23fooActionsTest.......................................................not ok 
     
    56------------------------------------------------------------------ 
    67fooActionsTest                     0      1      1  4 
    7 Failed 1/2 test scripts, 50.00% okay. 1/8 subtests failed, 87.50% okay. 
     8Failed 1/3 test scripts, 66.67% okay. 1/12 subtests failed, 91.67% okay. 
  • trunk/test/other/fixtures/test/result-harness.txt

    r2692 r3086  
     1functional/frontend/articleGenCrudActionsTest........................ok 
    12functional/frontend/articleInitCrudActionsTest.......................ok 
    23functional/frontend/fooActionsTest...................................not ok 
     
    67------------------------------------------------------------------ 
    78tional/frontend/fooActionsTest     0      1      1  4 
    8 Failed 1/3 test scripts, 66.67% okay. 1/9 subtests failed, 88.89% okay. 
     9Failed 1/4 test scripts, 75.00% okay. 1/13 subtests failed, 92.31% okay.