当前位置: 首页>>代码示例>>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;未经允许,请勿转载。