CodeView

PHPUnit test harness for Komodo

base_create_raw_output.php

<?php
 
    /**
     * @author  Michael Heim
     * @link    http://www.zeilenwechsel.de/
     * @version 1.2.0
     * @license http://www.zeilenwechsel.de/it/code/browse/komodo-phpunit-harness/prod/license.txt
     */
 
    chdir( dirname( __file__ ) );
 
    require_once( '../../bootstrap.php' );
 
    $factory = DebugFactory::init( 'Base' );
 
    $factory
        ->create_bulk_output_generator_for_printer_options()
        ->set_output_dir( BASE_RAW_OUTPUT_DIR )
        ->create_output();
 
    foreach( BulkOutputGenerator::get_xml_config_dirs() as $integration_test_xml_config_dir ) {
 
        $factory
            ->create_bulk_output_generator_for_xml_config( $integration_test_xml_config_dir )
            ->set_output_dir( BASE_RAW_OUTPUT_DIR )
            ->create_output();
 
    }
 
?>