l.t.t.t.StatisticsTestScenario : class documentation

Part of lp.translations.tests.test_pofile View In Hierarchy

Known subclasses: lp.translations.tests.test_pofile.StatistcsCountsTestScenario, lp.translations.tests.test_pofile.StatistcsFiltersTestScenario

Test case mixin: POFile statistics.

It is used to test the actual statistics functions but also to test that the related filter functions return the same counts.

Method makePOFile Create a POFile to run statistics tests against.
Method exerciseFunction Run the function under test.
Method getCurrentCount Undocumented
Method getRosettaCount Undocumented
Method getTranslatedCount Undocumented
Method getUnreviewedCount Undocumented
Method getUntranslatedCount Undocumented
Method getUpdatesCount Undocumented
Method test_translatedCount_initial Undocumented
Method test_translatedCount_potmsgset_initial Undocumented
Method test_translatedCount Undocumented
Method test_translatedCount_ignores_obsolete Undocumented
Method test_translatedCount_other_side Undocumented
Method test_translatedCount_diverged Undocumented
Method test_translatedCount_ignores_masked_shared_translations Undocumented
Method test_untranslatedCount_potmsgset_initial Undocumented
Method test_untranslatedCount_initial Undocumented
Method test_untranslatedCount Undocumented
Method test_untranslatedCount_ignores_obsolete Undocumented
Method test_untranslatedCount_other_side Undocumented
Method test_untranslatedCount_diverged Undocumented
Method test_untranslatedCount_ignores_masked_shared_translations Undocumented
Method test_currentCount_initial Undocumented
Method test_currentCount_potmsgset_initial Undocumented
Method test_currentCount Undocumented
Method test_currentCount_ignores_obsolete Undocumented
Method test_currentCount_ignores_onesided_translation Undocumented
Method test_currentCount_different Undocumented
Method test_currentCount_diverged Undocumented
Method test_rosettaCount_initial Undocumented
Method test_rosettaCount_potmsgset_initial Undocumented
Method test_rosettaCount Undocumented
Method test_rosettaCount_ignores_obsolete Undocumented
Method test_rosettaCount_diverged Undocumented
Method test_rosettaCount_ignores_shared_messages Undocumented
Method test_rosettaCount_ignores_messages_translated_on_other_side Undocumented
Method test_rosettaCount_includes_different_translations Undocumented
Method test_updatesCount_initial Undocumented
Method test_updatesCount_potmsgset_initial Undocumented
Method test_updatesCount Undocumented
Method test_updatesCount_ignores_obsolete Undocumented
Method test_updatesCount_diverged Undocumented
Method test_updatesCount_diverged_ignores_untranslated_other Undocumented
Method test_unreviewedCount_initial Undocumented
Method test_unreviewedCount_potmsgset_initial Undocumented
Method test_unreviewedCount Undocumented
Method test_unreviewedCount_ignores_obsolete Undocumented
Method test_unreviewedCount_counts_msgids_not_suggestions Undocumented
Method test_unreviewedCount_ignores_reviewed_suggestions Undocumented
Method test_unreviewedCount_includes_new_suggestions Undocumented
Method test_unreviewedCount_includes_other_side_translation Undocumented
Method _getSideTraits Return TranslationSideTraits for potemplate.
Method _makeOtherSideTranslation Create a current TranslationMessage for the other side.
def makePOFile(self):
Create a POFile to run statistics tests against.
def exerciseFunction(self, pofile):
Run the function under test.
def getCurrentCount(self, pofile):
Undocumented
def getRosettaCount(self, pofile):
Undocumented
def getTranslatedCount(self, pofile):
Undocumented
def getUnreviewedCount(self, pofile):
Undocumented
def getUntranslatedCount(self, pofile):
Undocumented
def getUpdatesCount(self, pofile):
Undocumented
def _getSideTraits(self, potemplate):
Return TranslationSideTraits for potemplate.
def _makeOtherSideTranslation(self, pofile, potmsgset=None, translations=None):
Create a current TranslationMessage for the other side.
def test_translatedCount_initial(self):
Undocumented
def test_translatedCount_potmsgset_initial(self):
Undocumented
def test_translatedCount(self):
Undocumented
def test_translatedCount_ignores_obsolete(self):
Undocumented
def test_translatedCount_other_side(self):
Undocumented
def test_translatedCount_diverged(self):
Undocumented
def test_translatedCount_ignores_masked_shared_translations(self):
Undocumented
def test_untranslatedCount_potmsgset_initial(self):
Undocumented
def test_untranslatedCount_initial(self):
Undocumented
def test_untranslatedCount(self):
Undocumented
def test_untranslatedCount_ignores_obsolete(self):
Undocumented
def test_untranslatedCount_other_side(self):
Undocumented
def test_untranslatedCount_diverged(self):
Undocumented
def test_untranslatedCount_ignores_masked_shared_translations(self):
Undocumented
def test_currentCount_initial(self):
Undocumented
def test_currentCount_potmsgset_initial(self):
Undocumented
def test_currentCount(self):
Undocumented
def test_currentCount_ignores_obsolete(self):
Undocumented
def test_currentCount_ignores_onesided_translation(self):
Undocumented
def test_currentCount_different(self):
Undocumented
def test_currentCount_diverged(self):
Undocumented
def test_rosettaCount_initial(self):
Undocumented
def test_rosettaCount_potmsgset_initial(self):
Undocumented
def test_rosettaCount(self):
Undocumented
def test_rosettaCount_ignores_obsolete(self):
Undocumented
def test_rosettaCount_diverged(self):
Undocumented
def test_rosettaCount_ignores_shared_messages(self):
Undocumented
def test_rosettaCount_ignores_messages_translated_on_other_side(self):
Undocumented
def test_rosettaCount_includes_different_translations(self):
Undocumented
def test_updatesCount_initial(self):
Undocumented
def test_updatesCount_potmsgset_initial(self):
Undocumented
def test_updatesCount(self):
Undocumented
def test_updatesCount_ignores_obsolete(self):
Undocumented
def test_updatesCount_diverged(self):
Undocumented
def test_updatesCount_diverged_ignores_untranslated_other(self):
Undocumented
def test_unreviewedCount_initial(self):
Undocumented
def test_unreviewedCount_potmsgset_initial(self):
Undocumented
def test_unreviewedCount(self):
Undocumented
def test_unreviewedCount_ignores_obsolete(self):
Undocumented
def test_unreviewedCount_counts_msgids_not_suggestions(self):
Undocumented
def test_unreviewedCount_ignores_reviewed_suggestions(self):
Undocumented
def test_unreviewedCount_includes_new_suggestions(self):
Undocumented
def test_unreviewedCount_includes_other_side_translation(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-12-06 00:00:17.