请选择 进入手机版 | 继续访问电脑版
  • 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP KWWebTestCase类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中KWWebTestCase的典型用法代码示例。如果您正苦于以下问题:PHP KWWebTestCase类的具体用法?PHP KWWebTestCase怎么用?PHP KWWebTestCase使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



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

示例1: __construct

 public function __construct()
 {
     parent::__construct();
     $this->DataDir = dirname(__FILE__) . '/data/UpdateOnlyUserStats';
     $this->ProjectId = null;
     $this->Users = array();
 }
开发者ID:kitware,项目名称:cdash,代码行数:7,代码来源:test_updateonlyuserstats.php


示例2: __construct

 public function __construct()
 {
     parent::__construct();
     $this->ConfigFile = dirname(__FILE__) . '/../config/config.local.php';
     $this->AttemptsConfig = '$CDASH_LOCKOUT_ATTEMPTS = 2;';
     $this->LengthConfig = '$CDASH_LOCKOUT_LENGTH = 1;';
 }
开发者ID:kitware,项目名称:cdash,代码行数:7,代码来源:test_accountlockout.php


示例3:

 function __construct()
 {
     parent::__construct();
     global $db;
     $this->databaseName = $db['name'];
     $this->deleteLog($this->logfilename);
 }
开发者ID:rpshaw,项目名称:CDash,代码行数:7,代码来源:test_deletedailyupdate.php


示例4: __construct

    public function __construct()
    {
        parent::__construct();
        $this->ConfigLine = '$CDASH_LARGE_TEXT_LIMIT = \'44\';
';
        $this->Expected = "The beginning survives\n...\nCDash truncated output because it exceeded 44 characters.\n...\nThis part is preserved\n";
        $this->BuildId = 0;
    }
开发者ID:kitware,项目名称:cdash,代码行数:8,代码来源:test_truncateoutput.php


示例5: __construct

 public function __construct()
 {
     parent::__construct();
     $this->ConfigFile = dirname(__FILE__) . '/../config/config.local.php';
     $this->RotationConfig = '$CDASH_PASSWORD_EXPIRATION = 1;';
     $this->UniqueConfig = '$CDASH_UNIQUE_PASSWORD_COUNT = 2;';
     $this->UserId = null;
 }
开发者ID:kitware,项目名称:cdash,代码行数:8,代码来源:test_passwordrotation.php


示例6: __construct

 public function __construct()
 {
     parent::__construct();
     $this->deleteLog($this->logfilename);
     $this->DataDir = dirname(__FILE__) . '/data/DynamicAnalysisSummary';
     $this->ParentId = 0;
     $this->StandaloneBuildId = 0;
     $this->ChildIds = array();
 }
开发者ID:kitware,项目名称:cdash,代码行数:9,代码来源:test_dynamicanalysissummary.php


示例7: __construct

 public function __construct()
 {
     parent::__construct();
     $this->testDataDir = dirname(__FILE__) . '/data/BuildDetails';
     $this->testDataFiles = array('Subbuild1.xml', 'Subbuild2.xml', 'Subbuild3.xml');
     pdo_query("INSERT INTO project (name) VALUES ('BuildDetails')");
     foreach ($this->testDataFiles as $testDataFile) {
         if (!$this->submission('BuildDetails', $this->testDataDir . '/' . $testDataFile)) {
             $this->fail('Failed to submit ' . $testDataFile);
             return 1;
         }
     }
     $this->builds = array();
     $builds = pdo_query("SELECT * FROM build WHERE name = 'linux' ORDER BY id");
     while ($build = pdo_fetch_array($builds)) {
         $this->builds[] = $build;
     }
 }
开发者ID:kitware,项目名称:cdash,代码行数:18,代码来源:test_builddetails.php


