[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/tests/phpunit/testcases/tests_things/ -> test_thing_original.php (summary)

(no description)

File Size: 351 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

MockOriginal:: (1 method):
  update()

GP_Test_Thing_Original:: (23 methods):
  create_original_with_update_counter()
  create_translations_with()
  test_import_for_project_should_not_update_unchanged_originals()
  test_import_for_project_should_update_changed_originals()
  test_import_for_project_should_update_cache()
  test_is_different_from_should_return_true_if_only_singular_is_for_update_and_it_is_the_same()
  test_is_different_from_should_return_true_if_one_value_is_empty_string_and_the_other_is_null()
  test_is_different_from_should_use_this_if_second_argument_is_not_supplied()
  test_original_should_validate_if_singular_is_zero()
  test_import_should_leave_unchanged_strings_as_active()
  test_import_should_mark_translation_of_changed_strings_as_fuzzy()
  test_import_should_not_mark_translation_of_changed_strings_as_fuzzy_with_filter()
  test_import_should_clean_project_count_cache()
  test_import_should_remove_from_active_missing_strings()
  test_normalize_fields_should_convert_named_priorities_to_numeric_by_name()
  test_normalize_fields_should_not_convert_numeric_priorities_to_numeric_by_name()
  test_normalize_fields_should_unset_priority_if_named_priority_is_missing()
  test_by_project_id_and_entry_should_match_case()
  test_import_for_project_with_context_which_exceeds_the_maximum_length_of_255()
  test_return_types_of_count_by_project_id()
  test_previous_state_is_passed_to_saved_action()
  test_delete()
  test_import_should_respect_priority_in_flags()


Class: MockOriginal  - X-Ref

update( $data, $where = null )   X-Ref
No description

Class: GP_Test_Thing_Original  - X-Ref

create_original_with_update_counter( $original_args = array()   X-Ref
No description

create_translations_with( $entries )   X-Ref
No description

test_import_for_project_should_not_update_unchanged_originals()   X-Ref
No description

test_import_for_project_should_update_changed_originals()   X-Ref
No description

test_import_for_project_should_update_cache()   X-Ref
No description

test_is_different_from_should_return_true_if_only_singular_is_for_update_and_it_is_the_same()   X-Ref
No description

test_is_different_from_should_return_true_if_one_value_is_empty_string_and_the_other_is_null()   X-Ref
No description

test_is_different_from_should_use_this_if_second_argument_is_not_supplied()   X-Ref
No description

test_original_should_validate_if_singular_is_zero()   X-Ref


test_import_should_leave_unchanged_strings_as_active()   X-Ref
No description

test_import_should_mark_translation_of_changed_strings_as_fuzzy()   X-Ref
No description

test_import_should_not_mark_translation_of_changed_strings_as_fuzzy_with_filter()   X-Ref
No description

test_import_should_clean_project_count_cache()   X-Ref


test_import_should_remove_from_active_missing_strings()   X-Ref
No description

test_normalize_fields_should_convert_named_priorities_to_numeric_by_name()   X-Ref
No description

test_normalize_fields_should_not_convert_numeric_priorities_to_numeric_by_name()   X-Ref
No description

test_normalize_fields_should_unset_priority_if_named_priority_is_missing()   X-Ref
No description

test_by_project_id_and_entry_should_match_case()   X-Ref
No description

test_import_for_project_with_context_which_exceeds_the_maximum_length_of_255()   X-Ref


test_return_types_of_count_by_project_id()   X-Ref


test_previous_state_is_passed_to_saved_action()   X-Ref
No description

test_delete()   X-Ref
No description

test_import_should_respect_priority_in_flags()   X-Ref




Generated: Sun Dec 22 01:01:04 2024 Cross-referenced by PHPXref 0.7.1