Package translate :: Package convert :: Module test_oo2po :: Class TestOO2POCommand

[hide private]
[frames] | no frames]

# Class TestOO2POCommand

source code

    test_convert.TestConvertCommand --+
                                      |
                          TestOO2PO --+
                                      |
                                     TestOO2POCommand

Tests running actual oo2po commands on files

Nested Classes | [hide private]

Inherited from `TestOO2PO`: `conversion_class`, `target_filetype`

Instance Methods | [hide private]

test_help(self) tests getting help | source code

test_preserve_filename(self) Ensures that the filename is preserved. | source code

test_simple_pot(self) tests the simplest possible conversion to a pot file | source code

test_simple_po(self) tests the simplest possible conversion to a po file | source code

test_onefile_nonrecursive(self) tests the --multifile=onefile option and make sure it doesn't produce a directory | source code

test_remove_duplicates(self) test that removing of duplicates works correctly (bug 171) | source code

Inherited from `test_convert.TestConvertCommand`: `cleardir`, `create_testfile`, `get_testfilename`, `help_check`, `open_testfile`, `read_testfile`, `run_command`, `setup_method`, `teardown_method`

Inherited from `TestOO2PO`: `check_roundtrip`, `convert`, `roundtripstring`, `singleelement`, `test_double_escapes`, `test_escapes`, `test_escapes_helpcontent2`, `test_msgid_bug_error_address`, `test_roundtrip_escape`, `test_simpleentity`, `test_x_comment_inclusion`, `xtest_roundtrip_whitespaceonly`

Class Variables | [hide private]

| convertmodule convert an OpenOffice.org (SDF) localization file to Gettext PO localization files
Inherited from `test_convert.TestConvertCommand`: `defaultoptions` Inherited from `TestOO2PO`: `conversion_module`

Method Details | [hide private]

### test_help(self)

source code

tests getting help

Overrides: test_convert.TestConvertCommand.test_help

Class Variable Details | [hide private]

### convertmodule

convert an OpenOffice.org (SDF) localization file to Gettext PO localization files

See: http://translate.sourceforge.net/wiki/toolkit/oo2po for examples and usage instructions

Value:
  translate.convert.oo2po