当前位置: 首页>>代码示例>>PHP>>正文


PHP lime_test::todo方法代码示例

本文整理汇总了PHP中lime_test::todo方法的典型用法代码示例。如果您正苦于以下问题:PHP lime_test::todo方法的具体用法?PHP lime_test::todo怎么用?PHP lime_test::todo使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在lime_test的用法示例。


在下文中一共展示了lime_test::todo方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: DBConnection

G::LoadClass('pmScript');
require_once PATH_CORE . "config/databases.php";
$dbc = new DBConnection();
$ses = new DBSession($dbc);
$obj = new PmScript($dbc);
$t = new lime_test(7, new lime_output_color());
$t->diag('class PmScript');
$t->isa_ok($obj, 'PMScript', 'class PmScript created');
//method setFields
$t->can_ok($obj, 'setFields', 'setFields() is callable');
//  $result = $obj->setFields ( $aFields);
//  $t->isa_ok( $result,      'NULL',   'call to method setFields ');
//method setScript
$t->can_ok($obj, 'setScript', 'setScript() is callable');
//  $result = $obj->setScript ( $sScript);
//  $t->isa_ok( $result,      'NULL',   'call to method setScript ');
//method validSyntax
$t->can_ok($obj, 'validSyntax', 'validSyntax() is callable');
//  $result = $obj->validSyntax ( $sScript);
//  $t->isa_ok( $result,      'NULL',   'call to method validSyntax ');
//method execute
$t->can_ok($obj, 'execute', 'execute() is callable');
//  $result = $obj->execute ( );
//  $t->isa_ok( $result,      'NULL',   'call to method execute ');
//method evaluate
$t->can_ok($obj, 'evaluate', 'evaluate() is callable');
//  $result = $obj->evaluate ( );
//  $t->isa_ok( $result,      'NULL',   'call to method evaluate ');
// $t->fail(  'review all pendings methods in this class');
$t->todo("review all pendings methods in this class");
开发者ID:emildev35,项目名称:processmaker,代码行数:30,代码来源:classPmScriptTest.php

示例2: sfYamlParser

sfYaml::setSpecVersion('1.1');
$t = new lime_test(150);
$parser = new sfYamlParser();
$path = __DIR__ . '/fixtures';
$files = $parser->parse(file_get_contents($path . '/index.yml'));
foreach ($files as $file) {
    $t->diag($file);
    $yamls = file_get_contents($path . '/' . $file . '.yml');
    // split YAMLs documents
    foreach (preg_split('/^---( %YAML\\:1\\.0)?/m', $yamls) as $yaml) {
        if (!$yaml) {
            continue;
        }
        $test = $parser->parse($yaml);
        if (isset($test['todo']) && $test['todo']) {
            $t->todo($test['test']);
        } else {
            $expected = var_export(eval('return ' . trim($test['php']) . ';'), true);
            $t->is(var_export($parser->parse($test['yaml']), true), $expected, $test['test']);
        }
    }
}
// test tabs in YAML
$yamls = array("foo:\n\tbar", "foo:\n \tbar", "foo:\n\t bar", "foo:\n \t bar");
foreach ($yamls as $yaml) {
    try {
        $content = $parser->parse($yaml);
        $t->fail('YAML files must not contain tabs');
    } catch (InvalidArgumentException $e) {
        $t->pass('YAML files must not contain tabs');
    }
开发者ID:Phennim,项目名称:symfony1,代码行数:31,代码来源:sfYamlParserTest.php

示例3: array

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * For more information, contact Colosa Inc, 2566 Le Jeune Rd., 
 * Coral Gables, FL, 33134, USA, or email info@colosa.com.
 * 
 */
if (!defined('PATH_THIRDPARTY')) {
    require_once $_SERVER['PWD'] . '/test/bootstrap/unit.php';
}
require_once PATH_THIRDPARTY . 'lime/lime.php';
define('G_ENVIRONMENT', G_TEST_ENV);
G::LoadThirdParty('smarty/libs', 'Smarty.class');
G::LoadSystem('xmlform');
G::LoadSystem('xmlDocument');
G::LoadSystem('form');
G::LoadSystem('pagedTable');
$t = new lime_test(2, new lime_output_color());
$obj = "pagedTable";
$method = array();
$testItems = 0;
$method = get_class_methods('pagedTable');
$t->diag('class pagedTable');
$t->is(count($method), 10, "class pagedTable " . $testItems . " methods.");
$t->todo('review all pendings in this class');
开发者ID:emildev35,项目名称:processmaker,代码行数:30,代码来源:classPagedTableTest.php

示例4:

        if ($params != '') {
            $params .= ', ';
        }
        $params .= '$' . $row->name;
    }
    $testItems++;
    $methods[$reflectmethod->getName()] = $params;
}
$t->diag('class $className');
$t->isa_ok($obj, $className, 'class $className created');
$t->is(count($methods), 8, "class {$className} have " . 8 . ' methods.');
//checking method '__construct'
$t->can_ok($obj, '__construct', '__construct() is callable');
//$result = $obj->__construct ( $fileData);
//$t->isa_ok( $result,      'NULL',   'call to method __construct ');
$t->todo("call to method __construct using {$fileData} ");
//checking method 'returnHeader'
$t->can_ok($obj, 'returnHeader', 'returnHeader() is callable');
//$result = $obj->returnHeader ( );
//$t->isa_ok( $result,      'NULL',   'call to method returnHeader ');
$t->todo("call to method returnHeader using  ");
//checking method 'returnBody'
$t->can_ok($obj, 'returnBody', 'returnBody() is callable');
//$result = $obj->returnBody ( );
//$t->isa_ok( $result,      'NULL',   'call to method returnBody ');
$t->todo("call to method returnBody using  ");
//checking method 'returnErrors'
$t->can_ok($obj, 'returnErrors', 'returnErrors() is callable');
//$result = $obj->returnErrors ( $error);
//$t->isa_ok( $result,      'NULL',   'call to method returnErrors ');
$t->todo("call to method returnErrors using {$error} ");
开发者ID:emildev35,项目名称:processmaker,代码行数:31,代码来源:classPackageTest.php

