/[alph]/alph/org/nongnu/alph/impl/stormalph.test
ViewVC logotype

Diff of /alph/org/nongnu/alph/impl/stormalph.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by tjl, Tue Apr 22 06:30:24 2003 UTC revision 1.4 by benja, Tue Apr 22 12:21:26 2003 UTC
# Line 19  def testText(): Line 19  def testText():
19      f.close()      f.close()
20    
21      sb = salph.addFile(file, "text/plain;charset=UTF-8")      sb = salph.addFile(file, "text/plain;charset=UTF-8")
22        file.delete()
23    
24      assert string == sb.getCurrent().getText()      assert string == sb.getCurrent().getText()
25    
26    def testImg():
27        pool = storm.impl.TransientPool(java.util.HashSet())
28        salph = alph.impl.StormAlph(pool)
29        sb = salph.addFile(java.io.File('testdata/test1.pdf'),
30                           'application/pdf')
31        assert sb.getCurrent().getLength() == 2
32    
33    
34    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26