package GlotPress
inherited_from \GP_UnitTestCase

 Methods

clean_up_global_scope()

clean_up_global_scope() 
Inherited

setUp()

setUp() 
Inherited

set_admin_user_as_current()

set_admin_user_as_current() 
Inherited

set_normal_user_as_current()

set_normal_user_as_current() 
Inherited

test_copy_translations_from_should_copy_into_empty_set()

test_copy_translations_from_should_copy_into_empty_set() 

test_created_action_is_called()

test_created_action_is_called() 

test_delete()

test_delete() 

test_deleted_action_is_called()

test_deleted_action_is_called() 

test_filter_translation_set_import_fuzzy_translations()

test_filter_translation_set_import_fuzzy_translations() 
ticket 512

test_filter_translation_set_import_over_existing()

test_filter_translation_set_import_over_existing() 

test_import_should_generate_warnings()

test_import_should_generate_warnings() 

test_import_should_import_over_existing_different_translation_by_default()

test_import_should_import_over_existing_different_translation_by_default() 

test_import_should_not_change_fuzzy_status_if_warnings()

test_import_should_not_change_fuzzy_status_if_warnings() 
ticket gh-646

test_import_should_not_import_existing_same_translation()

test_import_should_not_import_existing_same_translation() 

test_import_should_not_import_translations_with_warnings_twice()

test_import_should_not_import_translations_with_warnings_twice() 

test_import_should_save_forced_fuzzy()

test_import_should_save_forced_fuzzy() 

test_import_should_save_fuzzy()

test_import_should_save_fuzzy() 

test_import_should_skip_existing_when_importing_fuzzy()

test_import_should_skip_existing_when_importing_fuzzy() 

test_previous_state_is_passed_to_saved_action()

test_previous_state_is_passed_to_saved_action() 

test_saved_action_is_called()

test_saved_action_is_called() 

test_update_status_breakdown_updates_pre_2_1_cached_values()

test_update_status_breakdown_updates_pre_2_1_cached_values() 
ticket gh-397

test_user_can_reject_his_own_translation()

test_user_can_reject_his_own_translation() 

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'