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


PHP Test::__construct方法代碼示例

本文整理匯總了PHP中Test::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Test::__construct方法的具體用法?PHP Test::__construct怎麽用?PHP Test::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Test的用法示例。


在下文中一共展示了Test::__construct方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 public function __construct($testName, $directory, $arkivstrukturFilename, $testResultsHandler, $testProperty)
 {
     parent::__construct($testName, $testProperty);
     $this->directory = $directory;
     $this->testResultsHandler = $testResultsHandler;
     $this->arkivstrukturFilename = $arkivstrukturFilename;
 }
開發者ID:HaakonME,項目名稱:noark5-validator,代碼行數:7,代碼來源:AllIncomingRegistryEntrySignedOffTest.php

示例2:

 function __construct($testName, $numberFromArkivUttrekk, $numberFromParsingArkivstruktur, $noark5File, $type, $testProperty)
 {
     parent::__construct($testName, $testProperty);
     $this->numberFromArkivUttrekk = $numberFromArkivUttrekk;
     $this->numberFromParsingArkivstruktur = $numberFromParsingArkivstruktur;
     $this->noark5File = $noark5File;
     $this->type = $type;
 }
開發者ID:KDRS-TEST,項目名稱:noark5-validator,代碼行數:8,代碼來源:CheckNumberObjectsArkivutrekk.php

示例3:

 function __construct($testName, $fileName, $directory, $checksumAlgorithm, $checksumValue, $testProperty)
 {
     parent::__construct($testName, $testProperty);
     $this->fileName = $fileName;
     $this->directory = $directory;
     $this->checksumAlgorithm = $checksumAlgorithm;
     $this->checksumValue = $checksumValue;
 }
開發者ID:KDRS-TEST,項目名稱:noark5-validator,代碼行數:8,代碼來源:ChecksumTest.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
     $this->m = "hello ";
     require 'route.php';
     new Route();
     Route::test();
 }
開發者ID:Topthinking,項目名稱:ci_study,代碼行數:8,代碼來源:controller.php

示例5:

 function __construct()
 {
     parent::__construct();
     self::$count++;
     if (!self::$initiated) {
         DatabaseManager::AddConnection($this->dbConfig(), "test");
         DatabaseManager::$DefaultIndex = "test";
         self::$initiated = true;
     }
 }
開發者ID:michalkoczwara,項目名稱:WebGoatPHP,代碼行數:10,代碼來源:test.php

示例6: __construct

	public function __construct($valor = NULL)
	{
		//INVOCO AL CONSTRUCTOR PADRE
		parent::__construct();
		
		if($valor != NULL)
			$this->atributoPropio = $valor;
		else
			$this->atributoPropio = "valor propio";
	}
開發者ID:JulBarrientos,項目名稱:parcial,代碼行數:10,代碼來源:claseDerivada.php

示例7:

 function __construct($testName, $fileName, $directory, $checksumAlgorithm, $checksumValue, $testProperty)
 {
     parent::__construct($testName, $testProperty);
     $this->fileName = $fileName;
     $this->directory = $directory;
     $this->checksumAlgorithm = $checksumAlgorithm;
     $this->checksumValue = $checksumValue;
     $this->logger->trace('Creating an instance of [' . get_class($this) . '] with the following values');
     $this->logger->trace('fileName [' . $this->fileName . ']');
     $this->logger->trace('directory [' . $this->directory . ']');
     $this->logger->trace('checksumAlgorithm [' . $this->checksumAlgorithm . ']');
     $this->logger->trace('checksumValue [' . $this->checksumValue . ']');
 }
開發者ID:HaakonME,項目名稱:noark5-validator,代碼行數:13,代碼來源:ChecksumTest.php

示例8: __construct

 public function __construct($testName, $directory, $runDirectory, $noark5StructureFile, $testResultsHandler, $arkivUtrekk, $infoFileHandler, $testProperty)
 {
     parent::__construct($testName, $testProperty);
     $this->directory = $directory;
     $this->testResultsHandler = $testResultsHandler;
     $this->arkivUtrekk = $arkivUtrekk;
     $this->infoFileHandler = $infoFileHandler;
     if (is_null($noark5StructureFile) == false) {
         $this->standardExtractionContents = simplexml_load_file($noark5StructureFile);
     } else {
         $this->standardExtractionContents = simplexml_load_file($runDirectory . DIRECTORY_SEPARATOR . Constants::LOCATION_OF_NOARK5_V31_STRUCTURE_FILE);
     }
     $this->arkivstrukturFilename = 'arkivstruktur.xml';
     $this->numberOfDocumentsProcessed = -1;
 }
開發者ID:KDRS-TEST,項目名稱:noark5-validator,代碼行數:15,代碼來源:StandardTest.php

示例9: __construct

 public function __construct($testName, $directory, $testResultsHandler, $infoFilename, $noark5StructureFile, $testsToRun, $testProperty)
 {
     parent::__construct($testName, $testProperty);
     $this->directory = $directory;
     $this->testResultsHandler = $testResultsHandler;
     // A list of files we expect to see in the directory and a list of xml-files to validate
     if ($noark5StructureFile !== null) {
         $this->standardExtractionContents = simplexml_load_file($noark5StructureFile);
     } else {
         $this->standardExtractionContents = simplexml_load_file(Constants::LOCATION_OF_NOARK5_V31_STRUCTURE_FILE);
     }
     if ($this->testsToRun === null) {
         $this->testsToRun = array();
         $this->setAllTestsRunnable();
     }
     $this->processArkivUttrekk();
     $this->processInfoFile($infoFilename);
     $this->arkivstrukturFilename = $this->arkivUttrekkDetails->getArkivstruktur()->getFilename();
 }
開發者ID:HaakonME,項目名稱:noark5-validator,代碼行數:19,代碼來源:StandardTest.php

示例10:

 function __construct($testName, $directory, $documentListHandler, $testProperty)
 {
     parent::__construct($testName, $testProperty);
     $this->directory = $directory;
     $this->documentListHandler = $documentListHandler;
 }
開發者ID:KDRS-TEST,項目名稱:noark5-validator,代碼行數:6,代碼來源:DocumentDirectoryTest.php

示例11:

 function __construct()
 {
     echo __METHOD__ . "()\n";
     parent::__construct();
 }
開發者ID:lihuibin,項目名稱:jphp,代碼行數:5,代碼來源:ctor_visibility.php

示例12:

 function __construct($testName, $directory, $fileName, $testProperty)
 {
     parent::__construct($testName, $testProperty);
     $this->fileName = $fileName;
     $this->directory = $directory;
 }
開發者ID:HaakonME,項目名稱:xml-analyse,代碼行數:6,代碼來源:XMLTest.php

示例13: array

 function __construct()
 {
     $this->waiting_procs = array();
     $this->running_procs = array();
     parent::__construct();
 }
開發者ID:michaelprem,項目名稱:phc,代碼行數:6,代碼來源:async_test.php

示例14: array

 function __construct()
 {
     $this->waiting_procs = array();
     $this->running_procs = array();
     $this->reductions = array();
     $this->reduction_result = array();
     $this->is_special_reduction = array();
     parent::__construct();
 }
開發者ID:michaelprem,項目名稱:phc,代碼行數:9,代碼來源:async_test.php

示例15: __construct

 /**
  *
  * @param
  *            $testName
  *
  * @param
  *            $testProperty
  *
  */
 public function __construct($testName, $testProperty)
 {
     parent::__construct($testName, $testProperty);
 }
開發者ID:HaakonME,項目名稱:noark5-validator,代碼行數:13,代碼來源:DirectoryContentsTest.php


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