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_cannot_approve_translation_without_approve_permission()

test_cannot_approve_translation_without_approve_permission() 

test_cannot_reject_translation_without_approve_permission()

test_cannot_reject_translation_without_approve_permission() 

test_delete()

test_delete() 

test_filter_by_permission()

test_filter_by_permission() 
ticket gh-664

test_for_export_should_include_untranslated()

test_for_export_should_include_untranslated() 

test_for_translation_should_include_untranslated_by_default()

test_for_translation_should_include_untranslated_by_default() 

test_for_translation_should_not_include_old_by_default()

test_for_translation_should_not_include_old_by_default() 

test_for_translation_should_not_include_untranslated_for_single_status()

test_for_translation_should_not_include_untranslated_for_single_status() 

test_for_translation_should_respect_priorities()

test_for_translation_should_respect_priorities() 

test_for_translation_shouldnt_exclude_originals_with_rejected_translation_if_status_has_untranslated()

test_for_translation_shouldnt_exclude_originals_with_rejected_translation_if_status_has_untranslated() 

test_previous_state_is_passed_to_saved_action()

test_previous_state_is_passed_to_saved_action() 

test_translation_approve_change_status()

test_translation_approve_change_status() 

test_translation_denied_approve_change_status()

test_translation_denied_approve_change_status() 

test_translation_should_not_report_empty_translation_set_id_as_translation_value_error()

test_translation_should_not_report_empty_translation_set_id_as_translation_value_error() 
ticket gh-341

test_translation_should_not_validate_with_empty_plurals()

test_translation_should_not_validate_with_empty_plurals() 
ticket 149
ticket gh-236
covers

test_translation_should_support_6_plurals()

test_translation_should_support_6_plurals() 

test_translation_should_write_all_6_plurals_to_database()

test_translation_should_write_all_6_plurals_to_database() 

test_validator_id_saved_on_status_change_to_current()

test_validator_id_saved_on_status_change_to_current() 

test_validator_id_saved_on_status_change_to_rejected()

test_validator_id_saved_on_status_change_to_rejected() 

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'