首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 可移动式的实用程序,用于测试

可移动式的实用程序,用于测试

  • 资源大小:14.14 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: test MT movabletype

资 源 简 介

NAME MT::App::Test - Movable Type"s utility for test SYNOPSIS ``` use MT::App::Test; use File::Basename qw( dirname ); use File::Spec; createing test app object $app = MT::App::Test->testinstanceof( datadirs => dirname(File::Spec->rel2abs(FILE__)), ); $app->isa("MT::App::CMS"); # => true model class for testing my $entryclass = $app->testmodel("entry"); fetching entry that has not stored. my $entrytosave = $entryclass->testloadvolatiles("tosave"); $entrytosave->save(); loading a "context" for test $app->testtemplateloadcontext("ctx1"), building tag $entrytitle = $app->testtemplate_build("mt:EntryTitle"); building tag by php $entrytitle = $app->testph

文 件 列 表

MT-App-Test-0.1.0
Makefile.PL
README
lib
Changes
Build.PL
MANIFEST
t
VIP VIP
0.177125s