From 6f9cad0eba39a8514adc6611391ac24b4a3f8dc9 Mon Sep 17 00:00:00 2001 From: tmont Date: Wed, 1 Jul 2009 07:24:21 +0000 Subject: [PATCH] renamed TUnit to Testify --- build.xml | 2 +- properties/product.properties | 2 +- src/TUnit/manifest.php | 74 ------------------ src/{TUnit => Testify}/bootstrap.php | 4 +- .../external/ezc/Base/base.php | 0 .../external/ezc/Base/exceptions/autoload.php | 0 .../double_class_repository_prefix.php | 0 .../ezc/Base/exceptions/exception.php | 0 .../Base/exceptions/extension_not_found.php | 0 .../ezc/Base/exceptions/file_exception.php | 0 .../external/ezc/Base/exceptions/file_io.php | 0 .../ezc/Base/exceptions/file_not_found.php | 0 .../ezc/Base/exceptions/file_permission.php | 0 .../functionality_not_supported.php | 0 .../exceptions/init_callback_configured.php | 0 .../exceptions/invalid_callback_class.php | 0 .../Base/exceptions/invalid_parent_class.php | 0 .../Base/exceptions/property_not_found.php | 0 .../Base/exceptions/property_permission.php | 0 .../ezc/Base/exceptions/setting_not_found.php | 0 .../ezc/Base/exceptions/setting_value.php | 0 .../external/ezc/Base/exceptions/value.php | 0 .../external/ezc/Base/exceptions/whatever.php | 0 .../external/ezc/Base/ezc_bootstrap.php | 0 .../external/ezc/Base/features.php | 0 .../external/ezc/Base/file.php | 0 .../external/ezc/Base/init.php | 0 .../interfaces/configuration_initializer.php | 0 .../ezc/Base/interfaces/persistable.php | 0 .../external/ezc/Base/metadata.php | 0 .../external/ezc/Base/metadata/pear.php | 0 .../external/ezc/Base/metadata/tarball.php | 0 .../external/ezc/Base/options.php | 0 .../external/ezc/Base/options/autoload.php | 0 .../external/ezc/Base/struct.php | 0 .../ezc/Base/structs/file_find_context.php | 0 .../ezc/Base/structs/repository_directory.php | 0 .../external/ezc/Graph/axis/container.php | 0 .../external/ezc/Graph/axis/date.php | 0 .../external/ezc/Graph/axis/labeled.php | 0 .../external/ezc/Graph/axis/logarithmic.php | 0 .../external/ezc/Graph/axis/numeric.php | 0 .../external/ezc/Graph/charts/bar.php | 0 .../external/ezc/Graph/charts/line.php | 0 .../external/ezc/Graph/charts/odometer.php | 0 .../external/ezc/Graph/charts/pie.php | 0 .../external/ezc/Graph/charts/radar.php | 0 .../external/ezc/Graph/colors/color.php | 0 .../ezc/Graph/colors/linear_gradient.php | 0 .../ezc/Graph/colors/radial_gradient.php | 0 .../ezc/Graph/data_container/base.php | 0 .../ezc/Graph/data_container/single.php | 0 .../external/ezc/Graph/datasets/array.php | 0 .../external/ezc/Graph/datasets/average.php | 0 .../external/ezc/Graph/datasets/base.php | 0 .../external/ezc/Graph/datasets/numeric.php | 0 .../ezc/Graph/datasets/property/axis.php | 0 .../ezc/Graph/datasets/property/boolean.php | 0 .../ezc/Graph/datasets/property/color.php | 0 .../ezc/Graph/datasets/property/integer.php | 0 .../ezc/Graph/datasets/property/string.php | 0 .../external/ezc/Graph/driver/cairo.php | 0 .../external/ezc/Graph/driver/flash.php | 0 .../external/ezc/Graph/driver/gd.php | 0 .../external/ezc/Graph/driver/svg.php | 4 +- .../external/ezc/Graph/driver/svg_font.php | 0 .../external/ezc/Graph/driver/verbose.php | 0 .../external/ezc/Graph/element/axis.php | 0 .../external/ezc/Graph/element/background.php | 0 .../external/ezc/Graph/element/legend.php | 0 .../external/ezc/Graph/element/text.php | 0 .../ezc/Graph/exceptions/date_parsing.php | 0 .../ezc/Graph/exceptions/exception.php | 0 .../Graph/exceptions/flash_bitmap_type.php | 0 .../ezc/Graph/exceptions/font_rendering.php | 0 .../ezc/Graph/exceptions/font_type.php | 0 .../Graph/exceptions/incompatible_driver.php | 0 .../Graph/exceptions/invalid_assignement.php | 0 .../ezc/Graph/exceptions/invalid_data.php | 0 .../Graph/exceptions/invalid_data_source.php | 0 .../Graph/exceptions/invalid_dimensions.php | 0 .../Graph/exceptions/invalid_display_type.php | 0 .../ezc/Graph/exceptions/invalid_id.php | 0 .../Graph/exceptions/invalid_image_file.php | 0 .../ezc/Graph/exceptions/invalid_keys.php | 0 .../Graph/exceptions/invalid_step_size.php | 0 .../external/ezc/Graph/exceptions/no_data.php | 0 .../ezc/Graph/exceptions/no_such_data.php | 0 .../ezc/Graph/exceptions/no_such_dataset.php | 0 .../ezc/Graph/exceptions/no_such_element.php | 0 .../ezc/Graph/exceptions/not_rendered.php | 0 .../ezc/Graph/exceptions/out_of_boundings.php | 0 .../out_of_logarithmical_boundings.php | 0 .../Graph/exceptions/reducement_failed.php | 0 .../Graph/exceptions/too_many_datasets.php | 0 .../exceptions/unknown_color_definition.php | 0 .../ezc/Graph/exceptions/unregular_steps.php | 0 .../exceptions/unsupported_image_type.php | 0 .../external/ezc/Graph/graph.php | 0 .../Graph/interfaces/axis_label_renderer.php | 0 .../external/ezc/Graph/interfaces/chart.php | 0 .../ezc/Graph/interfaces/dataset_property.php | 0 .../external/ezc/Graph/interfaces/driver.php | 0 .../external/ezc/Graph/interfaces/element.php | 0 .../Graph/interfaces/odometer_renderer.php | 0 .../external/ezc/Graph/interfaces/palette.php | 0 .../ezc/Graph/interfaces/radar_renderer.php | 0 .../ezc/Graph/interfaces/renderer.php | 0 .../Graph/interfaces/stacked_bar_renderer.php | 0 .../external/ezc/Graph/math/boundings.php | 0 .../external/ezc/Graph/math/matrix.php | 0 .../external/ezc/Graph/math/polynom.php | 0 .../external/ezc/Graph/math/rotation.php | 0 .../ezc/Graph/math/transformation.php | 0 .../external/ezc/Graph/math/translation.php | 0 .../external/ezc/Graph/math/vector.php | 0 .../ezc/Graph/options/cairo_driver.php | 0 .../external/ezc/Graph/options/chart.php | 0 .../external/ezc/Graph/options/driver.php | 0 .../ezc/Graph/options/flash_driver.php | 0 .../external/ezc/Graph/options/font.php | 0 .../external/ezc/Graph/options/gd_driver.php | 0 .../external/ezc/Graph/options/line_chart.php | 0 .../ezc/Graph/options/odometer_chart.php | 0 .../external/ezc/Graph/options/pie_chart.php | 0 .../ezc/Graph/options/radar_chart.php | 0 .../external/ezc/Graph/options/renderer.php | 0 .../ezc/Graph/options/renderer_2d.php | 0 .../ezc/Graph/options/renderer_3d.php | 0 .../external/ezc/Graph/options/svg_driver.php | 0 .../external/ezc/Graph/palette/black.php | 0 .../external/ezc/Graph/palette/ez.php | 0 .../external/ezc/Graph/palette/ez_blue.php | 0 .../external/ezc/Graph/palette/ez_green.php | 0 .../external/ezc/Graph/palette/ez_red.php | 0 .../external/ezc/Graph/palette/tango.php | 0 .../external/ezc/Graph/renderer/2d.php | 0 .../external/ezc/Graph/renderer/3d.php | 0 .../ezc/Graph/renderer/axis_label_boxed.php | 0 .../Graph/renderer/axis_label_centered.php | 0 .../ezc/Graph/renderer/axis_label_exact.php | 0 .../ezc/Graph/renderer/axis_label_none.php | 0 .../ezc/Graph/renderer/axis_label_radar.php | 0 .../ezc/Graph/renderer/axis_label_rotated.php | 0 .../external/ezc/Graph/structs/context.php | 0 .../external/ezc/Graph/structs/coordinate.php | 0 .../external/ezc/Graph/structs/step.php | 0 .../external/ezc/Graph/tools.php | 0 .../external/ezc/autoload/base_autoload.php | 0 .../external/ezc/autoload/graph_autoload.php | 0 src/{TUnit => Testify}/framework/Assert.php | 4 +- .../framework/BaseTestRunner.php | 6 +- .../framework/ConsoleTestRunner.php | 8 +- .../framework/constraints/Constraint.php | 4 +- .../constraints/DefaultConstraint.php | 4 +- .../framework/constraints/EqualConstraint.php | 4 +- .../constraints/IdenticalConstraint.php | 4 +- .../framework/constraints/NotConstraint.php | 4 +- .../constraints/SimpleConstraints.php | 14 ++-- .../framework/exceptions/Exceptions.php | 12 +-- .../framework/listeners/ConsoleListener.php | 4 +- .../framework/listeners/TestListener.php | 8 +- .../framework/mock/InvocationExpectation.php | 4 +- .../framework/mock/InvocationTracker.php | 4 +- .../framework/mock/MockHandler.php | 4 +- .../framework/mock/MockInvocation.php | 4 +- .../framework/mock/MockObjectCreator.php | 6 +- .../framework/mock/MockRegistry.php | 4 +- .../framework/reporting/CoverageFilter.php | 0 .../framework/reporting/CoverageGraphs.php | 0 .../framework/reporting/CoverageReporter.php | 2 +- .../framework/reporting/data/consolas.ttf | Bin .../reporting/template/directory.html | 2 +- .../framework/reporting/template/file.html | 2 +- .../framework/reporting/template/style.css | 0 .../framework/reporting/template/tunit.js | 0 .../framework/result/CombinedTestResult.php | 4 +- .../framework/result/FailedTest.php | 10 +-- .../framework/result/SingleTestResults.php | 12 +-- .../framework/result/TestResult.php | 4 +- .../framework/test/TestCase.php | 4 +- .../framework/test/TestMethod.php | 6 +- .../framework/test/TestSuite.php | 4 +- .../framework/test/Testable.php | 8 +- src/Testify/manifest.php | 74 ++++++++++++++++++ src/{TUnit => Testify}/util/Autoloader.php | 6 +- .../util/PhpFileIterator.php | 6 +- .../util/RecursiveTestIterator.php | 4 +- .../util/TestAccumulator.php | 4 +- src/{TUnit => Testify}/util/Util.php | 4 +- src/{TUnit => Testify}/util/cli.php | 8 +- src/{TUnit => Testify}/util/entry_console.php | 6 +- src/testify.bat | 2 + src/tunit.bat | 2 - 194 files changed, 181 insertions(+), 181 deletions(-) delete mode 100644 src/TUnit/manifest.php rename src/{TUnit => Testify}/bootstrap.php (90%) rename src/{TUnit => Testify}/external/ezc/Base/base.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/autoload.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/double_class_repository_prefix.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/exception.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/extension_not_found.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/file_exception.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/file_io.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/file_not_found.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/file_permission.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/functionality_not_supported.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/init_callback_configured.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/invalid_callback_class.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/invalid_parent_class.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/property_not_found.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/property_permission.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/setting_not_found.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/setting_value.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/value.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/exceptions/whatever.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/ezc_bootstrap.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/features.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/file.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/init.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/interfaces/configuration_initializer.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/interfaces/persistable.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/metadata.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/metadata/pear.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/metadata/tarball.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/options.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/options/autoload.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/struct.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/structs/file_find_context.php (100%) rename src/{TUnit => Testify}/external/ezc/Base/structs/repository_directory.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/axis/container.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/axis/date.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/axis/labeled.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/axis/logarithmic.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/axis/numeric.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/charts/bar.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/charts/line.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/charts/odometer.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/charts/pie.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/charts/radar.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/colors/color.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/colors/linear_gradient.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/colors/radial_gradient.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/data_container/base.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/data_container/single.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/datasets/array.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/datasets/average.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/datasets/base.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/datasets/numeric.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/datasets/property/axis.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/datasets/property/boolean.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/datasets/property/color.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/datasets/property/integer.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/datasets/property/string.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/driver/cairo.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/driver/flash.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/driver/gd.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/driver/svg.php (99%) rename src/{TUnit => Testify}/external/ezc/Graph/driver/svg_font.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/driver/verbose.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/element/axis.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/element/background.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/element/legend.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/element/text.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/date_parsing.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/exception.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/flash_bitmap_type.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/font_rendering.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/font_type.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/incompatible_driver.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/invalid_assignement.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/invalid_data.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/invalid_data_source.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/invalid_dimensions.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/invalid_display_type.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/invalid_id.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/invalid_image_file.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/invalid_keys.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/invalid_step_size.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/no_data.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/no_such_data.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/no_such_dataset.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/no_such_element.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/not_rendered.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/out_of_boundings.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/out_of_logarithmical_boundings.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/reducement_failed.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/too_many_datasets.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/unknown_color_definition.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/unregular_steps.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/exceptions/unsupported_image_type.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/graph.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/axis_label_renderer.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/chart.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/dataset_property.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/driver.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/element.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/odometer_renderer.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/palette.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/radar_renderer.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/renderer.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/interfaces/stacked_bar_renderer.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/math/boundings.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/math/matrix.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/math/polynom.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/math/rotation.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/math/transformation.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/math/translation.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/math/vector.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/cairo_driver.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/chart.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/driver.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/flash_driver.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/font.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/gd_driver.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/line_chart.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/odometer_chart.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/pie_chart.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/radar_chart.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/renderer.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/renderer_2d.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/renderer_3d.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/options/svg_driver.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/palette/black.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/palette/ez.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/palette/ez_blue.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/palette/ez_green.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/palette/ez_red.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/palette/tango.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/renderer/2d.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/renderer/3d.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/renderer/axis_label_boxed.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/renderer/axis_label_centered.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/renderer/axis_label_exact.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/renderer/axis_label_none.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/renderer/axis_label_radar.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/renderer/axis_label_rotated.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/structs/context.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/structs/coordinate.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/structs/step.php (100%) rename src/{TUnit => Testify}/external/ezc/Graph/tools.php (100%) rename src/{TUnit => Testify}/external/ezc/autoload/base_autoload.php (100%) rename src/{TUnit => Testify}/external/ezc/autoload/graph_autoload.php (100%) rename src/{TUnit => Testify}/framework/Assert.php (99%) rename src/{TUnit => Testify}/framework/BaseTestRunner.php (98%) rename src/{TUnit => Testify}/framework/ConsoleTestRunner.php (95%) rename src/{TUnit => Testify}/framework/constraints/Constraint.php (96%) rename src/{TUnit => Testify}/framework/constraints/DefaultConstraint.php (94%) rename src/{TUnit => Testify}/framework/constraints/EqualConstraint.php (94%) rename src/{TUnit => Testify}/framework/constraints/IdenticalConstraint.php (94%) rename src/{TUnit => Testify}/framework/constraints/NotConstraint.php (97%) rename src/{TUnit => Testify}/framework/constraints/SimpleConstraints.php (96%) rename src/{TUnit => Testify}/framework/exceptions/Exceptions.php (79%) rename src/{TUnit => Testify}/framework/listeners/ConsoleListener.php (99%) rename src/{TUnit => Testify}/framework/listeners/TestListener.php (96%) rename src/{TUnit => Testify}/framework/mock/InvocationExpectation.php (99%) rename src/{TUnit => Testify}/framework/mock/InvocationTracker.php (97%) rename src/{TUnit => Testify}/framework/mock/MockHandler.php (96%) rename src/{TUnit => Testify}/framework/mock/MockInvocation.php (97%) rename src/{TUnit => Testify}/framework/mock/MockObjectCreator.php (99%) rename src/{TUnit => Testify}/framework/mock/MockRegistry.php (99%) rename src/{TUnit => Testify}/framework/reporting/CoverageFilter.php (100%) rename src/{TUnit => Testify}/framework/reporting/CoverageGraphs.php (100%) rename src/{TUnit => Testify}/framework/reporting/CoverageReporter.php (99%) rename src/{TUnit => Testify}/framework/reporting/data/consolas.ttf (100%) rename src/{TUnit => Testify}/framework/reporting/template/directory.html (94%) rename src/{TUnit => Testify}/framework/reporting/template/file.html (95%) rename src/{TUnit => Testify}/framework/reporting/template/style.css (100%) rename src/{TUnit => Testify}/framework/reporting/template/tunit.js (100%) rename src/{TUnit => Testify}/framework/result/CombinedTestResult.php (98%) rename src/{TUnit => Testify}/framework/result/FailedTest.php (95%) rename src/{TUnit => Testify}/framework/result/SingleTestResults.php (96%) rename src/{TUnit => Testify}/framework/result/TestResult.php (92%) rename src/{TUnit => Testify}/framework/test/TestCase.php (99%) rename src/{TUnit => Testify}/framework/test/TestMethod.php (97%) rename src/{TUnit => Testify}/framework/test/TestSuite.php (98%) rename src/{TUnit => Testify}/framework/test/Testable.php (88%) create mode 100644 src/Testify/manifest.php rename src/{TUnit => Testify}/util/Autoloader.php (96%) rename src/{TUnit => Testify}/util/PhpFileIterator.php (96%) rename src/{TUnit => Testify}/util/RecursiveTestIterator.php (95%) rename src/{TUnit => Testify}/util/TestAccumulator.php (98%) rename src/{TUnit => Testify}/util/Util.php (99%) rename src/{TUnit => Testify}/util/cli.php (99%) rename src/{TUnit => Testify}/util/entry_console.php (97%) create mode 100644 src/testify.bat delete mode 100644 src/tunit.bat diff --git a/build.xml b/build.xml index d3027b5..1d45b4b 100644 --- a/build.xml +++ b/build.xml @@ -1,4 +1,4 @@ - + diff --git a/properties/product.properties b/properties/product.properties index e1c744b..653f6a9 100644 --- a/properties/product.properties +++ b/properties/product.properties @@ -1,4 +1,4 @@ -name=TUnit +name=Testify version=0.6.0 author="Tommy Montgomery" website=http://tommymontgomery.com/ diff --git a/src/TUnit/manifest.php b/src/TUnit/manifest.php deleted file mode 100644 index 62a1db5..0000000 --- a/src/TUnit/manifest.php +++ /dev/null @@ -1,74 +0,0 @@ - 'TUnit/framework/Assert.php', - 'Autoloader' => 'TUnit/util/Autoloader.php', - 'Cli' => 'TUnit/util/cli.php', - 'CliSwitch' => 'TUnit/util/cli.php', - 'CliSwitchCollection' => 'TUnit/util/cli.php', - 'CombinedTestResult' => 'TUnit/framework/result/CombinedTestResult.php', - 'ConsoleListener' => 'TUnit/framework/listeners/ConsoleListener.php', - 'ConsoleTestRunner' => 'TUnit/framework/ConsoleTestRunner.php', - 'Constraint' => 'TUnit/framework/constraints/Constraint.php', - 'CoverageDriver' => 'TUnit/framework/reporting/CoverageGraphs.php', - 'CoverageFilter' => 'TUnit/framework/reporting/CoverageFilter.php', - 'CoveragePalette' => 'TUnit/framework/reporting/CoverageGraphs.php', - 'CoveragePieChart' => 'TUnit/framework/reporting/CoverageGraphs.php', - 'CoverageRenderer' => 'TUnit/framework/reporting/CoverageGraphs.php', - 'CoverageReporter' => 'TUnit/framework/reporting/CoverageReporter.php', - 'DefaultConstraint' => 'TUnit/framework/constraints/DefaultConstraint.php', - 'EmptyConstraint' => 'TUnit/framework/constraints/SimpleConstraints.php', - 'EqualConstraint' => 'TUnit/framework/constraints/EqualConstraint.php', - 'ErredTest' => 'TUnit/framework/result/FailedTest.php', - 'ErredTestResult' => 'TUnit/framework/result/SingleTestResults.php', - 'FailedTest' => 'TUnit/framework/result/FailedTest.php', - 'FailedTestResult' => 'TUnit/framework/result/SingleTestResults.php', - 'FalseConstraint' => 'TUnit/framework/constraints/SimpleConstraints.php', - 'IdenticalConstraint' => 'TUnit/framework/constraints/IdenticalConstraint.php', - 'IgnoredTest' => 'TUnit/framework/result/FailedTest.php', - 'IgnoredTestResult' => 'TUnit/framework/result/SingleTestResults.php', - 'InvalidOptionException' => 'TUnit/framework/exceptions/Exceptions.php', - 'InvocationExpectation' => 'TUnit/framework/mock/InvocationExpectation.php', - 'InvocationTracker' => 'TUnit/framework/mock/InvocationTracker.php', - 'IssetConstraint' => 'TUnit/framework/constraints/SimpleConstraints.php', - 'MockHandler' => 'TUnit/framework/mock/MockHandler.php', - 'MockInvocation' => 'TUnit/framework/mock/MockInvocation.php', - 'MockObject' => 'TUnit/framework/mock/MockObjectCreator.php', - 'MockObjectCreator' => 'TUnit/framework/mock/MockObjectCreator.php', - 'MockRegistry' => 'TUnit/framework/mock/MockRegistry.php', - 'NotConstraint' => 'TUnit/framework/constraints/NotConstraint.php', - 'NullConstraint' => 'TUnit/framework/constraints/SimpleConstraints.php', - 'PassedTestResult' => 'TUnit/framework/result/SingleTestResults.php', - 'PhpFileIterator' => 'TUnit/util/PhpFileIterator.php', - 'Product' => 'TUnit/util/Product.php', - 'RecursivePhpFileIterator' => 'TUnit/util/PhpFileIterator.php', - 'RecursiveTestIterator' => 'TUnit/util/RecursiveTestIterator.php', - 'RecursivelyCountable' => 'TUnit/framework/test/Testable.php', - 'SimpleConstraint' => 'TUnit/framework/constraints/SimpleConstraints.php', - 'SingleTestResult' => 'TUnit/framework/result/SingleTestResults.php', - 'TUnitException' => 'TUnit/framework/exceptions/Exceptions.php', - 'TestAccumulator' => 'TUnit/util/TestAccumulator.php', - 'TestCase' => 'TUnit/framework/test/TestCase.php', - 'TestFailure' => 'TUnit/framework/result/FailedTest.php', - 'TestListener' => 'TUnit/framework/listeners/TestListener.php', - 'TestMethod' => 'TUnit/framework/test/TestMethod.php', - 'TestResult' => 'TUnit/framework/result/TestResult.php', - 'TestRunner' => 'TUnit/framework/BaseTestRunner.php', - 'TestSuite' => 'TUnit/framework/test/TestSuite.php', - 'Testable' => 'TUnit/framework/test/Testable.php', - 'TrueConstraint' => 'TUnit/framework/constraints/SimpleConstraints.php', - 'Usage' => 'TUnit/util/cli.php', - 'Util' => 'TUnit/util/Util.php' - ); - -?> \ No newline at end of file diff --git a/src/TUnit/bootstrap.php b/src/Testify/bootstrap.php similarity index 90% rename from src/TUnit/bootstrap.php rename to src/Testify/bootstrap.php index b385276..bef2ce4 100644 --- a/src/TUnit/bootstrap.php +++ b/src/Testify/bootstrap.php @@ -1,9 +1,9 @@ setAttribute( 'y1', sprintf( '%.4F', $color->startPoint->y ) ); $gradient->setAttribute( 'x2', sprintf( '%.4F', $color->endPoint->x ) ); $gradient->setAttribute( 'y2', sprintf( '%.4F', $color->endPoint->y ) ); - $gradient->setAttribute( 'gradientUnits', 'userSpaceOnUse' ); + $gradient->setAttribute( 'gradienTestifys', 'userSpaceOnUse' ); $gradient->setAttributeNS( 'http://www.w3.org/1999/xlink', 'xlink:href', @@ -289,7 +289,7 @@ class ezcGraphSvgDriver extends ezcGraphDriver $gradient->setAttribute( 'fx', sprintf( '%.4F', $color->center->x ) ); $gradient->setAttribute( 'fy', sprintf( '%.4F', $color->center->y ) ); $gradient->setAttribute( 'r', max( $color->height, $color->width ) ); - $gradient->setAttribute( 'gradientUnits', 'userSpaceOnUse' ); + $gradient->setAttribute( 'gradienTestifys', 'userSpaceOnUse' ); $gradient->setAttributeNS( 'http://www.w3.org/1999/xlink', 'xlink:href', diff --git a/src/TUnit/external/ezc/Graph/driver/svg_font.php b/src/Testify/external/ezc/Graph/driver/svg_font.php similarity index 100% rename from src/TUnit/external/ezc/Graph/driver/svg_font.php rename to src/Testify/external/ezc/Graph/driver/svg_font.php diff --git a/src/TUnit/external/ezc/Graph/driver/verbose.php b/src/Testify/external/ezc/Graph/driver/verbose.php similarity index 100% rename from src/TUnit/external/ezc/Graph/driver/verbose.php rename to src/Testify/external/ezc/Graph/driver/verbose.php diff --git a/src/TUnit/external/ezc/Graph/element/axis.php b/src/Testify/external/ezc/Graph/element/axis.php similarity index 100% rename from src/TUnit/external/ezc/Graph/element/axis.php rename to src/Testify/external/ezc/Graph/element/axis.php diff --git a/src/TUnit/external/ezc/Graph/element/background.php b/src/Testify/external/ezc/Graph/element/background.php similarity index 100% rename from src/TUnit/external/ezc/Graph/element/background.php rename to src/Testify/external/ezc/Graph/element/background.php diff --git a/src/TUnit/external/ezc/Graph/element/legend.php b/src/Testify/external/ezc/Graph/element/legend.php similarity index 100% rename from src/TUnit/external/ezc/Graph/element/legend.php rename to src/Testify/external/ezc/Graph/element/legend.php diff --git a/src/TUnit/external/ezc/Graph/element/text.php b/src/Testify/external/ezc/Graph/element/text.php similarity index 100% rename from src/TUnit/external/ezc/Graph/element/text.php rename to src/Testify/external/ezc/Graph/element/text.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/date_parsing.php b/src/Testify/external/ezc/Graph/exceptions/date_parsing.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/date_parsing.php rename to src/Testify/external/ezc/Graph/exceptions/date_parsing.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/exception.php b/src/Testify/external/ezc/Graph/exceptions/exception.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/exception.php rename to src/Testify/external/ezc/Graph/exceptions/exception.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/flash_bitmap_type.php b/src/Testify/external/ezc/Graph/exceptions/flash_bitmap_type.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/flash_bitmap_type.php rename to src/Testify/external/ezc/Graph/exceptions/flash_bitmap_type.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/font_rendering.php b/src/Testify/external/ezc/Graph/exceptions/font_rendering.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/font_rendering.php rename to src/Testify/external/ezc/Graph/exceptions/font_rendering.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/font_type.php b/src/Testify/external/ezc/Graph/exceptions/font_type.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/font_type.php rename to src/Testify/external/ezc/Graph/exceptions/font_type.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/incompatible_driver.php b/src/Testify/external/ezc/Graph/exceptions/incompatible_driver.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/incompatible_driver.php rename to src/Testify/external/ezc/Graph/exceptions/incompatible_driver.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/invalid_assignement.php b/src/Testify/external/ezc/Graph/exceptions/invalid_assignement.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/invalid_assignement.php rename to src/Testify/external/ezc/Graph/exceptions/invalid_assignement.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/invalid_data.php b/src/Testify/external/ezc/Graph/exceptions/invalid_data.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/invalid_data.php rename to src/Testify/external/ezc/Graph/exceptions/invalid_data.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/invalid_data_source.php b/src/Testify/external/ezc/Graph/exceptions/invalid_data_source.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/invalid_data_source.php rename to src/Testify/external/ezc/Graph/exceptions/invalid_data_source.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/invalid_dimensions.php b/src/Testify/external/ezc/Graph/exceptions/invalid_dimensions.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/invalid_dimensions.php rename to src/Testify/external/ezc/Graph/exceptions/invalid_dimensions.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/invalid_display_type.php b/src/Testify/external/ezc/Graph/exceptions/invalid_display_type.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/invalid_display_type.php rename to src/Testify/external/ezc/Graph/exceptions/invalid_display_type.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/invalid_id.php b/src/Testify/external/ezc/Graph/exceptions/invalid_id.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/invalid_id.php rename to src/Testify/external/ezc/Graph/exceptions/invalid_id.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/invalid_image_file.php b/src/Testify/external/ezc/Graph/exceptions/invalid_image_file.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/invalid_image_file.php rename to src/Testify/external/ezc/Graph/exceptions/invalid_image_file.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/invalid_keys.php b/src/Testify/external/ezc/Graph/exceptions/invalid_keys.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/invalid_keys.php rename to src/Testify/external/ezc/Graph/exceptions/invalid_keys.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/invalid_step_size.php b/src/Testify/external/ezc/Graph/exceptions/invalid_step_size.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/invalid_step_size.php rename to src/Testify/external/ezc/Graph/exceptions/invalid_step_size.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/no_data.php b/src/Testify/external/ezc/Graph/exceptions/no_data.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/no_data.php rename to src/Testify/external/ezc/Graph/exceptions/no_data.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/no_such_data.php b/src/Testify/external/ezc/Graph/exceptions/no_such_data.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/no_such_data.php rename to src/Testify/external/ezc/Graph/exceptions/no_such_data.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/no_such_dataset.php b/src/Testify/external/ezc/Graph/exceptions/no_such_dataset.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/no_such_dataset.php rename to src/Testify/external/ezc/Graph/exceptions/no_such_dataset.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/no_such_element.php b/src/Testify/external/ezc/Graph/exceptions/no_such_element.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/no_such_element.php rename to src/Testify/external/ezc/Graph/exceptions/no_such_element.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/not_rendered.php b/src/Testify/external/ezc/Graph/exceptions/not_rendered.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/not_rendered.php rename to src/Testify/external/ezc/Graph/exceptions/not_rendered.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/out_of_boundings.php b/src/Testify/external/ezc/Graph/exceptions/out_of_boundings.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/out_of_boundings.php rename to src/Testify/external/ezc/Graph/exceptions/out_of_boundings.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/out_of_logarithmical_boundings.php b/src/Testify/external/ezc/Graph/exceptions/out_of_logarithmical_boundings.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/out_of_logarithmical_boundings.php rename to src/Testify/external/ezc/Graph/exceptions/out_of_logarithmical_boundings.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/reducement_failed.php b/src/Testify/external/ezc/Graph/exceptions/reducement_failed.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/reducement_failed.php rename to src/Testify/external/ezc/Graph/exceptions/reducement_failed.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/too_many_datasets.php b/src/Testify/external/ezc/Graph/exceptions/too_many_datasets.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/too_many_datasets.php rename to src/Testify/external/ezc/Graph/exceptions/too_many_datasets.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/unknown_color_definition.php b/src/Testify/external/ezc/Graph/exceptions/unknown_color_definition.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/unknown_color_definition.php rename to src/Testify/external/ezc/Graph/exceptions/unknown_color_definition.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/unregular_steps.php b/src/Testify/external/ezc/Graph/exceptions/unregular_steps.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/unregular_steps.php rename to src/Testify/external/ezc/Graph/exceptions/unregular_steps.php diff --git a/src/TUnit/external/ezc/Graph/exceptions/unsupported_image_type.php b/src/Testify/external/ezc/Graph/exceptions/unsupported_image_type.php similarity index 100% rename from src/TUnit/external/ezc/Graph/exceptions/unsupported_image_type.php rename to src/Testify/external/ezc/Graph/exceptions/unsupported_image_type.php diff --git a/src/TUnit/external/ezc/Graph/graph.php b/src/Testify/external/ezc/Graph/graph.php similarity index 100% rename from src/TUnit/external/ezc/Graph/graph.php rename to src/Testify/external/ezc/Graph/graph.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/axis_label_renderer.php b/src/Testify/external/ezc/Graph/interfaces/axis_label_renderer.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/axis_label_renderer.php rename to src/Testify/external/ezc/Graph/interfaces/axis_label_renderer.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/chart.php b/src/Testify/external/ezc/Graph/interfaces/chart.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/chart.php rename to src/Testify/external/ezc/Graph/interfaces/chart.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/dataset_property.php b/src/Testify/external/ezc/Graph/interfaces/dataset_property.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/dataset_property.php rename to src/Testify/external/ezc/Graph/interfaces/dataset_property.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/driver.php b/src/Testify/external/ezc/Graph/interfaces/driver.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/driver.php rename to src/Testify/external/ezc/Graph/interfaces/driver.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/element.php b/src/Testify/external/ezc/Graph/interfaces/element.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/element.php rename to src/Testify/external/ezc/Graph/interfaces/element.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/odometer_renderer.php b/src/Testify/external/ezc/Graph/interfaces/odometer_renderer.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/odometer_renderer.php rename to src/Testify/external/ezc/Graph/interfaces/odometer_renderer.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/palette.php b/src/Testify/external/ezc/Graph/interfaces/palette.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/palette.php rename to src/Testify/external/ezc/Graph/interfaces/palette.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/radar_renderer.php b/src/Testify/external/ezc/Graph/interfaces/radar_renderer.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/radar_renderer.php rename to src/Testify/external/ezc/Graph/interfaces/radar_renderer.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/renderer.php b/src/Testify/external/ezc/Graph/interfaces/renderer.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/renderer.php rename to src/Testify/external/ezc/Graph/interfaces/renderer.php diff --git a/src/TUnit/external/ezc/Graph/interfaces/stacked_bar_renderer.php b/src/Testify/external/ezc/Graph/interfaces/stacked_bar_renderer.php similarity index 100% rename from src/TUnit/external/ezc/Graph/interfaces/stacked_bar_renderer.php rename to src/Testify/external/ezc/Graph/interfaces/stacked_bar_renderer.php diff --git a/src/TUnit/external/ezc/Graph/math/boundings.php b/src/Testify/external/ezc/Graph/math/boundings.php similarity index 100% rename from src/TUnit/external/ezc/Graph/math/boundings.php rename to src/Testify/external/ezc/Graph/math/boundings.php diff --git a/src/TUnit/external/ezc/Graph/math/matrix.php b/src/Testify/external/ezc/Graph/math/matrix.php similarity index 100% rename from src/TUnit/external/ezc/Graph/math/matrix.php rename to src/Testify/external/ezc/Graph/math/matrix.php diff --git a/src/TUnit/external/ezc/Graph/math/polynom.php b/src/Testify/external/ezc/Graph/math/polynom.php similarity index 100% rename from src/TUnit/external/ezc/Graph/math/polynom.php rename to src/Testify/external/ezc/Graph/math/polynom.php diff --git a/src/TUnit/external/ezc/Graph/math/rotation.php b/src/Testify/external/ezc/Graph/math/rotation.php similarity index 100% rename from src/TUnit/external/ezc/Graph/math/rotation.php rename to src/Testify/external/ezc/Graph/math/rotation.php diff --git a/src/TUnit/external/ezc/Graph/math/transformation.php b/src/Testify/external/ezc/Graph/math/transformation.php similarity index 100% rename from src/TUnit/external/ezc/Graph/math/transformation.php rename to src/Testify/external/ezc/Graph/math/transformation.php diff --git a/src/TUnit/external/ezc/Graph/math/translation.php b/src/Testify/external/ezc/Graph/math/translation.php similarity index 100% rename from src/TUnit/external/ezc/Graph/math/translation.php rename to src/Testify/external/ezc/Graph/math/translation.php diff --git a/src/TUnit/external/ezc/Graph/math/vector.php b/src/Testify/external/ezc/Graph/math/vector.php similarity index 100% rename from src/TUnit/external/ezc/Graph/math/vector.php rename to src/Testify/external/ezc/Graph/math/vector.php diff --git a/src/TUnit/external/ezc/Graph/options/cairo_driver.php b/src/Testify/external/ezc/Graph/options/cairo_driver.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/cairo_driver.php rename to src/Testify/external/ezc/Graph/options/cairo_driver.php diff --git a/src/TUnit/external/ezc/Graph/options/chart.php b/src/Testify/external/ezc/Graph/options/chart.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/chart.php rename to src/Testify/external/ezc/Graph/options/chart.php diff --git a/src/TUnit/external/ezc/Graph/options/driver.php b/src/Testify/external/ezc/Graph/options/driver.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/driver.php rename to src/Testify/external/ezc/Graph/options/driver.php diff --git a/src/TUnit/external/ezc/Graph/options/flash_driver.php b/src/Testify/external/ezc/Graph/options/flash_driver.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/flash_driver.php rename to src/Testify/external/ezc/Graph/options/flash_driver.php diff --git a/src/TUnit/external/ezc/Graph/options/font.php b/src/Testify/external/ezc/Graph/options/font.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/font.php rename to src/Testify/external/ezc/Graph/options/font.php diff --git a/src/TUnit/external/ezc/Graph/options/gd_driver.php b/src/Testify/external/ezc/Graph/options/gd_driver.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/gd_driver.php rename to src/Testify/external/ezc/Graph/options/gd_driver.php diff --git a/src/TUnit/external/ezc/Graph/options/line_chart.php b/src/Testify/external/ezc/Graph/options/line_chart.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/line_chart.php rename to src/Testify/external/ezc/Graph/options/line_chart.php diff --git a/src/TUnit/external/ezc/Graph/options/odometer_chart.php b/src/Testify/external/ezc/Graph/options/odometer_chart.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/odometer_chart.php rename to src/Testify/external/ezc/Graph/options/odometer_chart.php diff --git a/src/TUnit/external/ezc/Graph/options/pie_chart.php b/src/Testify/external/ezc/Graph/options/pie_chart.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/pie_chart.php rename to src/Testify/external/ezc/Graph/options/pie_chart.php diff --git a/src/TUnit/external/ezc/Graph/options/radar_chart.php b/src/Testify/external/ezc/Graph/options/radar_chart.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/radar_chart.php rename to src/Testify/external/ezc/Graph/options/radar_chart.php diff --git a/src/TUnit/external/ezc/Graph/options/renderer.php b/src/Testify/external/ezc/Graph/options/renderer.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/renderer.php rename to src/Testify/external/ezc/Graph/options/renderer.php diff --git a/src/TUnit/external/ezc/Graph/options/renderer_2d.php b/src/Testify/external/ezc/Graph/options/renderer_2d.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/renderer_2d.php rename to src/Testify/external/ezc/Graph/options/renderer_2d.php diff --git a/src/TUnit/external/ezc/Graph/options/renderer_3d.php b/src/Testify/external/ezc/Graph/options/renderer_3d.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/renderer_3d.php rename to src/Testify/external/ezc/Graph/options/renderer_3d.php diff --git a/src/TUnit/external/ezc/Graph/options/svg_driver.php b/src/Testify/external/ezc/Graph/options/svg_driver.php similarity index 100% rename from src/TUnit/external/ezc/Graph/options/svg_driver.php rename to src/Testify/external/ezc/Graph/options/svg_driver.php diff --git a/src/TUnit/external/ezc/Graph/palette/black.php b/src/Testify/external/ezc/Graph/palette/black.php similarity index 100% rename from src/TUnit/external/ezc/Graph/palette/black.php rename to src/Testify/external/ezc/Graph/palette/black.php diff --git a/src/TUnit/external/ezc/Graph/palette/ez.php b/src/Testify/external/ezc/Graph/palette/ez.php similarity index 100% rename from src/TUnit/external/ezc/Graph/palette/ez.php rename to src/Testify/external/ezc/Graph/palette/ez.php diff --git a/src/TUnit/external/ezc/Graph/palette/ez_blue.php b/src/Testify/external/ezc/Graph/palette/ez_blue.php similarity index 100% rename from src/TUnit/external/ezc/Graph/palette/ez_blue.php rename to src/Testify/external/ezc/Graph/palette/ez_blue.php diff --git a/src/TUnit/external/ezc/Graph/palette/ez_green.php b/src/Testify/external/ezc/Graph/palette/ez_green.php similarity index 100% rename from src/TUnit/external/ezc/Graph/palette/ez_green.php rename to src/Testify/external/ezc/Graph/palette/ez_green.php diff --git a/src/TUnit/external/ezc/Graph/palette/ez_red.php b/src/Testify/external/ezc/Graph/palette/ez_red.php similarity index 100% rename from src/TUnit/external/ezc/Graph/palette/ez_red.php rename to src/Testify/external/ezc/Graph/palette/ez_red.php diff --git a/src/TUnit/external/ezc/Graph/palette/tango.php b/src/Testify/external/ezc/Graph/palette/tango.php similarity index 100% rename from src/TUnit/external/ezc/Graph/palette/tango.php rename to src/Testify/external/ezc/Graph/palette/tango.php diff --git a/src/TUnit/external/ezc/Graph/renderer/2d.php b/src/Testify/external/ezc/Graph/renderer/2d.php similarity index 100% rename from src/TUnit/external/ezc/Graph/renderer/2d.php rename to src/Testify/external/ezc/Graph/renderer/2d.php diff --git a/src/TUnit/external/ezc/Graph/renderer/3d.php b/src/Testify/external/ezc/Graph/renderer/3d.php similarity index 100% rename from src/TUnit/external/ezc/Graph/renderer/3d.php rename to src/Testify/external/ezc/Graph/renderer/3d.php diff --git a/src/TUnit/external/ezc/Graph/renderer/axis_label_boxed.php b/src/Testify/external/ezc/Graph/renderer/axis_label_boxed.php similarity index 100% rename from src/TUnit/external/ezc/Graph/renderer/axis_label_boxed.php rename to src/Testify/external/ezc/Graph/renderer/axis_label_boxed.php diff --git a/src/TUnit/external/ezc/Graph/renderer/axis_label_centered.php b/src/Testify/external/ezc/Graph/renderer/axis_label_centered.php similarity index 100% rename from src/TUnit/external/ezc/Graph/renderer/axis_label_centered.php rename to src/Testify/external/ezc/Graph/renderer/axis_label_centered.php diff --git a/src/TUnit/external/ezc/Graph/renderer/axis_label_exact.php b/src/Testify/external/ezc/Graph/renderer/axis_label_exact.php similarity index 100% rename from src/TUnit/external/ezc/Graph/renderer/axis_label_exact.php rename to src/Testify/external/ezc/Graph/renderer/axis_label_exact.php diff --git a/src/TUnit/external/ezc/Graph/renderer/axis_label_none.php b/src/Testify/external/ezc/Graph/renderer/axis_label_none.php similarity index 100% rename from src/TUnit/external/ezc/Graph/renderer/axis_label_none.php rename to src/Testify/external/ezc/Graph/renderer/axis_label_none.php diff --git a/src/TUnit/external/ezc/Graph/renderer/axis_label_radar.php b/src/Testify/external/ezc/Graph/renderer/axis_label_radar.php similarity index 100% rename from src/TUnit/external/ezc/Graph/renderer/axis_label_radar.php rename to src/Testify/external/ezc/Graph/renderer/axis_label_radar.php diff --git a/src/TUnit/external/ezc/Graph/renderer/axis_label_rotated.php b/src/Testify/external/ezc/Graph/renderer/axis_label_rotated.php similarity index 100% rename from src/TUnit/external/ezc/Graph/renderer/axis_label_rotated.php rename to src/Testify/external/ezc/Graph/renderer/axis_label_rotated.php diff --git a/src/TUnit/external/ezc/Graph/structs/context.php b/src/Testify/external/ezc/Graph/structs/context.php similarity index 100% rename from src/TUnit/external/ezc/Graph/structs/context.php rename to src/Testify/external/ezc/Graph/structs/context.php diff --git a/src/TUnit/external/ezc/Graph/structs/coordinate.php b/src/Testify/external/ezc/Graph/structs/coordinate.php similarity index 100% rename from src/TUnit/external/ezc/Graph/structs/coordinate.php rename to src/Testify/external/ezc/Graph/structs/coordinate.php diff --git a/src/TUnit/external/ezc/Graph/structs/step.php b/src/Testify/external/ezc/Graph/structs/step.php similarity index 100% rename from src/TUnit/external/ezc/Graph/structs/step.php rename to src/Testify/external/ezc/Graph/structs/step.php diff --git a/src/TUnit/external/ezc/Graph/tools.php b/src/Testify/external/ezc/Graph/tools.php similarity index 100% rename from src/TUnit/external/ezc/Graph/tools.php rename to src/Testify/external/ezc/Graph/tools.php diff --git a/src/TUnit/external/ezc/autoload/base_autoload.php b/src/Testify/external/ezc/autoload/base_autoload.php similarity index 100% rename from src/TUnit/external/ezc/autoload/base_autoload.php rename to src/Testify/external/ezc/autoload/base_autoload.php diff --git a/src/TUnit/external/ezc/autoload/graph_autoload.php b/src/Testify/external/ezc/autoload/graph_autoload.php similarity index 100% rename from src/TUnit/external/ezc/autoload/graph_autoload.php rename to src/Testify/external/ezc/autoload/graph_autoload.php diff --git a/src/TUnit/framework/Assert.php b/src/Testify/framework/Assert.php similarity index 99% rename from src/TUnit/framework/Assert.php rename to src/Testify/framework/Assert.php index 632c55b..4548b45 100644 --- a/src/TUnit/framework/Assert.php +++ b/src/Testify/framework/Assert.php @@ -3,7 +3,7 @@ /** * Assert * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Assertions * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/BaseTestRunner.php b/src/Testify/framework/BaseTestRunner.php similarity index 98% rename from src/TUnit/framework/BaseTestRunner.php rename to src/Testify/framework/BaseTestRunner.php index 1254887..d03e783 100644 --- a/src/TUnit/framework/BaseTestRunner.php +++ b/src/Testify/framework/BaseTestRunner.php @@ -3,7 +3,7 @@ /** * TestRunner * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Base test runner * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -257,7 +257,7 @@ if ($test instanceof Testable) { try { $results[] = $test->run($this->listeners); - } catch (TUnitException $e) { + } catch (TestifyException $e) { $this->error($e->getMessage()); } } else { diff --git a/src/TUnit/framework/ConsoleTestRunner.php b/src/Testify/framework/ConsoleTestRunner.php similarity index 95% rename from src/TUnit/framework/ConsoleTestRunner.php rename to src/Testify/framework/ConsoleTestRunner.php index 4202ce5..10a792b 100644 --- a/src/TUnit/framework/ConsoleTestRunner.php +++ b/src/Testify/framework/ConsoleTestRunner.php @@ -3,7 +3,7 @@ /** * Test runners * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Test runner for the console * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -160,7 +160,7 @@ $dir = dirname($options['coverage-xml']); if (!is_dir($dir)) { if (!mkdir($dir, 0777, true)) { - throw new TUnitException('Could not create directory: ' . $dir); + throw new TestifyException('Could not create directory: ' . $dir); } } }*/ @@ -168,7 +168,7 @@ //create coverage directory if needed if (!is_dir($options['coverage-html'])) { if (!mkdir($options['coverage-html'], 0777, true)) { - throw new TUnitException('Could not create directory: ' . $options['coverage-html']); + throw new TestifyException('Could not create directory: ' . $options['coverage-html']); } } diff --git a/src/TUnit/framework/constraints/Constraint.php b/src/Testify/framework/constraints/Constraint.php similarity index 96% rename from src/TUnit/framework/constraints/Constraint.php rename to src/Testify/framework/constraints/Constraint.php index b727e4a..7ac1cdf 100644 --- a/src/TUnit/framework/constraints/Constraint.php +++ b/src/Testify/framework/constraints/Constraint.php @@ -3,7 +3,7 @@ /** * Constraint * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Base constraint * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/constraints/DefaultConstraint.php b/src/Testify/framework/constraints/DefaultConstraint.php similarity index 94% rename from src/TUnit/framework/constraints/DefaultConstraint.php rename to src/Testify/framework/constraints/DefaultConstraint.php index 1455e95..74f7f0c 100644 --- a/src/TUnit/framework/constraints/DefaultConstraint.php +++ b/src/Testify/framework/constraints/DefaultConstraint.php @@ -3,7 +3,7 @@ /** * DefaultConstraint * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Default constraint * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/constraints/EqualConstraint.php b/src/Testify/framework/constraints/EqualConstraint.php similarity index 94% rename from src/TUnit/framework/constraints/EqualConstraint.php rename to src/Testify/framework/constraints/EqualConstraint.php index 5e37e01..8d8b99d 100644 --- a/src/TUnit/framework/constraints/EqualConstraint.php +++ b/src/Testify/framework/constraints/EqualConstraint.php @@ -3,7 +3,7 @@ /** * EqualConstraint * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Constraint for asserting that two objects are equal * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/constraints/IdenticalConstraint.php b/src/Testify/framework/constraints/IdenticalConstraint.php similarity index 94% rename from src/TUnit/framework/constraints/IdenticalConstraint.php rename to src/Testify/framework/constraints/IdenticalConstraint.php index f55f28d..ea3eb17 100644 --- a/src/TUnit/framework/constraints/IdenticalConstraint.php +++ b/src/Testify/framework/constraints/IdenticalConstraint.php @@ -3,7 +3,7 @@ /** * IdenticalConstraint * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Constraint for asserting that two objects are identical * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/constraints/NotConstraint.php b/src/Testify/framework/constraints/NotConstraint.php similarity index 97% rename from src/TUnit/framework/constraints/NotConstraint.php rename to src/Testify/framework/constraints/NotConstraint.php index 0c9c77d..9ec60e8 100644 --- a/src/TUnit/framework/constraints/NotConstraint.php +++ b/src/Testify/framework/constraints/NotConstraint.php @@ -3,7 +3,7 @@ /** * NotConstraint * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Decorator for negating a constraint * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/constraints/SimpleConstraints.php b/src/Testify/framework/constraints/SimpleConstraints.php similarity index 96% rename from src/TUnit/framework/constraints/SimpleConstraints.php rename to src/Testify/framework/constraints/SimpleConstraints.php index 21688d3..f7307dd 100644 --- a/src/TUnit/framework/constraints/SimpleConstraints.php +++ b/src/Testify/framework/constraints/SimpleConstraints.php @@ -3,7 +3,7 @@ /** * Constraints that only take one value * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Base class for simple constraints that only require one value * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -44,7 +44,7 @@ /** * Constraint for asserting that a value is set * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -82,7 +82,7 @@ /** * Constraint for asserting that a value is empty * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -120,7 +120,7 @@ /** * Constraint for asserting that a value is null * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -158,7 +158,7 @@ /** * Constraint for asserting that a value is true * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -196,7 +196,7 @@ /** * Constraint for asserting that a value is true * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/exceptions/Exceptions.php b/src/Testify/framework/exceptions/Exceptions.php similarity index 79% rename from src/TUnit/framework/exceptions/Exceptions.php rename to src/Testify/framework/exceptions/Exceptions.php index 18a3977..b832399 100644 --- a/src/TUnit/framework/exceptions/Exceptions.php +++ b/src/Testify/framework/exceptions/Exceptions.php @@ -3,32 +3,32 @@ /** * Contains all custom exception classes * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 */ /** - * Base exception class for TUnit + * Base exception class for Testify * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 */ - class TUnitException extends Exception {} + class TestifyException extends Exception {} /** * Exception for invalid test runner options * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 * @see TestRunner::parseOptions() */ - class InvalidOptionException extends TUnitException { + class InvalidOptionException extends TestifyException { /** * Constructor diff --git a/src/TUnit/framework/listeners/ConsoleListener.php b/src/Testify/framework/listeners/ConsoleListener.php similarity index 99% rename from src/TUnit/framework/listeners/ConsoleListener.php rename to src/Testify/framework/listeners/ConsoleListener.php index 1ed1f5a..a5e6298 100644 --- a/src/TUnit/framework/listeners/ConsoleListener.php +++ b/src/Testify/framework/listeners/ConsoleListener.php @@ -3,7 +3,7 @@ /** * ConsoleListener * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Test listener for console-initiated test * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/listeners/TestListener.php b/src/Testify/framework/listeners/TestListener.php similarity index 96% rename from src/TUnit/framework/listeners/TestListener.php rename to src/Testify/framework/listeners/TestListener.php index 89ad9a3..41bf429 100644 --- a/src/TUnit/framework/listeners/TestListener.php +++ b/src/Testify/framework/listeners/TestListener.php @@ -3,7 +3,7 @@ /** * TestListener * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Base test listener * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -213,7 +213,7 @@ } /** - * Gets called when the TUnit framework encounters an error + * Gets called when the Testify framework encounters an error * * @author Tommy Montgomery * @version 1.0 @@ -226,7 +226,7 @@ } /** - * Gets called when the TUnit framework encounters a warning + * Gets called when the Testify framework encounters a warning * * @author Tommy Montgomery * @version 1.0 diff --git a/src/TUnit/framework/mock/InvocationExpectation.php b/src/Testify/framework/mock/InvocationExpectation.php similarity index 99% rename from src/TUnit/framework/mock/InvocationExpectation.php rename to src/Testify/framework/mock/InvocationExpectation.php index 7a7b456..da4681f 100644 --- a/src/TUnit/framework/mock/InvocationExpectation.php +++ b/src/Testify/framework/mock/InvocationExpectation.php @@ -3,7 +3,7 @@ /** * InvocationExpectation * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -13,7 +13,7 @@ * Represents what is expected of a mock object's method * invocation * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/mock/InvocationTracker.php b/src/Testify/framework/mock/InvocationTracker.php similarity index 97% rename from src/TUnit/framework/mock/InvocationTracker.php rename to src/Testify/framework/mock/InvocationTracker.php index f105e20..c4b577c 100644 --- a/src/TUnit/framework/mock/InvocationTracker.php +++ b/src/Testify/framework/mock/InvocationTracker.php @@ -3,7 +3,7 @@ /** * InvocationTracker * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Tracks mock invocations * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/mock/MockHandler.php b/src/Testify/framework/mock/MockHandler.php similarity index 96% rename from src/TUnit/framework/mock/MockHandler.php rename to src/Testify/framework/mock/MockHandler.php index 1db8e88..4296a0f 100644 --- a/src/TUnit/framework/mock/MockHandler.php +++ b/src/Testify/framework/mock/MockHandler.php @@ -3,7 +3,7 @@ /** * MockHandler * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -13,7 +13,7 @@ * Simple wrapper for mock objects so we don't pollute * objects with member variables * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/mock/MockInvocation.php b/src/Testify/framework/mock/MockInvocation.php similarity index 97% rename from src/TUnit/framework/mock/MockInvocation.php rename to src/Testify/framework/mock/MockInvocation.php index 3fd45e5..1206c9d 100644 --- a/src/TUnit/framework/mock/MockInvocation.php +++ b/src/Testify/framework/mock/MockInvocation.php @@ -3,7 +3,7 @@ /** * MockInvocation * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Struct representing an invocation of mocked method * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/mock/MockObjectCreator.php b/src/Testify/framework/mock/MockObjectCreator.php similarity index 99% rename from src/TUnit/framework/mock/MockObjectCreator.php rename to src/Testify/framework/mock/MockObjectCreator.php index 1504d8b..ce16e29 100644 --- a/src/TUnit/framework/mock/MockObjectCreator.php +++ b/src/Testify/framework/mock/MockObjectCreator.php @@ -3,7 +3,7 @@ /** * File containing MockObject, MockObjectCreator * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * MockObject dummy interface * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -22,7 +22,7 @@ /** * Class MockObjectCreator * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/mock/MockRegistry.php b/src/Testify/framework/mock/MockRegistry.php similarity index 99% rename from src/TUnit/framework/mock/MockRegistry.php rename to src/Testify/framework/mock/MockRegistry.php index 362413c..e1731c1 100644 --- a/src/TUnit/framework/mock/MockRegistry.php +++ b/src/Testify/framework/mock/MockRegistry.php @@ -3,7 +3,7 @@ /** * MockRegistry * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Registry of mock objects * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/reporting/CoverageFilter.php b/src/Testify/framework/reporting/CoverageFilter.php similarity index 100% rename from src/TUnit/framework/reporting/CoverageFilter.php rename to src/Testify/framework/reporting/CoverageFilter.php diff --git a/src/TUnit/framework/reporting/CoverageGraphs.php b/src/Testify/framework/reporting/CoverageGraphs.php similarity index 100% rename from src/TUnit/framework/reporting/CoverageGraphs.php rename to src/Testify/framework/reporting/CoverageGraphs.php diff --git a/src/TUnit/framework/reporting/CoverageReporter.php b/src/Testify/framework/reporting/CoverageReporter.php similarity index 99% rename from src/TUnit/framework/reporting/CoverageReporter.php rename to src/Testify/framework/reporting/CoverageReporter.php index b9ae007..c19cdcf 100644 --- a/src/TUnit/framework/reporting/CoverageReporter.php +++ b/src/Testify/framework/reporting/CoverageReporter.php @@ -143,7 +143,7 @@ //copy css over $template = dirname(__FILE__) . DIRECTORY_SEPARATOR . self::TEMPLATE_DIR . DIRECTORY_SEPARATOR; copy($template . 'style.css', $coverageDir . DIRECTORY_SEPARATOR . 'style.css'); - copy($template . 'tunit.js', $coverageDir . DIRECTORY_SEPARATOR . 'tunit.js'); + copy($template . 'Testify.js', $coverageDir . DIRECTORY_SEPARATOR . 'Testify.js'); } private static function writeHtmlFile($sourceFile, $baseDir, $coverageDir, array $classData, array $coverageData, $renderer) { diff --git a/src/TUnit/framework/reporting/data/consolas.ttf b/src/Testify/framework/reporting/data/consolas.ttf similarity index 100% rename from src/TUnit/framework/reporting/data/consolas.ttf rename to src/Testify/framework/reporting/data/consolas.ttf diff --git a/src/TUnit/framework/reporting/template/directory.html b/src/Testify/framework/reporting/template/directory.html similarity index 94% rename from src/TUnit/framework/reporting/template/directory.html rename to src/Testify/framework/reporting/template/directory.html index 5ca356c..df38930 100644 --- a/src/TUnit/framework/reporting/template/directory.html +++ b/src/Testify/framework/reporting/template/directory.html @@ -6,7 +6,7 @@ ${title} - + diff --git a/src/TUnit/framework/reporting/template/file.html b/src/Testify/framework/reporting/template/file.html similarity index 95% rename from src/TUnit/framework/reporting/template/file.html rename to src/Testify/framework/reporting/template/file.html index 06e4017..52d8271 100644 --- a/src/TUnit/framework/reporting/template/file.html +++ b/src/Testify/framework/reporting/template/file.html @@ -6,7 +6,7 @@ ${title} - + diff --git a/src/TUnit/framework/reporting/template/style.css b/src/Testify/framework/reporting/template/style.css similarity index 100% rename from src/TUnit/framework/reporting/template/style.css rename to src/Testify/framework/reporting/template/style.css diff --git a/src/TUnit/framework/reporting/template/tunit.js b/src/Testify/framework/reporting/template/tunit.js similarity index 100% rename from src/TUnit/framework/reporting/template/tunit.js rename to src/Testify/framework/reporting/template/tunit.js diff --git a/src/TUnit/framework/result/CombinedTestResult.php b/src/Testify/framework/result/CombinedTestResult.php similarity index 98% rename from src/TUnit/framework/result/CombinedTestResult.php rename to src/Testify/framework/result/CombinedTestResult.php index 6079d96..62996ef 100644 --- a/src/TUnit/framework/result/CombinedTestResult.php +++ b/src/Testify/framework/result/CombinedTestResult.php @@ -3,7 +3,7 @@ /** * CombinedTestResult * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Represents a collection of test results * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/result/FailedTest.php b/src/Testify/framework/result/FailedTest.php similarity index 95% rename from src/TUnit/framework/result/FailedTest.php rename to src/Testify/framework/result/FailedTest.php index 908f4ce..12fe444 100644 --- a/src/TUnit/framework/result/FailedTest.php +++ b/src/Testify/framework/result/FailedTest.php @@ -3,7 +3,7 @@ /** * TestFailure, FailedTest, ErredTest, IgnoredTest * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Represents a test failure * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -90,7 +90,7 @@ /** * A failed test * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -100,7 +100,7 @@ /** * An erred test * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -110,7 +110,7 @@ /** * An ignored test * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/result/SingleTestResults.php b/src/Testify/framework/result/SingleTestResults.php similarity index 96% rename from src/TUnit/framework/result/SingleTestResults.php rename to src/Testify/framework/result/SingleTestResults.php index 549fcb3..930d86f 100644 --- a/src/TUnit/framework/result/SingleTestResults.php +++ b/src/Testify/framework/result/SingleTestResults.php @@ -3,7 +3,7 @@ /** * Single test results * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Represents a single test result * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -88,7 +88,7 @@ /** * The test erred * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -126,7 +126,7 @@ /** * The test passed * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -164,7 +164,7 @@ /** * The test was ignored * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -202,7 +202,7 @@ /** * The test failed * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/result/TestResult.php b/src/Testify/framework/result/TestResult.php similarity index 92% rename from src/TUnit/framework/result/TestResult.php rename to src/Testify/framework/result/TestResult.php index e46ddda..89643ad 100644 --- a/src/TUnit/framework/result/TestResult.php +++ b/src/Testify/framework/result/TestResult.php @@ -3,7 +3,7 @@ /** * TestResult * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Test result interface * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/test/TestCase.php b/src/Testify/framework/test/TestCase.php similarity index 99% rename from src/TUnit/framework/test/TestCase.php rename to src/Testify/framework/test/TestCase.php index cd309e1..8ea47fb 100644 --- a/src/TUnit/framework/test/TestCase.php +++ b/src/Testify/framework/test/TestCase.php @@ -3,7 +3,7 @@ /** * TestCase * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Represents a test case (collection of test methods) * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/test/TestMethod.php b/src/Testify/framework/test/TestMethod.php similarity index 97% rename from src/TUnit/framework/test/TestMethod.php rename to src/Testify/framework/test/TestMethod.php index dc87c3b..6a7a9de 100644 --- a/src/TUnit/framework/test/TestMethod.php +++ b/src/Testify/framework/test/TestMethod.php @@ -3,7 +3,7 @@ /** * TestMethod * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,9 +12,9 @@ /** * Represents a single test method * - * This class should only be used internally by the TUnit framework. + * This class should only be used internally by the Testify framework. * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/test/TestSuite.php b/src/Testify/framework/test/TestSuite.php similarity index 98% rename from src/TUnit/framework/test/TestSuite.php rename to src/Testify/framework/test/TestSuite.php index 73eee60..9781832 100644 --- a/src/TUnit/framework/test/TestSuite.php +++ b/src/Testify/framework/test/TestSuite.php @@ -3,7 +3,7 @@ /** * TestSuite * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -13,7 +13,7 @@ * Represents a collection of test suites, test cases and/or * test methods * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/framework/test/Testable.php b/src/Testify/framework/test/Testable.php similarity index 88% rename from src/TUnit/framework/test/Testable.php rename to src/Testify/framework/test/Testable.php index 15df29a..b79c4c4 100644 --- a/src/TUnit/framework/test/Testable.php +++ b/src/Testify/framework/test/Testable.php @@ -3,7 +3,7 @@ /** * Interfaces for tests * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Interface for recursively counting tests * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -33,9 +33,9 @@ } /** - * This interface makes a class testable by the TUnit framework + * This interface makes a class testable by the Testify framework * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/Testify/manifest.php b/src/Testify/manifest.php new file mode 100644 index 0000000..7b35756 --- /dev/null +++ b/src/Testify/manifest.php @@ -0,0 +1,74 @@ + 'Testify/framework/Assert.php', + 'Autoloader' => 'Testify/util/Autoloader.php', + 'Cli' => 'Testify/util/cli.php', + 'CliSwitch' => 'Testify/util/cli.php', + 'CliSwitchCollection' => 'Testify/util/cli.php', + 'CombinedTestResult' => 'Testify/framework/result/CombinedTestResult.php', + 'ConsoleListener' => 'Testify/framework/listeners/ConsoleListener.php', + 'ConsoleTestRunner' => 'Testify/framework/ConsoleTestRunner.php', + 'Constraint' => 'Testify/framework/constraints/Constraint.php', + 'CoverageDriver' => 'Testify/framework/reporting/CoverageGraphs.php', + 'CoverageFilter' => 'Testify/framework/reporting/CoverageFilter.php', + 'CoveragePalette' => 'Testify/framework/reporting/CoverageGraphs.php', + 'CoveragePieChart' => 'Testify/framework/reporting/CoverageGraphs.php', + 'CoverageRenderer' => 'Testify/framework/reporting/CoverageGraphs.php', + 'CoverageReporter' => 'Testify/framework/reporting/CoverageReporter.php', + 'DefaultConstraint' => 'Testify/framework/constraints/DefaultConstraint.php', + 'EmptyConstraint' => 'Testify/framework/constraints/SimpleConstraints.php', + 'EqualConstraint' => 'Testify/framework/constraints/EqualConstraint.php', + 'ErredTest' => 'Testify/framework/result/FailedTest.php', + 'ErredTestResult' => 'Testify/framework/result/SingleTestResults.php', + 'FailedTest' => 'Testify/framework/result/FailedTest.php', + 'FailedTestResult' => 'Testify/framework/result/SingleTestResults.php', + 'FalseConstraint' => 'Testify/framework/constraints/SimpleConstraints.php', + 'IdenticalConstraint' => 'Testify/framework/constraints/IdenticalConstraint.php', + 'IgnoredTest' => 'Testify/framework/result/FailedTest.php', + 'IgnoredTestResult' => 'Testify/framework/result/SingleTestResults.php', + 'InvalidOptionException' => 'Testify/framework/exceptions/Exceptions.php', + 'InvocationExpectation' => 'Testify/framework/mock/InvocationExpectation.php', + 'InvocationTracker' => 'Testify/framework/mock/InvocationTracker.php', + 'IssetConstraint' => 'Testify/framework/constraints/SimpleConstraints.php', + 'MockHandler' => 'Testify/framework/mock/MockHandler.php', + 'MockInvocation' => 'Testify/framework/mock/MockInvocation.php', + 'MockObject' => 'Testify/framework/mock/MockObjectCreator.php', + 'MockObjectCreator' => 'Testify/framework/mock/MockObjectCreator.php', + 'MockRegistry' => 'Testify/framework/mock/MockRegistry.php', + 'NotConstraint' => 'Testify/framework/constraints/NotConstraint.php', + 'NullConstraint' => 'Testify/framework/constraints/SimpleConstraints.php', + 'PassedTestResult' => 'Testify/framework/result/SingleTestResults.php', + 'PhpFileIterator' => 'Testify/util/PhpFileIterator.php', + 'Product' => 'Testify/util/Product.php', + 'RecursivePhpFileIterator' => 'Testify/util/PhpFileIterator.php', + 'RecursiveTestIterator' => 'Testify/util/RecursiveTestIterator.php', + 'RecursivelyCountable' => 'Testify/framework/test/Testable.php', + 'SimpleConstraint' => 'Testify/framework/constraints/SimpleConstraints.php', + 'SingleTestResult' => 'Testify/framework/result/SingleTestResults.php', + 'TestAccumulator' => 'Testify/util/TestAccumulator.php', + 'TestCase' => 'Testify/framework/test/TestCase.php', + 'TestFailure' => 'Testify/framework/result/FailedTest.php', + 'TestListener' => 'Testify/framework/listeners/TestListener.php', + 'TestMethod' => 'Testify/framework/test/TestMethod.php', + 'TestResult' => 'Testify/framework/result/TestResult.php', + 'TestRunner' => 'Testify/framework/BaseTestRunner.php', + 'TestSuite' => 'Testify/framework/test/TestSuite.php', + 'Testable' => 'Testify/framework/test/Testable.php', + 'TestifyException' => 'Testify/framework/exceptions/Exceptions.php', + 'TrueConstraint' => 'Testify/framework/constraints/SimpleConstraints.php', + 'Usage' => 'Testify/util/cli.php', + 'Util' => 'Testify/util/Util.php' + ); + +?> \ No newline at end of file diff --git a/src/TUnit/util/Autoloader.php b/src/Testify/util/Autoloader.php similarity index 96% rename from src/TUnit/util/Autoloader.php rename to src/Testify/util/Autoloader.php index 00fc3b9..40864a0 100644 --- a/src/TUnit/util/Autoloader.php +++ b/src/Testify/util/Autoloader.php @@ -3,16 +3,16 @@ /** * Autoloader * - * @package TUnit + * @package Testify * @version 1.0 * @since 1.0 */ /** * Autoload mechanism used for automatically loading classes used by - * the TUnit framework + * the Testify framework * - * @package TUnit + * @package Testify * @version 1.0 * @since 1.0 */ diff --git a/src/TUnit/util/PhpFileIterator.php b/src/Testify/util/PhpFileIterator.php similarity index 96% rename from src/TUnit/util/PhpFileIterator.php rename to src/Testify/util/PhpFileIterator.php index 8c1bc1a..e4aaae4 100644 --- a/src/TUnit/util/PhpFileIterator.php +++ b/src/Testify/util/PhpFileIterator.php @@ -3,7 +3,7 @@ /** * PHP file iterators * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Class for recursively iterating over PHP files * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -69,7 +69,7 @@ /** * Iterates over PHP files * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/util/RecursiveTestIterator.php b/src/Testify/util/RecursiveTestIterator.php similarity index 95% rename from src/TUnit/util/RecursiveTestIterator.php rename to src/Testify/util/RecursiveTestIterator.php index 26a3814..474deb1 100644 --- a/src/TUnit/util/RecursiveTestIterator.php +++ b/src/Testify/util/RecursiveTestIterator.php @@ -3,7 +3,7 @@ /** * RecursiveTestIterator * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Class for recursively iterating over test results * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/util/TestAccumulator.php b/src/Testify/util/TestAccumulator.php similarity index 98% rename from src/TUnit/util/TestAccumulator.php rename to src/Testify/util/TestAccumulator.php index 231bf1d..c7877ed 100644 --- a/src/TUnit/util/TestAccumulator.php +++ b/src/Testify/util/TestAccumulator.php @@ -3,7 +3,7 @@ /** * TestAccumulator * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Accumulates test * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/util/Util.php b/src/Testify/util/Util.php similarity index 99% rename from src/TUnit/util/Util.php rename to src/Testify/util/Util.php index 12aab71..5fd5118 100644 --- a/src/TUnit/util/Util.php +++ b/src/Testify/util/Util.php @@ -3,7 +3,7 @@ /** * Util * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Utilities * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/util/cli.php b/src/Testify/util/cli.php similarity index 99% rename from src/TUnit/util/cli.php rename to src/Testify/util/cli.php index 866f026..8e6220c 100644 --- a/src/TUnit/util/cli.php +++ b/src/Testify/util/cli.php @@ -3,7 +3,7 @@ /** * Cli, Usage, CliSwitch, CliSwitchCollection * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -12,7 +12,7 @@ /** * Cli helper * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -129,7 +129,7 @@ /** * Represents a collection of {@link CliSwitch}es * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -254,7 +254,7 @@ /** * Helpful class for printing usage * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 diff --git a/src/TUnit/util/entry_console.php b/src/Testify/util/entry_console.php similarity index 97% rename from src/TUnit/util/entry_console.php rename to src/Testify/util/entry_console.php index 662e9e4..ddb238f 100644 --- a/src/TUnit/util/entry_console.php +++ b/src/Testify/util/entry_console.php @@ -3,7 +3,7 @@ /** * Entry point for console test runner * - * @package TUnit + * @package Testify * @author Tommy Montgomery * @version 1.0 * @since 1.0 @@ -15,7 +15,7 @@ require_once 'cli.php'; /** - * Bootstraps TUnit + * Bootstraps Testify */ require_once dirname(dirname(__FILE__)) . '/bootstrap.php'; @@ -29,7 +29,7 @@ function usage() { $usage = new Usage( Product::NAME . ' ' . Product::VERSION . ' (' . Product::DATE . ')', - 'tunit', + 'testify', 'Command line test runner', 'Tommy Montgomery', '2009' diff --git a/src/testify.bat b/src/testify.bat new file mode 100644 index 0000000..8c7bc06 --- /dev/null +++ b/src/testify.bat @@ -0,0 +1,2 @@ +@echo off +php .\Testify\util\entry_console.php %* diff --git a/src/tunit.bat b/src/tunit.bat deleted file mode 100644 index f59675a..0000000 --- a/src/tunit.bat +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -php .\TUnit\util\entry_console.php %*