Parent Directory | Revision Log | Patch
revision 1.6 by benja, Tue Apr 22 14:52:45 2003 UTC | revision 1.7 by tjl, Tue Apr 22 20:10:15 2003 UTC | |
---|---|---|
# | Line 32 def testImg(): | Line 32 def testImg(): |
32 | 'application/pdf') | 'application/pdf') |
33 | assert sb.getCurrent().length() == 2 | assert sb.getCurrent().length() == 2 |
34 | ||
35 | def testAddTwice(): | |
36 | pool = storm.impl.TransientPool(java.util.HashSet()) | |
37 | salph = alph.impl.StormAlph(pool) | |
38 | ||
39 | sb = salph.addFile(java.io.File('testdata/test1.pdf'), | |
40 | 'application/pdf') | |
41 | assert sb.getCurrent().length() == 2 | |
42 | ||
43 | sb = salph.addFile(java.io.File('testdata/test1.pdf'), | |
44 | 'application/pdf') | |
45 | assert sb.getCurrent().length() == 2 | |
46 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |