Package translate :: Package convert :: Module test_po2oo :: Class TestPO2OO

[hide private]
[frames] | no frames]

# Class TestPO2OO

source code

Known Subclasses:
  - TestPO2OOCommand

Instance Methods | [hide private]

setup_method(self, method) | source code

teardown_method(self, method) | source code

convertoo(self, posource, ootemplate, language=`'``en-US``'`) helper to exercise the command line function | source code

roundtripstring(self, entitystring) | source code

check_roundtrip(self, oosource) Checks that the round-tripped string is the same as the original | source code

test_convertoo(self) checks that the convertoo function is working | source code

test_pofilter(self) Tests integration with pofilter | source code

test_roundtrip_simple(self) checks that simple strings make it through a oo->po->oo roundtrip | source code

test_roundtrip_escape(self) checks that escapes in strings make it through a oo->po->oo roundtrip | source code

test_roundtrip_quotes(self) checks that (escaped) quotes in strings make it through a oo->po->oo roundtrip | source code

xtest_roundtrip_spaces(self) checks that (escaped) quotes in strings make it through a oo->po->oo roundtrip | source code

test_default_timestamp(self) test to ensure that we revert to the default timestamp | source code

test_escape_conversion(self) test to ensure that we convert escapes correctly | source code

test_helpcontent_escapes(self) test to ensure that we convert helpcontent escapes correctly | source code

test_helpcontent_escapes2(self) test to ensure that we convert helpcontent escapes correctly | source code