Package translate :: Package filters :: Module test_pofilter :: Class TestXliffFilter
[hide private]
[frames] | no frames]

Class TestXliffFilter

source code

    object --+    
             |    
BaseTestFilter --+
                 |
                TestXliffFilter

Test class for xliff-specific tests.

Instance Methods [hide private]
 
set_store_review(review=True) source code
 
setup_method(self, method) source code

Inherited from BaseTestFilter: filter, parse_text, test_ignore_if_already_marked, test_isfuzzy, test_isreview, test_list_all_tests, test_non_existant_check, test_preconditions, test_simplefail, test_simplepass, test_test_against_fuzzy, test_test_against_review, test_unicode, test_variables_across_lines

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  filetext = '<?xml version="1.0" encoding="utf-8"?>\n<xliff ver...
  filename = 'test.xlf'
Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

filetext

Value:
'''<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.1" xmlns="urn:oasis:names:tc:xliff:document:1.1">
<file original=\'NoName\' source-language="en" datatype="plaintext">
  <body>
    <trans-unit approved="yes">
      <source>test</source>
      <target>rest</target>
    </trans-unit>
...