Package translate :: Package storage :: Module test_po :: Class TestPOUnit
[hide private]
[frames] | no frames]

Class TestPOUnit

source code

test_base.TestTranslationUnit --+
                                |
                               TestPOUnit
Known Subclasses:

Nested Classes [hide private]
  UnitClass
Base class for translation units.
Instance Methods [hide private]
 
test_istranslatable(self)
Tests for the correct behaviour of istranslatable().
source code
 
test_adding_empty_note(self) source code
 
test_markreview(self)
Tests if we can mark the unit to need review.
source code
 
test_errors(self)
Tests that we can add and retrieve error messages for a unit.
source code
 
test_no_plural_settarget(self)
tests that target handling of file with no plural is correct
source code
 
test_wrapping_bug(self)
This tests for a wrapping bug that existed at some stage.
source code
 
test_extract_msgidcomments_from_text(self)
Test that KDE style comments are extracted correctly.
source code
 
test_isheader(self)
checks that we deal correctly with headers.
source code

Inherited from test_base.TestTranslationUnit: setup_method, test_create, test_difficult_escapes, test_eq, test_escapes, test_isfuzzy, test_note_sanity, test_target