set up ezcomponents' bootstrap
This commit is contained in:
		
							parent
							
								
									b79abfd331
								
							
						
					
					
						commit
						89555b3e15
					
				| @ -17,6 +17,13 @@ | ||||
| 	Autoloader::loadClassMapFromFile(dirname(__FILE__) . '/manifest.php'); | ||||
| 	spl_autoload_register('Autoloader::autoload'); | ||||
| 	 | ||||
| 	/** | ||||
| 	 * Bootstraps ezComponents | ||||
| 	 */ | ||||
| 	require_once 'external/ezc/Base/base.php'; | ||||
| 	spl_autoload_register('ezcBase::autoload'); | ||||
| 	 | ||||
| 	//set up default code coverage filters
 | ||||
| 	CoverageFilter::addDefaultFilters(); | ||||
| 
 | ||||
| ?>
 | ||||
							
								
								
									
										2
									
								
								src/TUnit/external/ezc/Base/base.php
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/TUnit/external/ezc/Base/base.php
									
									
									
									
										vendored
									
									
								
							| @ -41,7 +41,7 @@ class ezcBase | ||||
|      * | ||||
|      * @var string | ||||
|      */ | ||||
|     private static $libraryMode = "tarball"; | ||||
|     private static $libraryMode = "pear"; | ||||
| 
 | ||||
|     /** | ||||
|      * Contains the current working directory, which is used when the | ||||
|  | ||||
							
								
								
									
										46
									
								
								src/TUnit/external/ezc/autoload/base_autoload.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								src/TUnit/external/ezc/autoload/base_autoload.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,46 @@ | ||||
| <?php | ||||
| /** | ||||
|  * Autoloader definition for the Base component. | ||||
|  * | ||||
|  * @copyright Copyright (C) 2005-2009 eZ systems as. All rights reserved. | ||||
|  * @license http://ez.no/licenses/new_bsd New BSD License | ||||
|  * @version 1.7 | ||||
|  * @filesource | ||||
|  * @package Base | ||||
|  */ | ||||
| 
 | ||||
| return array( | ||||
|     'ezcBaseException'                            => 'Base/exceptions/exception.php', | ||||
|     'ezcBaseFileException'                        => 'Base/exceptions/file_exception.php', | ||||
|     'ezcBaseAutoloadException'                    => 'Base/exceptions/autoload.php', | ||||
|     'ezcBaseDoubleClassRepositoryPrefixException' => 'Base/exceptions/double_class_repository_prefix.php', | ||||
|     'ezcBaseExtensionNotFoundException'           => 'Base/exceptions/extension_not_found.php', | ||||
|     'ezcBaseFileIoException'                      => 'Base/exceptions/file_io.php', | ||||
|     'ezcBaseFileNotFoundException'                => 'Base/exceptions/file_not_found.php', | ||||
|     'ezcBaseFilePermissionException'              => 'Base/exceptions/file_permission.php', | ||||
|     'ezcBaseFunctionalityNotSupportedException'   => 'Base/exceptions/functionality_not_supported.php', | ||||
|     'ezcBaseInitCallbackConfiguredException'      => 'Base/exceptions/init_callback_configured.php', | ||||
|     'ezcBaseInitInvalidCallbackClassException'    => 'Base/exceptions/invalid_callback_class.php', | ||||
|     'ezcBaseInvalidParentClassException'          => 'Base/exceptions/invalid_parent_class.php', | ||||
|     'ezcBasePropertyNotFoundException'            => 'Base/exceptions/property_not_found.php', | ||||
|     'ezcBasePropertyPermissionException'          => 'Base/exceptions/property_permission.php', | ||||
|     'ezcBaseSettingNotFoundException'             => 'Base/exceptions/setting_not_found.php', | ||||
|     'ezcBaseSettingValueException'                => 'Base/exceptions/setting_value.php', | ||||
|     'ezcBaseValueException'                       => 'Base/exceptions/value.php', | ||||
|     'ezcBaseWhateverException'                    => 'Base/exceptions/whatever.php', | ||||
|     'ezcBaseOptions'                              => 'Base/options.php', | ||||
|     'ezcBaseStruct'                               => 'Base/struct.php', | ||||
|     'ezcBase'                                     => 'Base/base.php', | ||||
|     'ezcBaseAutoloadOptions'                      => 'Base/options/autoload.php', | ||||
|     'ezcBaseConfigurationInitializer'             => 'Base/interfaces/configuration_initializer.php', | ||||
|     'ezcBaseFeatures'                             => 'Base/features.php', | ||||
|     'ezcBaseFile'                                 => 'Base/file.php', | ||||
|     'ezcBaseFileFindContext'                      => 'Base/structs/file_find_context.php', | ||||
|     'ezcBaseInit'                                 => 'Base/init.php', | ||||
|     'ezcBaseMetaData'                             => 'Base/metadata.php', | ||||
|     'ezcBaseMetaDataPearReader'                   => 'Base/metadata/pear.php', | ||||
|     'ezcBaseMetaDataTarballReader'                => 'Base/metadata/tarball.php', | ||||
|     'ezcBasePersistable'                          => 'Base/interfaces/persistable.php', | ||||
|     'ezcBaseRepositoryDirectory'                  => 'Base/structs/repository_directory.php', | ||||
| ); | ||||
| ?>
 | ||||
							
								
								
									
										125
									
								
								src/TUnit/external/ezc/autoload/graph_autoload.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								src/TUnit/external/ezc/autoload/graph_autoload.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,125 @@ | ||||
