Ejemplo n.º 1
0
 /**
  * Sets up fixture for this testcase
  *
  */
 public function setUp()
 {
     $settings = Tx_Yag_Tests_DefaultTsConfig::getInstance()->tsConfigArray;
     $this->fixture = new Tx_Yag_Domain_Configuration_ConfigurationBuilder($settings['plugin']['tx_yag']['settings'], 'test', 'test');
 }
 /**
  * @test
  */
 public function constructorReturnsConfiguration()
 {
     $configurationBuilder = Tx_Yag_Tests_DefaultTsConfig::getInstance()->getDefaultConfigurationBuilder();
     $processorConfiguration = new Tx_Yag_Domain_Configuration_ImageProcessing_ImageProcessorConfiguration($configurationBuilder, $configurationBuilder->getSettingsForConfigObject('imageProcessor'));
     $this->assertTrue(is_a($processorConfiguration, 'Tx_Yag_Domain_Configuration_ImageProcessing_ImageProcessorConfiguration'));
 }
Ejemplo n.º 3
0
 /**
  * Sets up testcase
  */
 public function setUp()
 {
     $configurationBuilder = Tx_Yag_Tests_DefaultTsConfig::getInstance()->getDefaultConfigurationBuilder();
     $this->fixture = new Tx_Yag_Domain_Import_FileCrawler($configurationBuilder->buildImporterConfiguration());
 }