示例5:

        if ($params != '') {
            $params .= ', ';
        }
        $params .= '$' . $row->name;
    }
    $testItems++;
    $methods[$reflectmethod->getName()] = $params;
}
$t->diag('class $className');
$t->isa_ok($obj, 'Report', 'class $className created');
$t->is(count($methods), 14, "class {$className} have " . 14 . ' methods.');
//checking method 'generatedReport1'
$t->can_ok($obj, 'generatedReport1', 'generatedReport1() is callable');
//$result = $obj->generatedReport1 ( );
//$t->isa_ok( $result,      'NULL',   'call to method generatedReport1 ');
$t->todo("call to method generatedReport1 using  ");
//checking method 'generatedReport1_filter'
$t->can_ok($obj, 'generatedReport1_filter', 'generatedReport1_filter() is callable');
//$result = $obj->generatedReport1_filter ( $from, $to, $startedby);
//$t->isa_ok( $result,      'NULL',   'call to method generatedReport1_filter ');
$t->todo("call to method generatedReport1_filter using {$from}, {$to}, {$startedby} ");
//checking method 'descriptionReport1'
$t->can_ok($obj, 'descriptionReport1', 'descriptionReport1() is callable');
//$result = $obj->descriptionReport1 ( $PRO_UID);
//$t->isa_ok( $result,      'NULL',   'call to method descriptionReport1 ');
$t->todo("call to method descriptionReport1 using {$PRO_UID} ");
//checking method 'generatedReport2'
$t->can_ok($obj, 'generatedReport2', 'generatedReport2() is callable');
//$result = $obj->generatedReport2 ( );
//$t->isa_ok( $result,      'NULL',   'call to method generatedReport2 ');
$t->todo("call to method generatedReport2 using  ");
开发者ID:emildev35,项目名称:processmaker,代码行数:31,代码来源:classReportTest.php

示例6: dirname

<?php

