|
count(self,
source,
expectedsource,
target=None,
expectedtarget=None)
simple helper to check the respective word counts |
source code
|
|
|
|
|
test_simple_count_one(self)
simplest one word count |
source code
|
|
|
test_simple_count_two(self)
simplest one word count |
source code
|
|
|
test_punctuation_divides_words(self)
test that we break words when there is punctuation |
source code
|
|
|
test_xml_tags(self)
test that we do not count XML tags as words |
source code
|
|
|
test_newlines(self)
test to see that newlines divide words |
source code
|
|
|
test_variables_are_words(self)
test that we count variables as words |
source code
|
|
|
test_plurals(self)
test that we can handle plural PO elements |
source code
|
|
|
test_plurals_kde(self)
test that we correcly count old style KDE plurals |
source code
|
|
|
|