예제 #1
0
 public function __construct()
 {
     parent::__construct();
     $this->DataDir = dirname(__FILE__) . '/data/UpdateOnlyUserStats';
     $this->ProjectId = null;
     $this->Users = array();
 }
예제 #2
0
 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;';
 }
예제 #3
0
 function __construct()
 {
     parent::__construct();
     global $db;
     $this->databaseName = $db['name'];
     $this->deleteLog($this->logfilename);
 }
예제 #4
0
    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;
    }
예제 #5
0
 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;
 }
예제 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->deleteLog($this->logfilename);
     $this->DataDir = dirname(__FILE__) . '/data/DynamicAnalysisSummary';
     $this->ParentId = 0;
     $this->StandaloneBuildId = 0;
     $this->ChildIds = array();
 }
예제 #7
0
 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;
     }
 }
예제 #8
0
 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;
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->deleteLog($this->logfilename);
     $this->DataDir = dirname(__FILE__) . '/data/AggregateSubProjectCoverage';
 }
예제 #10
0
 public function __construct()
 {
     parent::__construct();
     $this->MethodsToTest = array('Update', 'Configure', 'Build', 'Test');
 }
예제 #11
0
 function __construct()
 {
     parent::__construct();
     $this->deleteLog($this->logfilename);
 }
예제 #12
0
 function __construct()
 {
     parent::__construct();
     global $db;
     $this->databaseName = $db['name'];
 }
예제 #13
0
 public function __construct()
 {
     parent::__construct();
     global $CDASH_TESTING_RENAME_LOGS;
     $CDASH_TESTING_RENAME_LOGS = true;
 }
예제 #14
0
파일: sameImage.php 프로젝트: kitware/cdash
 public function __construct()
 {
     parent::__construct();
     global $configure;
     $this->url = $configure['urlwebsite'];
 }
예제 #15
0
 public function __construct()
 {
     parent::__construct();
     $this->OriginalConfigSettings = '';
 }
예제 #16
0
 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';
 }
예제 #17
0
 public function __construct()
 {
     parent::__construct();
     $this->ConfigLine = '$CDASH_BACKUP_TIMEFRAME = \'0\';';
 }
예제 #18
0
 public function __construct()
 {
     parent::__construct();
     $this->ProjectId = -1;
 }
예제 #19
0
 public function __construct()
 {
     parent::__construct();
     $this->BuildId = null;
 }
예제 #20
0
 public function __construct()
 {
     parent::__construct();
 }
예제 #21
0
 public function __construct()
 {
     parent::__construct();
     $this->ConfigFile = dirname(__FILE__) . '/../config/config.local.php';
 }