stable

Clone or download

Read-only

Migrate legacy tracker tests to PHPUnit

Part of request #14150: Get rid of SimpleTest Change-Id: I85d0e6f9382a06e2d6ea0987b418a3702662b66f

Modified Files

Name
R tests/simpletest/common/tracker/ArtifactImportTest.php Go to diff View file
A tests/phpunit/common/tracker/ArtifactRuleFactoryTest.php +60 −0 Go to diff View file
R tests/simpletest/common/tracker/ArtifactRuleValueTest.php Go to diff View file
R tests/simpletest/common/tracker/ArtifactRuleValueViewTest.php Go to diff View file
R tests/simpletest/common/tracker/ArtifactRulesManagerTest.php Go to diff View file
A tests/phpunit/common/tracker/ArtifactTest.php +81 −0 Go to diff View file
A tests/phpunit/common/tracker/ArtifactXMLExporterTest.php +1229 −0 Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_cc_add_new.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_cc_no_changes.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_cc_remove.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_close_date_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_close_date_kept_reopen.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_close_date_no_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_comment.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_comment_and_change.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_comment_updates.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_deleted_attachment.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_float_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_float_history_with_no_value.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_float_history_with_string_value.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_full_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_full_history_with_perms_on_artifact.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_full_history_with_perms_on_artifact_with_nobody.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_half_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_integer_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_integer_history_with_no_value.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_integer_history_with_string_value.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_no_value_list_for_status_field.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_null_attachment.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_one_attachment.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_scalar_half_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_scalar_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_scalar_no_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_severity_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_static_list_half_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_static_list_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_static_multi_list_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_static_multi_list_history_with_0.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_static_multi_list_history_with_0_in_set_of_values.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_static_multi_list_history_with_a_comma_in_a_label.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_static_multiple_multi_list_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_status_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_status_no_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_string_half_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_string_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_string_no_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_summary_and_attachment.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_summary_and_attachment_change.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_summary_attachment_half_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_two_attachments.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_two_attachments_same_name.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_user_list_and_type_change.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_user_list_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_user_multi_list_and_missing_user.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_user_multi_list_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_user_multi_list_history_finishing_by_none.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_user_multi_list_history_with_data_change.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_user_multi_list_history_with_user_in_wrong_order.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_with_user_multiple_multi_list_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/artifact_without_any_history.json Go to diff View file
R tests/simpletest/common/tracker/_fixtures/followup_comments1.txt Go to diff View file
R tests/simpletest/common/tracker/_fixtures/trackerv3/1/30 Go to diff View file
R tests/simpletest/common/tracker/_fixtures/trackerv3/1/31 Go to diff View file
R tests/simpletest/common/tracker/_fixtures/two_artifacts.json Go to diff View file
D tests/simpletest/common/tracker/ArtifactRuleFactoryTest.php +0 −59 Go to diff View file
D tests/simpletest/common/tracker/ArtifactTest.php +0 −92 Go to diff View file
D tests/simpletest/common/tracker/ArtifactXMLExporterTest.php +0 −1361 Go to diff View file