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

Class TestTMXFilter

source code

    object --+    
             |    
BaseTestFilter --+
                 |
                TestTMXFilter

Test class for TMX-specific tests.

Instance Methods [hide private]
 
setup_method(self, method) source code
 
test_test_against_fuzzy(self)
TMX doesn't support fuzzy
source code
 
test_test_against_review(self)
TMX doesn't support review
source code
 
test_isfuzzy(self)
TMX doesn't support fuzzy
source code
 
test_isreview(self)
TMX doesn't support review
source code

Inherited from BaseTestFilter: filter, parse_text, test_ignore_if_already_marked, test_list_all_tests, test_non_existant_check, test_preconditions, test_simplefail, test_simplepass, 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 = '<!DOCTYPE tmx SYSTEM "tmx14.dtd">\n<tmx version="1...
  filename = 'test.tmx'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

test_test_against_fuzzy(self)

source code 

TMX doesn't support fuzzy

Overrides: BaseTestFilter.test_test_against_fuzzy

test_test_against_review(self)

source code 

TMX doesn't support review

Overrides: BaseTestFilter.test_test_against_review

test_isfuzzy(self)

source code 

TMX doesn't support fuzzy

Overrides: BaseTestFilter.test_isfuzzy

test_isreview(self)

source code 

TMX doesn't support review

Overrides: BaseTestFilter.test_isreview

Class Variable Details [hide private]

filetext

Value:
'''<!DOCTYPE tmx SYSTEM "tmx14.dtd">
<tmx version="1.4">
  <header creationtool="Translate Toolkit - po2tmx" creationtoolversio\
n="1.1.1rc1" segtype="sentence" o-tmf="UTF-8" adminlang="en" srclang="\
en
" datatype="PlainText"/>
  <body>
    <tu>
...