Package translate :: Package filters :: Module test_checks
[hide private]
[frames] | no frames]

Module test_checks

source code

Functions [hide private]
 
passes(filterfunction, str1, str2)
returns whether the given strings pass on the given test, handling FilterFailures
source code
 
fails(filterfunction, str1, str2)
returns whether the given strings fail on the given test, handling only FilterFailures
source code
 
fails_serious(filterfunction, str1, str2)
returns whether the given strings fail on the given test, handling only SeriousFilterFailures
source code
 
test_defaults()
tests default setup and that checks aren't altered by other constructions
source code
 
test_construct()
tests that the checkers can be constructed
source code
 
test_accelerator_markers()
test that we have the correct accelerator marker for the various default configs
source code
 
test_accelerators()
tests accelerators
source code
 
xtest_acceleratedvariables()
test for accelerated variables
source code
 
test_acronyms()
tests acronyms
source code
 
test_blank()
tests blank
source code
 
test_brackets()
tests brackets
source code
 
test_compendiumconflicts()
tests compendiumconflicts
source code
 
test_doublequoting()
tests double quotes
source code
 
test_doublespacing()
tests double spacing
source code
 
test_doublewords()
tests doublewords
source code
 
test_endpunc()
tests endpunc
source code
 
test_endwhitespace()
tests endwhitespace
source code
 
test_escapes()
tests escapes
source code
 
test_newlines()
tests newlines
source code
 
test_tabs()
tests tabs
source code
 
test_filepaths()
tests filepaths
source code
 
test_kdecomments()
tests kdecomments
source code
 
test_long()
tests long messages
source code
 
test_musttranslatewords()
tests stopwords
source code
 
test_notranslatewords()
tests stopwords
source code
 
test_numbers()
test numbers
source code
 
test_options()
tests command line options e.g.
source code
 
test_printf()
tests printf style variables
source code
 
test_puncspacing()
tests spacing after punctuation
source code
 
test_purepunc()
tests messages containing only punctuation
source code
 
test_sentencecount()
tests sentencecount messages
source code
 
test_short()
tests short messages
source code
 
test_singlequoting()
tests single quotes
source code
 
test_simplecaps()
tests simple caps
source code
 
test_spellcheck()
tests spell checking
source code
 
test_startcaps()
tests starting capitals
source code
 
test_startpunc()
tests startpunc
source code
 
test_startwhitespace()
tests startwhitespace
source code
 
test_unchanged()
tests unchanged entries
source code
 
test_untranslated()
tests untranslated entries
source code
 
test_validchars()
tests valid characters
source code
 
test_variables_kde()
tests variables in KDE translations
source code
 
test_variables_gnome()
tests variables in GNOME translations
source code
 
test_variables_mozilla()
tests variables in Mozilla translations
source code
 
test_variables_openoffice()
tests variables in OpenOffice translations
source code
 
test_variables_cclicense()
Tests variables in Creative Commons translations.
source code
 
test_xmltags()
tests xml tags
source code
 
test_ooxmltags()
Tests the xml tags in OpenOffice.org translations for quality as done in gsicheck
source code
 
test_functions()
tests to see that funtions() are not translated
source code
 
test_emails()
tests to see that email addresses are not translated
source code
 
test_urls()
tests to see that URLs are not translated
source code
 
test_simpleplurals()
test that we can find English style plural(s)
source code
 
test_nplurals()
Test that we can find the wrong number of plural forms.
source code
 
test_credits()
tests credits
source code
Function Details [hide private]

test_options()

source code 

tests command line options e.g. --option

test_nplurals()

source code 

Test that we can find the wrong number of plural forms. Note that this test uses a UnitChecker, not a translation checker.