/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/EncodingAdapter.py

  • Committer: Jelmer Vernooij
  • Date: 2009-02-25 14:36:59 UTC
  • mfrom: (4048 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4049.
  • Revision ID: jelmer@samba.org-20090225143659-vx6cbqtmyicuzfyf
Merge bzr.dev.

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.