Base class for filter tests.
|
parse_text(self,
filetext)
helper that parses xliff file content without requiring files |
source code
|
|
|
filter(self,
translationstore,
checkerconfig=None,
cmdlineoptions=None)
Helper that passes a translations store through a filter, and returns
the resulting store. |
source code
|
|
|
test_simplepass(self)
checks that an obviously correct string passes |
source code
|
|
|
test_simplefail(self)
checks that an obviously wrong string fails |
source code
|
|
|
test_variables_across_lines(self)
Test that variables can span lines and still fail/pass |
source code
|
|
|
test_ignore_if_already_marked(self)
check that we don't add another failing marker if the message is
already marked as failed |
source code
|
|
|
test_non_existant_check(self)
check that we report an error if a user tries to run a non-existant
test |
source code
|
|
|
test_list_all_tests(self)
lists all available tests |
source code
|
|
|
test_test_against_fuzzy(self)
test whether to run tests against fuzzy translations |
source code
|
|
|
test_test_against_review(self)
test whether to run tests against translations marked for review |
source code
|
|
|
test_isfuzzy(self)
tests the extraction of items marked fuzzy |
source code
|
|
|
test_isreview(self)
tests the extraction of items marked review |
source code
|
|
|
test_unicode(self)
tests that we can handle UTF-8 encoded characters when there is no
known header specified encoding |
source code
|
|
|
test_preconditions(self)
tests that the preconditions work correctly |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|