/*
 * This file is part of the symfony package.
 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
 * 
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
require_once dirname(__FILE__) . '/../../bootstrap/unit.php';
require_once dirname(__FILE__) . '/../../../lib/helper/NumberHelper.php';
$t = new lime_test(10);
// format_number()
$t->diag('format_number()');
$t->is(format_number(10012.1, 'en'), '10,012.1', 'format_number() takes a number as its first argument');
//$t->is(format_number(10012.1, 'fr'), '10.012,1', 'format_number() takes a culture as its second argument');
$t->todo('format_number() takes the current user culture if no second argument is given');
// format_currency()
$t->is(format_currency(1200000.0, 'USD', 'en'), '$1,200,000.00', 'format_currency() takes a number as its first argument');
$t->is(format_currency(1200000.1, 'USD', 'en'), '$1,200,000.10', 'format_currency() takes a number as its first argument');
$t->is(format_currency(1200000.1, 'USD', 'en'), '$1,200,000.10', 'format_currency() takes a number as its first argument');
$t->is(format_currency(1200000.101, 'USD', 'en'), '$1,200,000.10', 'format_currency() takes a number as its first argument');
$t->is(format_currency('1200000', 'USD', 'en'), '$1,200,000.00', 'format_currency() takes a number as its first argument');
$t->is(format_currency('11.50999', 'USD', 'en'), '$11.50', 'format_currency() takes a number as its first argument');
$t->is(format_currency('11.50999', 'EUR', 'fr'), '11,50 €', 'format_currency() takes a number as its first argument');
$t->is(format_currency('11.9999464', 'EUR', 'fr'), '11,99 €', 'format_currency() takes a number as its first argument');
开发者ID:vcgato29,项目名称:poff,代码行数:26,代码来源:NumberHelperTest.php

示例7: array

$t->is(checkbox_tag('name', null, false, array('class' => 'foo')), '<input type="checkbox" name="name" id="name" value="" class="foo" />', 'checkbox_tag() takes an array of attribute options as its fourth argument');
$t->is(checkbox_tag('name', null, false, array('id' => 'foo')), '<input type="checkbox" name="name" id="foo" value="" />', 'checkbox_tag() can override the "id" attribute');
// radiobutton_tag()
$t->diag('radiobutton_tag()');
$t->is(radiobutton_tag('name', 1), '<input type="radio" name="name" id="name_1" value="1" />', 'radiobutton_tag() takes a name as its first argument');
$t->is(radiobutton_tag('name', 2), '<input type="radio" name="name" id="name_2" value="2" />', 'radiobutton_tag() takes a value as its second argument');
$t->is(radiobutton_tag('name', null, true), '<input type="radio" name="name" id="name" value="" checked="checked" />', 'radiobutton_tag() takes a boolean as its third argument');
// options
$t->is(radiobutton_tag('name', null, false, array('class' => 'foo')), '<input type="radio" name="name" id="name" value="" class="foo" />', 'radiobutton_tag() takes an array of attribute options as its fourth argument');
$t->is(radiobutton_tag('name', null, false, array('id' => 'foo')), '<input type="radio" name="name" id="foo" value="" />', 'radiobutton_tag() can override the "id" attribute');
// input_date_range_tag()
$t->diag('input_date_range_tag()');
$t->unlike(input_date_range_tag('date', array('from' => time(), 'to' => time()), array('after' => 'foo')), '/after/', 'input_date_range_tag() output date fields for a date range');
// input_date_tag()
$t->diag('input_date_tag()');
$t->todo('input_date_tag()');
// submit_tag()
$t->diag('submit_tag()');
$t->is(submit_tag(), '<input type="submit" name="commit" value="Save changes" />', 'submit_tag() default value is "Save changes"');
$t->is(submit_tag("save"), '<input type="submit" name="commit" value="save" />', 'submit_tag() takes a value as its first argument');
// options
$t->is(submit_tag('save', array('class' => 'foo')), '<input type="submit" name="commit" value="save" class="foo" />', 'submit_tag() takes an array of attribute options as its second argument');
$t->is(submit_tag('save', array('name' => 'foo')), '<input type="submit" name="foo" value="save" />', 'submit_tag() can override the "name" attribute');
// reset_tag()
$t->diag('reset_tag()');
$t->is(reset_tag(), '<input type="reset" name="reset" value="Reset" />', 'reset_tag() default value is "Reset"');
$t->is(reset_tag("save"), '<input type="reset" name="reset" value="save" />', 'reset_tag() takes a value as its first argument');
// options
$t->is(reset_tag('save', array('class' => 'foo')), '<input type="reset" name="reset" value="save" class="foo" />', 'reset_tag() takes an array of attribute options as its second argument');
$t->is(reset_tag('save', array('name' => 'foo')), '<input type="reset" name="foo" value="save" />', 'reset_tag() can override the "name" attribute');
// submit_image_tag()
开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:31,代码来源:FormHelperTest.php

示例8:

        if ($params != '') {
            $params .= ', ';
        }
        $params .= '$' . $row->name;
    }
    $testItems++;
    $methods[$reflectmethod->getName()] = $params;
}
$t->diag('$className');
$t->isa_ok($obj, 'Installer', 'class $className created');
$t->is(count($methods), 16, "class {$className} have " . 16 . ' methods.');
//checking method '__construct'
$t->can_ok($obj, '__construct', '__construct() is callable');
//$result = $obj->__construct ( );
//$t->isa_ok( $result,      'NULL',   'call to method __construct ');
$t->todo("call to method __construct using  ");
//checking method 'create_site'
$t->can_ok($obj, 'create_site', 'create_site() is callable');
//$result = $obj->create_site ( $config, $confirmed);
//$t->isa_ok( $result,      'NULL',   'call to method create_site ');
$t->todo("call to method create_site using {$config}, {$confirmed} ");
//checking method 'isset_site'
$t->can_ok($obj, 'isset_site', 'isset_site() is callable');
//$result = $obj->isset_site ( $name);
//$t->isa_ok( $result,      'NULL',   'call to method isset_site ');
$t->todo("call to method isset_site using {$name} ");
//checking method 'create_site_test'
$t->can_ok($obj, 'create_site_test', 'create_site_test() is callable');
//$result = $obj->create_site_test ( );
//$t->isa_ok( $result,      'NULL',   'call to method create_site_test ');
$t->todo("call to method create_site_test using  ");
开发者ID:nshong,项目名称:processmaker,代码行数:31,代码来源:classInstallerTest.php

示例9: exit

    exit(201);
}
require_once PATH_GULLIVER . 'class.dbconnection.php';
require_once PATH_GULLIVER . 'class.error.php';
$obj = new G_Error();
$method = array();
$testItems = 0;
$class_methods = get_class_methods('G_Error');
foreach ($class_methods as $method_name) {
    $methods[$testItems] = $method_name;
    $testItems++;
}
$t = new lime_test(11, new lime_output_color());
$t->diag('class error');
//
$t->is($testItems, 13, "class G_Error " . 13 . " methods.");
$t->isa_ok($obj, 'G_Error', 'class G_Error created');
$t->is(G_ERROR, -100, 'G_ERROR constant defined');
$t->is(G_ERROR_ALREADY_ASSIGNED, -118, 'G_ERROR_ALREADY_ASSIGNED defined');
$obj = new G_Error("string");
$t->is($obj->code, -1, 'default code error');
$t->is($obj->message, "G Error: string", 'default message error');
$t->is($obj->level, E_USER_NOTICE, 'default level error');
$obj = new G_Error(G_ERROR_SYSTEM_UID);
$t->is($obj->code, -105, 'code error');
$t->is($obj->message, "G Error: ", 'message error');
$t->can_ok($obj, "errorMessage", "exists method errorMessage");
$msg = $obj->errorMessage(G_ERROR);
//$t->is( $msg->code, -100,    'fail in method errorMessage');
$t->todo('fail in method errorMessage');
开发者ID:emildev35,项目名称:processmaker,代码行数:30,代码来源:classErrorTest.php

示例10: foreach

$testItems = 0;
foreach ($reflect->getMethods() as $reflectmethod) {
    $params = '';
    foreach ($reflectmethod->getParameters() as $key => $row) {
        if ($params != '') {
            $params .= ', ';
        }
        $params .= '$' . $row->name;
    }
    $testItems++;
    $methods[$reflectmethod->getName()] = $params;
}
$t->diag('class $className');
$t->isa_ok($obj, $className, 'class $className created');
$t->is(count($methods), 3, "class {$className} have " . 3 . ' methods.');
//checking method '__construct'
$t->can_ok($obj, '__construct', '__construct() is callable');
//$result = $obj->__construct ( $status, $message);
//$t->isa_ok( $result,      'NULL',   'call to method __construct ');
$t->todo("call to method __construct using {$status}, {$message} ");
//checking method 'getPayloadString'
$t->can_ok($obj, 'getPayloadString', 'getPayloadString() is callable');
//$result = $obj->getPayloadString ( $operation);
//$t->isa_ok( $result,      'NULL',   'call to method getPayloadString ');
$t->todo("call to method getPayloadString using {$operation} ");
//checking method 'getPayloadArray'
$t->can_ok($obj, 'getPayloadArray', 'getPayloadArray() is callable');
//$result = $obj->getPayloadArray ( );
//$t->isa_ok( $result,      'NULL',   'call to method getPayloadArray ');
$t->todo("call to method getPayloadArray using  ");
$t->todo('review all pendings methods in this class');
开发者ID:emildev35,项目名称:processmaker,代码行数:31,代码来源:classWsResponseTest.php

示例11: foreach

    $params = '';
    foreach ($reflectmethod->getParameters() as $key => $row) {
        if ($params != '') {
            $params .= ', ';
        }
        $params .= '$' . $row->name;
    }
    $testItems++;
    $methods[$reflectmethod->getName()] = $params;
}
//To change the case only the first letter of each word, TIA
//$className = ucwords($className);
$t->diag("class {$className}");
$t->isa_ok($obj, $className, "class {$className} created");
$t->is(count($methods), 3, "class {$className} have " . 3 . ' methods.');
//checking method '__construct'
$t->can_ok($obj, '__construct', '__construct() is callable');
//$result = $obj->__construct ( $db_spool);
//$t->isa_ok( $result,      'NULL',   'call to method __construct ');
$t->todo("call to method __construct using {$db_spool} ");
//checking method 'returnStatus'
$t->can_ok($obj, 'returnStatus', 'returnStatus() is callable');
//$result = $obj->returnStatus ( );
//$t->isa_ok( $result,      'NULL',   'call to method returnStatus ');
$t->todo("call to method returnStatus using  ");
//checking method 'db_insert'
$t->can_ok($obj, 'db_insert', 'db_insert() is callable');
//$result = $obj->db_insert ( $db_spool);
//$t->isa_ok( $result,      'NULL',   'call to method db_insert ');
$t->todo("call to method db_insert using {$db_spool} ");
$t->todo('review all pendings methods in this class');
开发者ID:emildev35,项目名称:processmaker,代码行数:31,代码来源:classInsertTest.php

示例12: sfWebBrowser

     $t->pass('restart() reinitializes the browser history');
 }
 $t->is($b->getResponseText(), '', 'restart() reinitializes the response');
 /*************/
 /* Redirects */
 /*************/
 $t->diag('Redirects');
 $b = new sfWebBrowser(array(), $adapter);
 $b->get('http://www.symfony-project.com/trac/wiki/sfUJSPlugin');
 $t->like($b->getResponseText(), '/learn more about the unobtrusive approach/', 'follows 302 redirect after a GET');
 $b = new myTestWebBrowser(array(), $adapter);
 $b->call($askeet_params['url'] . '/index.php/login', 'POST', array('nickname' => $askeet_params['login'], 'password' => $askeet_params['password']));
 //$t->like($b->getResponseText(), '/url='.preg_quote($askeet_params['url'], '/').'\/index\.php/', 'does NOT follow a 302 redirect after a POST');
 $t->like($b->getResponseText(), '/featured questions/', 'follows 302 redirect after POST ****** DESPITE THE HTTP SPEC ******');
 $t->is($b->getRequestMethod(), 'GET', 'request method is changed to GET after POST for 302 redirect ***** DESPITE THE HTTP SPEC *****');
 $t->todo('request method is changed to GET after POST for 303 redirect');
 /***********/
 /* Cookies */
 /***********/
 $t->diag('Cookies');
 if ($adapter == 'sfCurlAdapter') {
     $b = new sfWebBrowser(array(), $adapter, array('cookies' => true, 'cookies_file' => $cookies_file, 'cookies_dir' => $cookies_dir));
     $b->call($askeet_params['url'] . '/login', 'POST', array('nickname' => $askeet_params['login'], 'password' => $askeet_params['password']));
     $t->like($b->getResponseBody(), '/' . $askeet_params['login'] . ' profile/', 'Cookies can be added to the request');
     rmdir($cookies_dir);
     rmdir(dirname(__FILE__) . '/../data');
 } else {
     $t->todo('Cookies can be added to the request (sfCurlAdapter only for now)');
 }
 /****************/
 /* File Uploads */
