~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/EncodingAdapter.py

remove all trailing whitespace from bzr source

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
# Kanji
55
55
# It is a kanji sequence for nihonjin, or Japanese in English.
56
 
 
56
#
57
57
# '\u4eba' being person, 'u\65e5' sun and '\u672c' origin. Ie,
58
58
# sun-origin-person, 'native from the land where the sun rises'. Note, I'm
59
59
# not a fluent speaker, so this is just my crude breakdown.
60
 
 
60
#
61
61
# Wouter van Heyst
62
62
_nihonjin = u'\u65e5\u672c\u4eba'
63
63
 
81
81
 
82
82
class EncodingTestAdapter(object):
83
83
    """A tool to generate a suite, testing multiple encodings for a single test.
84
 
    
 
84
 
85
85
    This is similar to bzrlib.transport.TransportTestProviderAdapter.
86
86
    It is done by copying the test once for each encoding, and injecting
87
87
    the encoding name, and the list of valid strings for that encoding.