當前位置: 首頁>>代碼示例>>PHP>>正文


PHP KWWebTestCase類代碼示例

本文整理匯總了PHP中KWWebTestCase的典型用法代碼示例。如果您正苦於以下問題:PHP KWWebTestCase類的具體用法?PHP KWWebTestCase怎麽用?PHP KWWebTestCase使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了KWWebTestCase類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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


注:本文中的KWWebTestCase類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。