Package translate :: Package tools :: Module test_pogrep :: Class TestPOGrep
[hide private]
[frames] | no frames]

Class TestPOGrep

source code

Instance Methods [hide private]
 
poparse(self, posource)
helper that parses po source without requiring files
source code
 
pogrep(self, posource, searchstring, cmdlineoptions=None)
helper that parses po source and passes it through a filter
source code
 
test_simplegrep_msgid(self)
grep for a string in the source
source code
 
test_simplegrep_msgstr(self)
grep for a string in the target
source code
 
test_simplegrep_locations(self)
grep for a string in the location comments
source code
 
test_simplegrep_comments(self)
grep for a string in the comments
source code
 
test_unicode_message_searchstring(self)
check that we can grep unicode messages and use unicode search strings
source code
 
test_unicode_message_regex_searchstring(self)
check that we can grep unicode messages and use unicode regex search strings
source code
 
test_unicode_normalise(self)
check that we normlise unicode strings before comparing
source code