changeset 17404:81b115385bc7

test-hybridencode: add cases for com0..9 and lpt0..9 note that com0 and lpt0 are *not* encoded
author Adrian Buehlmann <adrian@cadifra.com>
date Tue, 28 Aug 2012 20:57:11 +0200
parents 02ed64caddc4
children fc14953e8e34
files tests/test-hybridencode.py tests/test-hybridencode.py.out
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-hybridencode.py	Thu Aug 16 19:04:27 2012 +0400
+++ b/tests/test-hybridencode.py	Tue Aug 28 20:57:11 2012 +0200
@@ -24,4 +24,5 @@
 show('data/Project.Planning/Resources/AnotherLongDirectoryName/'
      'Followedbyanother/AndAnother/AndThenAnExtremelyLongFileName.txt')
 show('data/foo.../foo   / /a./_. /__/.x../    bla/.FOO/something.i')
-
+show('data/com0/com1/com2/com3/com4/com5/com6/com7/com8/com9')
+show('data/lpt0/lpt1/lpt2/lpt3/lpt4/lpt5/lpt6/lpt7/lpt8/lpt9')
--- a/tests/test-hybridencode.py.out	Thu Aug 16 19:04:27 2012 +0400
+++ b/tests/test-hybridencode.py.out	Tue Aug 28 20:57:11 2012 +0200
@@ -19,3 +19,9 @@
 A = 'data/foo.../foo   / /a./_. /__/.x../    bla/.FOO/something.i'
 B = 'data/foo..~2e/foo  ~20/~20/a~2e/__.~20/____/~2ex.~2e/~20   bla/~2e_f_o_o/something.i'
 
+A = 'data/com0/com1/com2/com3/com4/com5/com6/com7/com8/com9'
+B = 'data/com0/co~6d1/co~6d2/co~6d3/co~6d4/co~6d5/co~6d6/co~6d7/co~6d8/co~6d9'
+
+A = 'data/lpt0/lpt1/lpt2/lpt3/lpt4/lpt5/lpt6/lpt7/lpt8/lpt9'
+B = 'data/lpt0/lp~741/lp~742/lp~743/lp~744/lp~745/lp~746/lp~747/lp~748/lp~749'
+