Package translate :: Package convert :: Module test_oo2xliff :: Class TestOO2POCommand
[hide private]
[frames] | no frames]

Class TestOO2POCommand

source code

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

Tests running actual oo2xliff commands on files

Nested Classes [hide private]

Inherited from TestOO2XLIFF: 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_xlf(self)
tests the simplest possible conversion to a xlf 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

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

Inherited from TestOO2XLIFF: test_msgid_bug_error_address

Inherited from test_oo2po.TestOO2PO: check_roundtrip, convert, roundtripstring, singleelement, test_double_escapes, test_escapes, test_escapes_helpcontent2, 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 XLIFF localization files

Inherited from test_convert.TestConvertCommand: defaultoptions

Inherited from TestOO2XLIFF: 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 XLIFF localization files

User documentation: http://translate.sourceforge.net/wiki/toolkit/oo2po

Value:
translate.convert.oo2xliff