Source for file Ethna_Plugin_Generator_Test.php
Documentation is available at Ethna_Plugin_Generator_Test.php
// vim: foldmethod=marker
* Ethna_Plugin_Generator_Test.php
* @author BoBpp <bobpp@users.sourceforge.jp>
* @license http://www.opensource.org/licenses/bsd-license.php The BSD License
// {{{ Ethna_Plugin_Generator_Test
* Normal Test Case Generator.
* @author BoBpp <bobpp@users.sourceforge.jp>
* @param string $skelfile スケルトンファイル名
* @param string $name テストケース名
$dir =
$ctl->getDirectory('test');
$dir =
$ctl->getDirectory('app') .
"/" .
"test";
$generatePath =
"$dir/$file";
$skelton =
(!empty($skelfile))
$macro['project_id'] =
ucfirst($ctl->getAppId());
$macro['file_path'] =
$file;
$userMacro =
$this->_getUserMacro();
printf("file [%s] already exists -> skip\n", $generatePath);
} else if ($this->_generateFile($skelton, $generatePath, $macro) ==
false) {
printf("[warning] file creation failed [%s]\n", $generatePath);
printf("test script(s) successfully created [%s]\n", $generatePath);
Documentation generated on Fri, 11 Nov 2011 04:00:19 +0900 by phpDocumentor 1.4.3