开发者ID:runopencode,项目名称:diem-extended,代码行数:31,代码来源:sfWebBrowserTest.php

示例13: catch

        $ConLang = $fields['CON_LANG'];
        $ConValue = $fields['CON_VALUE'];
        try {
            $res = $obj->addContent($ConCategory, $ConParent, $ConId, $ConLang, $ConValue);
        } catch (Exception $e) {
            return $e;
        }
        return $res;
    }
}
$obj = new Content();
//$t   = new lime_test( 5, new lime_output_color() );
$t = new lime_test(12, new lime_output_color());
$t->diag('class Content');
$t->isa_ok($obj, 'Content', 'class Content created');
$t->todo('review all combinations of is_utf8 ');
$t->todo('review is_utf8 should be in another class');
//Initialize the global domain (It is optional)
$testDomain = new ymlDomain();
$test = new ContentTest('content.yml', $t, $testDomain);
//check if an row exists,
$test->load('loadContent');
$test->runSingle();
//check if an row exists,
$test->load('deleteContent');
$test->runAll();
$test->load('addContentAcentos');
$test->runSingle();
//add the same row twice, the first time goes good, but the second the class throw an error
$test->load('addContent1');
$test->runSingle();
开发者ID:emildev35,项目名称:processmaker,代码行数:31,代码来源:classContentTest.php

