From: Stevan Little Date: Fri, 14 Sep 2007 06:17:35 +0000 (+0000) Subject: complete re-organization of the test suite X-Git-Tag: 0_26~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e59a5c292a333cac504b65ebd4bba20b5e98d796;p=gitmo%2FMoose.git complete re-organization of the test suite --- diff --git a/Changes b/Changes index 38faad8..74e58d7 100644 --- a/Changes +++ b/Changes @@ -7,9 +7,12 @@ Revision history for Perl extension Moose - added all the meta classes to the immutable list and set it to inline the accessors - fix import to allow Sub::Exporter like { into => } - and { into_level => } (perigrin) + and { into_level => } (perigrin) - exposed and documented init_meta() to allow better - embedding and extending of Moose (perigrin) + embedding and extending of Moose (perigrin) + + * t/ + - complete re-organization of the test suite * Moose::Util::TypeConstraint - no longer uses package variable to keep track of diff --git a/t/001_recipe.t b/t/000_recipes/001_recipe.t similarity index 100% rename from t/001_recipe.t rename to t/000_recipes/001_recipe.t diff --git a/t/002_recipe.t b/t/000_recipes/002_recipe.t similarity index 100% rename from t/002_recipe.t rename to t/000_recipes/002_recipe.t diff --git a/t/003_recipe.t b/t/000_recipes/003_recipe.t similarity index 100% rename from t/003_recipe.t rename to t/000_recipes/003_recipe.t diff --git a/t/004_recipe.t b/t/000_recipes/004_recipe.t similarity index 100% rename from t/004_recipe.t rename to t/000_recipes/004_recipe.t diff --git a/t/005_recipe.t b/t/000_recipes/005_recipe.t similarity index 100% rename from t/005_recipe.t rename to t/000_recipes/005_recipe.t diff --git a/t/006_recipe.t b/t/000_recipes/006_recipe.t similarity index 100% rename from t/006_recipe.t rename to t/000_recipes/006_recipe.t diff --git a/t/007_recipe.t b/t/000_recipes/007_recipe.t similarity index 100% rename from t/007_recipe.t rename to t/000_recipes/007_recipe.t diff --git a/t/010_basic_class_setup.t b/t/010_basics/001_basic_class_setup.t similarity index 100% rename from t/010_basic_class_setup.t rename to t/010_basics/001_basic_class_setup.t diff --git a/t/011_require_superclasses.t b/t/010_basics/002_require_superclasses.t similarity index 100% rename from t/011_require_superclasses.t rename to t/010_basics/002_require_superclasses.t diff --git a/t/012_super_and_override.t b/t/010_basics/003_super_and_override.t similarity index 100% rename from t/012_super_and_override.t rename to t/010_basics/003_super_and_override.t diff --git a/t/013_inner_and_augment.t b/t/010_basics/004_inner_and_augment.t similarity index 100% rename from t/013_inner_and_augment.t rename to t/010_basics/004_inner_and_augment.t diff --git a/t/014_override_augment_inner_super.t b/t/010_basics/005_override_augment_inner_super.t similarity index 100% rename from t/014_override_augment_inner_super.t rename to t/010_basics/005_override_augment_inner_super.t diff --git a/t/015_override_and_foreign_classes.t b/t/010_basics/006_override_and_foreign_classes.t similarity index 100% rename from t/015_override_and_foreign_classes.t rename to t/010_basics/006_override_and_foreign_classes.t diff --git a/t/016_always_strict_warnings.t b/t/010_basics/007_always_strict_warnings.t similarity index 100% rename from t/016_always_strict_warnings.t rename to t/010_basics/007_always_strict_warnings.t diff --git a/t/017_wrapped_method_context_propagation.t b/t/010_basics/008_wrapped_method_context_propagation.t similarity index 100% rename from t/017_wrapped_method_context_propagation.t rename to t/010_basics/008_wrapped_method_context_propagation.t diff --git a/t/018_import_unimport.t b/t/010_basics/009_import_unimport.t similarity index 100% rename from t/018_import_unimport.t rename to t/010_basics/009_import_unimport.t diff --git a/t/019_method_keyword.t b/t/010_basics/010_method_keyword.t similarity index 100% rename from t/019_method_keyword.t rename to t/010_basics/010_method_keyword.t diff --git a/t/023_moose_respects_type_constraints.t b/t/010_basics/011_moose_respects_type_constraints.t similarity index 100% rename from t/023_moose_respects_type_constraints.t rename to t/010_basics/011_moose_respects_type_constraints.t diff --git a/t/030_attribute_reader_generation.t b/t/020_attributes/001_attribute_reader_generation.t similarity index 100% rename from t/030_attribute_reader_generation.t rename to t/020_attributes/001_attribute_reader_generation.t diff --git a/t/031_attribute_writer_generation.t b/t/020_attributes/002_attribute_writer_generation.t similarity index 100% rename from t/031_attribute_writer_generation.t rename to t/020_attributes/002_attribute_writer_generation.t diff --git a/t/032_attribute_accessor_generation.t b/t/020_attributes/003_attribute_accessor_generation.t similarity index 100% rename from t/032_attribute_accessor_generation.t rename to t/020_attributes/003_attribute_accessor_generation.t diff --git a/t/033_attribute_triggers.t b/t/020_attributes/004_attribute_triggers.t similarity index 100% rename from t/033_attribute_triggers.t rename to t/020_attributes/004_attribute_triggers.t diff --git a/t/034_attribute_does.t b/t/020_attributes/005_attribute_does.t similarity index 100% rename from t/034_attribute_does.t rename to t/020_attributes/005_attribute_does.t diff --git a/t/035_attribute_required.t b/t/020_attributes/006_attribute_required.t similarity index 100% rename from t/035_attribute_required.t rename to t/020_attributes/006_attribute_required.t diff --git a/t/036_attribute_custom_metaclass.t b/t/020_attributes/007_attribute_custom_metaclass.t similarity index 100% rename from t/036_attribute_custom_metaclass.t rename to t/020_attributes/007_attribute_custom_metaclass.t diff --git a/t/037_attribute_type_unions.t b/t/020_attributes/008_attribute_type_unions.t similarity index 100% rename from t/037_attribute_type_unions.t rename to t/020_attributes/008_attribute_type_unions.t diff --git a/t/038_attribute_inherited_slot_specs.t b/t/020_attributes/009_attribute_inherited_slot_specs.t similarity index 100% rename from t/038_attribute_inherited_slot_specs.t rename to t/020_attributes/009_attribute_inherited_slot_specs.t diff --git a/t/039_attribute_delegation.t b/t/020_attributes/010_attribute_delegation.t similarity index 100% rename from t/039_attribute_delegation.t rename to t/020_attributes/010_attribute_delegation.t diff --git a/t/070_more_attr_delegation.t b/t/020_attributes/011_more_attr_delegation.t similarity index 100% rename from t/070_more_attr_delegation.t rename to t/020_attributes/011_more_attr_delegation.t diff --git a/t/071_misc_attribute_tests.t b/t/020_attributes/012_misc_attribute_tests.t similarity index 100% rename from t/071_misc_attribute_tests.t rename to t/020_attributes/012_misc_attribute_tests.t diff --git a/t/072_attr_dereference_test.t b/t/020_attributes/013_attr_dereference_test.t similarity index 100% rename from t/072_attr_dereference_test.t rename to t/020_attributes/013_attr_dereference_test.t diff --git a/t/073_misc_attribute_coerce_lazy.t b/t/020_attributes/014_misc_attribute_coerce_lazy.t similarity index 100% rename from t/073_misc_attribute_coerce_lazy.t rename to t/020_attributes/014_misc_attribute_coerce_lazy.t diff --git a/t/040_meta_role.t b/t/030_roles/001_meta_role.t similarity index 100% rename from t/040_meta_role.t rename to t/030_roles/001_meta_role.t diff --git a/t/041_role.t b/t/030_roles/002_role.t similarity index 100% rename from t/041_role.t rename to t/030_roles/002_role.t diff --git a/t/042_apply_role.t b/t/030_roles/003_apply_role.t similarity index 100% rename from t/042_apply_role.t rename to t/030_roles/003_apply_role.t diff --git a/t/043_role_composition_errors.t b/t/030_roles/004_role_composition_errors.t similarity index 100% rename from t/043_role_composition_errors.t rename to t/030_roles/004_role_composition_errors.t diff --git a/t/044_role_conflict_detection.t b/t/030_roles/005_role_conflict_detection.t similarity index 100% rename from t/044_role_conflict_detection.t rename to t/030_roles/005_role_conflict_detection.t diff --git a/t/045_role_exclusion.t b/t/030_roles/006_role_exclusion.t similarity index 100% rename from t/045_role_exclusion.t rename to t/030_roles/006_role_exclusion.t diff --git a/t/046_roles_and_required_method_edge_cases.t b/t/030_roles/007_roles_and_required_method_edge_cases.t similarity index 100% rename from t/046_roles_and_required_method_edge_cases.t rename to t/030_roles/007_roles_and_required_method_edge_cases.t diff --git a/t/047_role_conflict_edge_cases.t b/t/030_roles/008_role_conflict_edge_cases.t similarity index 100% rename from t/047_role_conflict_edge_cases.t rename to t/030_roles/008_role_conflict_edge_cases.t diff --git a/t/048_more_role_edge_cases.t b/t/030_roles/009_more_role_edge_cases.t similarity index 100% rename from t/048_more_role_edge_cases.t rename to t/030_roles/009_more_role_edge_cases.t diff --git a/t/049_run_time_role_composition.t b/t/030_roles/010_run_time_role_composition.t similarity index 100% rename from t/049_run_time_role_composition.t rename to t/030_roles/010_run_time_role_composition.t diff --git a/t/050_util_type_constraints.t b/t/040_type_constraints/001_util_type_constraints.t similarity index 100% rename from t/050_util_type_constraints.t rename to t/040_type_constraints/001_util_type_constraints.t diff --git a/t/051_util_type_constraints_export.t b/t/040_type_constraints/002_util_type_constraints_export.t similarity index 100% rename from t/051_util_type_constraints_export.t rename to t/040_type_constraints/002_util_type_constraints_export.t diff --git a/t/052_util_std_type_constraints.t b/t/040_type_constraints/003_util_std_type_constraints.t similarity index 100% rename from t/052_util_std_type_constraints.t rename to t/040_type_constraints/003_util_std_type_constraints.t diff --git a/t/053_util_find_type_constraint.t b/t/040_type_constraints/004_util_find_type_constraint.t similarity index 100% rename from t/053_util_find_type_constraint.t rename to t/040_type_constraints/004_util_find_type_constraint.t diff --git a/t/054_util_type_coercion.t b/t/040_type_constraints/005_util_type_coercion.t similarity index 100% rename from t/054_util_type_coercion.t rename to t/040_type_constraints/005_util_type_coercion.t diff --git a/t/055_util_type_reloading.t b/t/040_type_constraints/006_util_type_reloading.t similarity index 100% rename from t/055_util_type_reloading.t rename to t/040_type_constraints/006_util_type_reloading.t diff --git a/t/056_util_more_type_coercion.t b/t/040_type_constraints/007_util_more_type_coercion.t similarity index 100% rename from t/056_util_more_type_coercion.t rename to t/040_type_constraints/007_util_more_type_coercion.t diff --git a/t/057_union_types.t b/t/040_type_constraints/008_union_types.t similarity index 100% rename from t/057_union_types.t rename to t/040_type_constraints/008_union_types.t diff --git a/t/058_union_types_and_coercions.t b/t/040_type_constraints/009_union_types_and_coercions.t similarity index 100% rename from t/058_union_types_and_coercions.t rename to t/040_type_constraints/009_union_types_and_coercions.t diff --git a/t/059_misc_type_tests.t b/t/040_type_constraints/010_misc_type_tests.t similarity index 100% rename from t/059_misc_type_tests.t rename to t/040_type_constraints/010_misc_type_tests.t diff --git a/t/061_container_type_constraint.t b/t/040_type_constraints/011_container_type_constraint.t similarity index 100% rename from t/061_container_type_constraint.t rename to t/040_type_constraints/011_container_type_constraint.t diff --git a/t/107_custom_attr_meta_with_roles.t b/t/050_metaclasses/001_custom_attr_meta_with_roles.t similarity index 100% rename from t/107_custom_attr_meta_with_roles.t rename to t/050_metaclasses/001_custom_attr_meta_with_roles.t diff --git a/t/108_custom_attr_meta_as_role.t b/t/050_metaclasses/002_custom_attr_meta_as_role.t similarity index 100% rename from t/108_custom_attr_meta_as_role.t rename to t/050_metaclasses/002_custom_attr_meta_as_role.t diff --git a/t/021_moose_w_metaclass.t b/t/050_metaclasses/003_moose_w_metaclass.t similarity index 100% rename from t/021_moose_w_metaclass.t rename to t/050_metaclasses/003_moose_w_metaclass.t diff --git a/t/060_moose_for_meta.t b/t/050_metaclasses/004_moose_for_meta.t similarity index 100% rename from t/060_moose_for_meta.t rename to t/050_metaclasses/004_moose_for_meta.t diff --git a/t/105_module_refresh_compat.t b/t/060_compat/001_module_refresh_compat.t similarity index 100% rename from t/105_module_refresh_compat.t rename to t/060_compat/001_module_refresh_compat.t diff --git a/t/022_moose_respects_base.t b/t/060_compat/002_moose_respects_base.t similarity index 100% rename from t/022_moose_respects_base.t rename to t/060_compat/002_moose_respects_base.t diff --git a/t/020_foreign_inheritence.t b/t/060_compat/003_foreign_inheritence.t similarity index 100% rename from t/020_foreign_inheritence.t rename to t/060_compat/003_foreign_inheritence.t diff --git a/t/100_subtype_quote_bug.t b/t/100_bugs/001_subtype_quote_bug.t similarity index 100% rename from t/100_subtype_quote_bug.t rename to t/100_bugs/001_subtype_quote_bug.t diff --git a/t/101_subtype_conflict_bug.t b/t/100_bugs/002_subtype_conflict_bug.t similarity index 100% rename from t/101_subtype_conflict_bug.t rename to t/100_bugs/002_subtype_conflict_bug.t diff --git a/t/102_Moose_Object_error.t b/t/100_bugs/003_Moose_Object_error.t similarity index 100% rename from t/102_Moose_Object_error.t rename to t/100_bugs/003_Moose_Object_error.t diff --git a/t/103_subclass_use_base_bug.t b/t/100_bugs/004_subclass_use_base_bug.t similarity index 100% rename from t/103_subclass_use_base_bug.t rename to t/100_bugs/004_subclass_use_base_bug.t diff --git a/t/104_inline_reader_bug.t b/t/100_bugs/005_inline_reader_bug.t similarity index 100% rename from t/104_inline_reader_bug.t rename to t/100_bugs/005_inline_reader_bug.t diff --git a/t/106_handles_foreign_class_bug.t b/t/100_bugs/006_handles_foreign_class_bug.t similarity index 100% rename from t/106_handles_foreign_class_bug.t rename to t/100_bugs/006_handles_foreign_class_bug.t diff --git a/t/109_reader_precedence_bug.t b/t/100_bugs/007_reader_precedence_bug.t similarity index 100% rename from t/109_reader_precedence_bug.t rename to t/100_bugs/007_reader_precedence_bug.t diff --git a/t/110_new_w_undef.t b/t/100_bugs/008_new_w_undef.t similarity index 100% rename from t/110_new_w_undef.t rename to t/100_bugs/008_new_w_undef.t diff --git a/t/201_example.t b/t/200_examples/001_example.t similarity index 100% rename from t/201_example.t rename to t/200_examples/001_example.t diff --git a/t/202_example_Moose_POOP.t b/t/200_examples/002_example_Moose_POOP.t similarity index 100% rename from t/202_example_Moose_POOP.t rename to t/200_examples/002_example_Moose_POOP.t diff --git a/t/203_example.t b/t/200_examples/003_example.t similarity index 100% rename from t/203_example.t rename to t/200_examples/003_example.t diff --git a/t/204_example_w_DCS.t b/t/200_examples/004_example_w_DCS.t similarity index 100% rename from t/204_example_w_DCS.t rename to t/200_examples/004_example_w_DCS.t diff --git a/t/205_example_w_TestDeep.t b/t/200_examples/005_example_w_TestDeep.t similarity index 100% rename from t/205_example_w_TestDeep.t rename to t/200_examples/005_example_w_TestDeep.t diff --git a/t/206_example_Protomoose.t b/t/200_examples/006_example_Protomoose.t similarity index 100% rename from t/206_example_Protomoose.t rename to t/200_examples/006_example_Protomoose.t diff --git a/t/300_immutable_moose.t b/t/300_immutable/001_immutable_moose.t similarity index 100% rename from t/300_immutable_moose.t rename to t/300_immutable/001_immutable_moose.t diff --git a/t/400_moose_util.t b/t/400_moose_util/001_moose_util.t similarity index 100% rename from t/400_moose_util.t rename to t/400_moose_util/001_moose_util.t diff --git a/t/401_moose_util_does_role.t b/t/400_moose_util/002_moose_util_does_role.t similarity index 100% rename from t/401_moose_util_does_role.t rename to t/400_moose_util/002_moose_util_does_role.t diff --git a/t/402_moose_util_search_class_by_role.t b/t/400_moose_util/003_moose_util_search_class_by_role.t similarity index 100% rename from t/402_moose_util_search_class_by_role.t rename to t/400_moose_util/003_moose_util_search_class_by_role.t diff --git a/t/500_test_moose.t b/t/500_test_moose/001_test_moose.t similarity index 100% rename from t/500_test_moose.t rename to t/500_test_moose/001_test_moose.t diff --git a/t/501_test_moose_does_ok.t b/t/500_test_moose/002_test_moose_does_ok.t similarity index 100% rename from t/501_test_moose_does_ok.t rename to t/500_test_moose/002_test_moose_does_ok.t diff --git a/t/502_test_moose_has_attribute_ok.t b/t/500_test_moose/003_test_moose_has_attribute_ok.t similarity index 100% rename from t/502_test_moose_has_attribute_ok.t rename to t/500_test_moose/003_test_moose_has_attribute_ok.t diff --git a/t/503_test_moose_meta_ok.t b/t/500_test_moose/004_test_moose_meta_ok.t similarity index 100% rename from t/503_test_moose_meta_ok.t rename to t/500_test_moose/004_test_moose_meta_ok.t