CodeView
Back to article:
prod
tests
integration
reference-output
Ko
resources
test-clones
xml
custom-file
default-file
dist-file
special
tools
Base
Ko
helpers
tasks
unit
<?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 */ /** * Generates reference output for the Komodo test harness, covering all combinations of harness switches. */ chdir( dirname( __file__ ) ); require_once( '../../bootstrap.php' ); $factory = DebugFactory::init( 'Ko' ); $factory ->create_bulk_output_generator_for_printer_options() ->set_output_dir( KO_REFERENCE_OUTPUT_DIR ) ->normalize_output() ->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( KO_REFERENCE_OUTPUT_DIR ) ->normalize_output() ->create_output(); } ?>