示例14: strtolower

$className = strtolower(substr($className, 0, 1)) . substr($className, 1);
$reflect = new ReflectionClass($className);
$method = array();
$testItems = 0;
foreach ($reflect->getMethods() as $reflectmethod) {
    $params = '';
    foreach ($reflectmethod->getParameters() as $key => $row) {
        if ($params != '') {
            $params .= ', ';
        }
        $params .= '$' . $row->name;
    }
    $testItems++;
    $methods[$reflectmethod->getName()] = $params;
}
//To change the case only the first letter of each word, TIA
$className = ucwords($className);
$t->diag("class {$className}");
$t->isa_ok($obj, "XMLDB", "class {$className} created");
$t->is(count($methods), 2, "class {$className} have " . 2 . ' methods.');
//checking method 'connect'
$t->can_ok($obj, 'connect', 'connect() is callable');
//$result = $obj->connect ( $dsn, $options);
//$t->isa_ok( $result,      'NULL',   'call to method connect ');
$t->todo("call to method connect using {$dsn}, {$options} ");
//checking method 'isError'
$t->can_ok($obj, 'isError', 'isError() is callable');
//$result = $obj->isError ( $result);
//$t->isa_ok( $result,      'NULL',   'call to method isError ');
$t->todo("call to method isError using {$result} ");
$t->todo('review all pendings methods in this class');
开发者ID:emildev35,项目名称:processmaker,代码行数:31,代码来源:classXmlDbTest.php

