Class GP_Test_Translation_Warnings

Description

Located in /t/test_warnings.php (line 4)

PHPUnit_Framework_TestCase
   |
   --GP_UnitTestCase
      |
      --GP_Test_Translation_Warnings
Method Summary
Variables

Inherited Variables

Inherited from GP_UnitTestCase

GP_UnitTestCase::$url
Methods
setUp (line 5)
void setUp ()

Redefinition of:
GP_UnitTestCase::setUp()
test_add (line 15)
void test_add ()
test_check (line 28)
void test_check ()
test_check_no_plural_forms_locales (line 53)

If a locale has no plural forms, we should check only against the plural original, since

it probably contains the placeholders

void test_check_no_plural_forms_locales ()
test_check_singular_plural_correspondence (line 40)

For the plural form, corresponding to the number 1 check only against the singular, not also against the plural

void test_check_singular_plural_correspondence ()
test_remove (line 21)
void test_remove ()

Inherited Methods

Inherited From GP_UnitTestCase

GP_UnitTestCase::assertDiscardWhitespace()
GP_UnitTestCase::assertEqualFields()
GP_UnitTestCase::assertWPError()
GP_UnitTestCase::clean_up_global_scope()
GP_UnitTestCase::setUp()
GP_UnitTestCase::set_admin_user_as_current()
GP_UnitTestCase::set_normal_user_as_current()
GP_UnitTestCase::start_transaction()
GP_UnitTestCase::tearDown()
GP_UnitTestCase::temp_filename()

Documentation generated on Fri, 18 May 2012 01:46:10 +0100 by phpDocumentor 1.4.3