/[gzz]/gzz/test/gzz/impl/saving.test
ViewVC logotype

Diff of /gzz/test/gzz/impl/saving.test

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

revision 1.8 by benja, Tue Oct 1 17:40:36 2002 UTC revision 1.9 by benja, Fri Oct 11 14:00:36 2002 UTC
# Line 124  def testSavePageSpans(): Line 124  def testSavePageSpans():
124      c = space.N()      c = space.N()
125      empty = space.getCellTexter().getEnfilade(c, None)      empty = space.getCellTexter().getEnfilade(c, None)
126      scr = ScrollBlockManager.getScrollBlock(serv, id)      scr = ScrollBlockManager.getScrollBlock(serv, id)
127        scr.forcelengthKLUDGE(17);
128                    
129      space.getCellTexter().setEnfilade(c, empty.plus(scr.getCurrent()))      space.getCellTexter().setEnfilade(c, empty.plus(scr.getCurrent()).plus(
130                                      scr.getCurrent().subArea(5,9,7,7,23,23)))
131            
132      save(space)      save(space)
133      s2 = load()      s2 = load()
134            
135      c2 = s2.getCell(c.getId())      c2 = s2.getCell(c.getId())
136            
137        print s2.getCellTexter().getEnfilade(c2, None)
138        print space.getCellTexter().getEnfilade(c, None)
139        
140      assert s2.getCellTexter().getEnfilade(c2, None) == \      assert s2.getCellTexter().getEnfilade(c2, None) == \
141             space.getCellTexter().getEnfilade(c, None)             space.getCellTexter().getEnfilade(c, None)
142                        
143      save(s2)      save(s2)
     s3 = load()  
144        s3 = load()

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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