示例15:

        if ($params != '') {
            $params .= ', ';
        }
        $params .= '$' . $row->name;
    }
    $testItems++;
    $methods[$reflectmethod->getName()] = $params;
}
$t->diag('class $className');
$t->isa_ok($obj, 'Jrml', 'class $className created');
$t->is(count($methods), 8, "class {$className} have " . 8 . ' methods.');
//checking method '__construct'
$t->can_ok($obj, '__construct', '__construct() is callable');
//$result = $obj->__construct ( $data);
//$t->isa_ok( $result,      'NULL',   'call to method __construct ');
$t->todo("call to method __construct using {$data} ");
//checking method 'get_rows'
$t->can_ok($obj, 'get_rows', 'get_rows() is callable');
//$result = $obj->get_rows ( $a);
//$t->isa_ok( $result,      'NULL',   'call to method get_rows ');
$t->todo("call to method get_rows using {$a} ");
//checking method 'get_md'
$t->can_ok($obj, 'get_md', 'get_md() is callable');
//$result = $obj->get_md ( );
//$t->isa_ok( $result,      'NULL',   'call to method get_md ');
$t->todo("call to method get_md using  ");
//checking method 'get_header'
$t->can_ok($obj, 'get_header', 'get_header() is callable');
//$result = $obj->get_header ( );
//$t->isa_ok( $result,      'NULL',   'call to method get_header ');
$t->todo("call to method get_header using  ");
开发者ID:emildev35,项目名称:processmaker,代码行数:31,代码来源:classJrmlTest.php


注:本文中的lime_test::todo方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。