示例8: __construct

 public function __construct()
 {
     parent::__construct();
     $this->testDataDir = dirname(__FILE__) . '/data/BuildModel';
     $this->testDataFiles = array('build1.xml', 'build2.xml', 'build3.xml', 'build4.xml', 'build5.xml', 'configure1.xml');
     pdo_query("INSERT INTO project (name) VALUES ('BuildModel')");
     foreach ($this->testDataFiles as $testDataFile) {
         if (!$this->submission('BuildModel', $this->testDataDir . '/' . $testDataFile)) {
             $this->fail('Failed to submit ' . $testDataFile);
             return 1;
         }
     }
     $this->builds = array();
     $builds = pdo_query("SELECT * FROM build WHERE name = 'buildmodel-test-build' ORDER BY id");
     while ($build = pdo_fetch_array($builds)) {
         $this->builds[] = $build;
     }
     $this->parentBuilds = array();
     $parentBuilds = pdo_query("SELECT * FROM build WHERE name = 'buildmodel-test-parent-build' AND parentid = -1 ORDER BY id");
     while ($build = pdo_fetch_array($parentBuilds)) {
         $this->parentBuilds[] = $build;
     }
 }
开发者ID:kitware,项目名称:cdash,代码行数:23,代码来源:test_buildmodel.php


示例9: __construct

 public function __construct()
 {
     parent::__construct();
     $this->deleteLog($this->logfilename);
     $this->DataDir = dirname(__FILE__) . '/data/AggregateSubProjectCoverage';
 }
开发者ID:kitware,项目名称:cdash,代码行数:6,代码来源:test_aggregatesubprojectcoverage.php


示例10: __construct

 public function __construct()
 {
     parent::__construct();
     $this->MethodsToTest = array('Update', 'Configure', 'Build', 'Test');
 }
开发者ID:kitware,项目名称:cdash,代码行数:5,代码来源:test_hidecolumns.php


示例11:

 function __construct()
 {
     parent::__construct();
     $this->deleteLog($this->logfilename);
 }
开发者ID:rpshaw,项目名称:CDash,代码行数:5,代码来源:test_gitinfo.php


示例12:

 function __construct()
 {
     parent::__construct();
     global $db;
     $this->databaseName = $db['name'];
 }
开发者ID:rpshaw,项目名称:CDash,代码行数:6,代码来源:test_install.php


示例13: __construct

 public function __construct()
 {
     parent::__construct();
     global $CDASH_TESTING_RENAME_LOGS;
     $CDASH_TESTING_RENAME_LOGS = true;
 }
开发者ID:kitware,项目名称:cdash,代码行数:6,代码来源:test_sequenceindependence.php


示例14: __construct

 public function __construct()
 {
     parent::__construct();
     global $configure;
     $this->url = $configure['urlwebsite'];
 }
开发者ID:kitware,项目名称:cdash,代码行数:6,代码来源:sameImage.php


示例15: __construct

 public function __construct()
 {
     parent::__construct();
     $this->OriginalConfigSettings = '';
 }
开发者ID:kitware,项目名称:cdash,代码行数:5,代码来源:test_replacebuild.php


示例16: __construct

 public function __construct()
 {
     parent::__construct();
     $this->InsightUrl = $this->url . '/api/v1/index.php?project=InsightExample&date=2010-07-07';
     $this->EmailUrl = $this->url . '/api/v1/index.php?project=EmailProjectExample&date=2009-02-23';
 }
开发者ID:kitware,项目名称:cdash,代码行数:6,代码来源:test_indexfilters.php


示例17: __construct

 public function __construct()
 {
     parent::__construct();
     $this->ConfigLine = '$CDASH_BACKUP_TIMEFRAME = \'0\';';
 }
开发者ID:kitware,项目名称:cdash,代码行数:5,代码来源:test_nobackup.php


示例18: __construct

 public function __construct()
 {
     parent::__construct();
     $this->ProjectId = -1;
 }
开发者ID:kitware,项目名称:cdash,代码行数:5,代码来源:test_github_PR_comment.php


示例19: __construct

 public function __construct()
 {
     parent::__construct();
     $this->BuildId = null;
 }
开发者ID:kitware,项目名称:cdash,代码行数:5,代码来源:test_uniquediffs.php


示例20: __construct

 public function __construct()
 {
     parent::__construct();
 }
开发者ID:kitware,项目名称:cdash,代码行数:4,代码来源:test_userstatistics.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP KalturaBaseService类代码示例发布时间:2022-05-23
下一篇:
PHP KTemplate类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap