Part of lp.translations.utilities.tests.test_xpi_import View In Hierarchy
Method | setUp | Undocumented |
Method | setUpTranslationImportQueueForTemplate | Return an ITranslationImportQueueEntry for testing purposes. |
Method | setUpTranslationImportQueueForTranslation | Return an ITranslationImportQueueEntry for testing purposes. |
Method | test_TemplateImport | Test XPI template file import. |
Method | test_TwiceTemplateImport | Test a template import done twice. |
Method | test_TranslationImport | Test XPI translation file import. |
Method | test_GetLastTranslator | Tests whether we extract last translator information correctly. |
Method | test_Contexts | Test that message context in XPI file is set to chrome path. |
Method | test_SystemEntityIsIgnored | Test handling of SYSTEM entities in DTD files. |
Method | _assertXpiMessageInvariant | Check whether invariant part of all messages are correct. |
Parameters | subdir | subdirectory in firefox-data to get XPI data from. |
Parameters | subdir | subdirectory in firefox-data to get XPI data from. |