| <?php | ||||
| /** | ||||
|  * Autoloader definition for the Graph component. | ||||
|  * | ||||
|  * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved. | ||||
|  * @license http://ez.no/licenses/new_bsd New BSD License | ||||
|  * @version 1.4.3 | ||||
|  * @filesource | ||||
|  * @package Graph | ||||
|  */ | ||||
| 
 | ||||
| return array( | ||||
|     'ezcGraphException'                             => 'Graph/exceptions/exception.php', | ||||
|     'ezcGraphDatasetAverageInvalidKeysException'    => 'Graph/exceptions/invalid_keys.php', | ||||
|     'ezcGraphErrorParsingDateException'             => 'Graph/exceptions/date_parsing.php', | ||||
|     'ezcGraphFlashBitmapTypeException'              => 'Graph/exceptions/flash_bitmap_type.php', | ||||
|     'ezcGraphFontRenderingException'                => 'Graph/exceptions/font_rendering.php', | ||||
|     'ezcGraphGdDriverUnsupportedImageTypeException' => 'Graph/exceptions/unsupported_image_type.php', | ||||
|     'ezcGraphInvalidArrayDataSourceException'       => 'Graph/exceptions/invalid_data_source.php', | ||||
|     'ezcGraphInvalidAssignementException'           => 'Graph/exceptions/invalid_assignement.php', | ||||
|     'ezcGraphInvalidDataException'                  => 'Graph/exceptions/invalid_data.php', | ||||
|     'ezcGraphInvalidDisplayTypeException'           => 'Graph/exceptions/invalid_display_type.php', | ||||
|     'ezcGraphInvalidImageFileException'             => 'Graph/exceptions/invalid_image_file.php', | ||||
|     'ezcGraphInvalidStepSizeException'              => 'Graph/exceptions/invalid_step_size.php', | ||||
|     'ezcGraphMatrixInvalidDimensionsException'      => 'Graph/exceptions/invalid_dimensions.php', | ||||
|     'ezcGraphMatrixOutOfBoundingsException'         => 'Graph/exceptions/out_of_boundings.php', | ||||
|     'ezcGraphNoDataException'                       => 'Graph/exceptions/no_data.php', | ||||
|     'ezcGraphNoSuchDataException'                   => 'Graph/exceptions/no_such_data.php', | ||||
|     'ezcGraphNoSuchDataSetException'                => 'Graph/exceptions/no_such_dataset.php', | ||||
|     'ezcGraphNoSuchElementException'                => 'Graph/exceptions/no_such_element.php', | ||||
|     'ezcGraphOutOfLogithmicalBoundingsException'    => 'Graph/exceptions/out_of_logarithmical_boundings.php', | ||||
|     'ezcGraphReducementFailedException'             => 'Graph/exceptions/reducement_failed.php', | ||||
|     'ezcGraphSvgDriverInvalidIdException'           => 'Graph/exceptions/invalid_id.php', | ||||
|     'ezcGraphTooManyDataSetsExceptions'             => 'Graph/exceptions/too_many_datasets.php', | ||||
|     'ezcGraphToolsIncompatibleDriverException'      => 'Graph/exceptions/incompatible_driver.php', | ||||
|     'ezcGraphToolsNotRenderedException'             => 'Graph/exceptions/not_rendered.php', | ||||
|     'ezcGraphUnknownColorDefinitionException'       => 'Graph/exceptions/unknown_color_definition.php', | ||||
|     'ezcGraphUnknownFontTypeException'              => 'Graph/exceptions/font_type.php', | ||||
|     'ezcGraphUnregularStepsException'               => 'Graph/exceptions/unregular_steps.php', | ||||
|     'ezcGraphChart'                                 => 'Graph/interfaces/chart.php', | ||||
|     'ezcGraphChartElement'                          => 'Graph/interfaces/element.php', | ||||
|     'ezcGraphChartOptions'                          => 'Graph/options/chart.php', | ||||
|     'ezcGraphMatrix'                                => 'Graph/math/matrix.php', | ||||
|     'ezcGraphAxisLabelRenderer'                     => 'Graph/interfaces/axis_label_renderer.php', | ||||
|     'ezcGraphChartDataContainer'                    => 'Graph/data_container/base.php', | ||||
|     'ezcGraphChartElementAxis'                      => 'Graph/element/axis.php', | ||||
|     'ezcGraphColor'                                 => 'Graph/colors/color.php', | ||||
|     'ezcGraphCoordinate'                            => 'Graph/structs/coordinate.php', | ||||
|     'ezcGraphDataSet'                               => 'Graph/datasets/base.php', | ||||
|     'ezcGraphDataSetProperty'                       => 'Graph/interfaces/dataset_property.php', | ||||
|     'ezcGraphDriver'                                => 'Graph/interfaces/driver.php', | ||||
|     'ezcGraphDriverOptions'                         => 'Graph/options/driver.php', | ||||
|     'ezcGraphLineChart'                             => 'Graph/charts/line.php', | ||||
|     'ezcGraphOdometerRenderer'                      => 'Graph/interfaces/odometer_renderer.php', | ||||
|     'ezcGraphPalette'                               => 'Graph/interfaces/palette.php', | ||||
|     'ezcGraphRadarRenderer'                         => 'Graph/interfaces/radar_renderer.php', | ||||
|     'ezcGraphRenderer'                              => 'Graph/interfaces/renderer.php', | ||||
|     'ezcGraphRendererOptions'                       => 'Graph/options/renderer.php', | ||||
|     'ezcGraphStackedBarsRenderer'                   => 'Graph/interfaces/stacked_bar_renderer.php', | ||||
|     'ezcGraphTransformation'                        => 'Graph/math/transformation.php', | ||||
|     'ezcGraph'                                      => 'Graph/graph.php', | ||||
|     'ezcGraphArrayDataSet'                          => 'Graph/datasets/array.php', | ||||
|     'ezcGraphAxisBoxedLabelRenderer'                => 'Graph/renderer/axis_label_boxed.php', | ||||
|     'ezcGraphAxisCenteredLabelRenderer'             => 'Graph/renderer/axis_label_centered.php', | ||||
|     'ezcGraphAxisContainer'                         => 'Graph/axis/container.php', | ||||
|     'ezcGraphAxisExactLabelRenderer'                => 'Graph/renderer/axis_label_exact.php', | ||||
|     'ezcGraphAxisNoLabelRenderer'                   => 'Graph/renderer/axis_label_none.php', | ||||
|     'ezcGraphAxisRadarLabelRenderer'                => 'Graph/renderer/axis_label_radar.php', | ||||
|     'ezcGraphAxisRotatedLabelRenderer'              => 'Graph/renderer/axis_label_rotated.php', | ||||
|     'ezcGraphAxisStep'                              => 'Graph/structs/step.php', | ||||
|     'ezcGraphBarChart'                              => 'Graph/charts/bar.php', | ||||
|     'ezcGraphBoundings'                             => 'Graph/math/boundings.php', | ||||
|     'ezcGraphCairoDriver'                           => 'Graph/driver/cairo.php', | ||||
|     'ezcGraphCairoDriverOptions'                    => 'Graph/options/cairo_driver.php', | ||||
|     'ezcGraphChartElementBackground'                => 'Graph/element/background.php', | ||||
|     'ezcGraphChartElementDateAxis'                  => 'Graph/axis/date.php', | ||||
|     'ezcGraphChartElementLabeledAxis'               => 'Graph/axis/labeled.php', | ||||
|     'ezcGraphChartElementLegend'                    => 'Graph/element/legend.php', | ||||
|     'ezcGraphChartElementLogarithmicalAxis'         => 'Graph/axis/logarithmic.php', | ||||
|     'ezcGraphChartElementNumericAxis'               => 'Graph/axis/numeric.php', | ||||
|     'ezcGraphChartElementText'                      => 'Graph/element/text.php', | ||||
|     'ezcGraphChartSingleDataContainer'              => 'Graph/data_container/single.php', | ||||
|     'ezcGraphContext'                               => 'Graph/structs/context.php', | ||||
|     'ezcGraphDataSetAveragePolynom'                 => 'Graph/datasets/average.php', | ||||
|     'ezcGraphDataSetAxisProperty'                   => 'Graph/datasets/property/axis.php', | ||||
|     'ezcGraphDataSetBooleanProperty'                => 'Graph/datasets/property/boolean.php', | ||||
|     'ezcGraphDataSetColorProperty'                  => 'Graph/datasets/property/color.php', | ||||
|     'ezcGraphDataSetIntProperty'                    => 'Graph/datasets/property/integer.php', | ||||
|     'ezcGraphDataSetStringProperty'                 => 'Graph/datasets/property/string.php', | ||||
|     'ezcGraphFlashDriver'                           => 'Graph/driver/flash.php', | ||||
|     'ezcGraphFlashDriverOptions'                    => 'Graph/options/flash_driver.php', | ||||
|     'ezcGraphFontOptions'                           => 'Graph/options/font.php', | ||||
|     'ezcGraphGdDriver'                              => 'Graph/driver/gd.php', | ||||
|     'ezcGraphGdDriverOptions'                       => 'Graph/options/gd_driver.php', | ||||
|     'ezcGraphLineChartOptions'                      => 'Graph/options/line_chart.php', | ||||
|     'ezcGraphLinearGradient'                        => 'Graph/colors/linear_gradient.php', | ||||
|     'ezcGraphNumericDataSet'                        => 'Graph/datasets/numeric.php', | ||||
|     'ezcGraphOdometerChart'                         => 'Graph/charts/odometer.php', | ||||
|     'ezcGraphOdometerChartOptions'                  => 'Graph/options/odometer_chart.php', | ||||
|     'ezcGraphPaletteBlack'                          => 'Graph/palette/black.php', | ||||
|     'ezcGraphPaletteEz'                             => 'Graph/palette/ez.php', | ||||
|     'ezcGraphPaletteEzBlue'                         => 'Graph/palette/ez_blue.php', | ||||
|     'ezcGraphPaletteEzGreen'                        => 'Graph/palette/ez_green.php', | ||||
|     'ezcGraphPaletteEzRed'                          => 'Graph/palette/ez_red.php', | ||||
|     'ezcGraphPaletteTango'                          => 'Graph/palette/tango.php', | ||||
|     'ezcGraphPieChart'                              => 'Graph/charts/pie.php', | ||||
|     'ezcGraphPieChartOptions'                       => 'Graph/options/pie_chart.php', | ||||
|     'ezcGraphPolynom'                               => 'Graph/math/polynom.php', | ||||
|     'ezcGraphRadarChart'                            => 'Graph/charts/radar.php', | ||||
|     'ezcGraphRadarChartOptions'                     => 'Graph/options/radar_chart.php', | ||||
|     'ezcGraphRadialGradient'                        => 'Graph/colors/radial_gradient.php', | ||||
|     'ezcGraphRenderer2d'                            => 'Graph/renderer/2d.php', | ||||
|     'ezcGraphRenderer2dOptions'                     => 'Graph/options/renderer_2d.php', | ||||
|     'ezcGraphRenderer3d'                            => 'Graph/renderer/3d.php', | ||||
|     'ezcGraphRenderer3dOptions'                     => 'Graph/options/renderer_3d.php', | ||||
|     'ezcGraphRotation'                              => 'Graph/math/rotation.php', | ||||
|     'ezcGraphSvgDriver'                             => 'Graph/driver/svg.php', | ||||
|     'ezcGraphSvgDriverOptions'                      => 'Graph/options/svg_driver.php', | ||||
|     'ezcGraphSvgFont'                               => 'Graph/driver/svg_font.php', | ||||
|     'ezcGraphTools'                                 => 'Graph/tools.php', | ||||
|     'ezcGraphTranslation'                           => 'Graph/math/translation.php', | ||||
|     'ezcGraphVector'                                => 'Graph/math/vector.php', | ||||
|     'ezcGraphVerboseDriver'                         => 'Graph/driver/verbose.php', | ||||
| ); | ||||
| ?>
 | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user