/[gzz]/gzz/test/gzz/media/textscrollblock.py
ViewVC logotype

Diff of /gzz/test/gzz/media/textscrollblock.py

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

revision 1.1 by tjl, Fri Dec 6 14:06:43 2002 UTC revision 1.2 by tjl, Fri Dec 6 14:16:47 2002 UTC
# Line 32  def testImmutability(): Line 32  def testImmutability():
32    
33  def testABCD():  def testABCD():
34      """Test various things about span handling.      """Test various things about span handling.
   
     fail: *  
35      """      """
36      s1, s2 = scrollblock1, scrollblock2      s1, s2 = scrollblock1, scrollblock2
37      sp1_all = s1.getCurrent()      sp1_all = s1.getCurrent()
# Line 42  def testABCD(): Line 40  def testABCD():
40      failUnlessEqual(sp1_0.getText(), "b")      failUnlessEqual(sp1_0.getText(), "b")
41      failUnlessEqual(sp1_all.subSpan(1,2), sp1_0)      failUnlessEqual(sp1_all.subSpan(1,2), sp1_0)
42            
43    
44    def testABCD_transient():
45        """Test various things about span handling for transients.
46        """
47        appendable1.append("abcd")
48        appendable2.append("a")
49        appendable2.append("bc")
50        appendable2.append("d")
51        scrollblock1 = appendable1
52        scrollblock2 = appendable2
53        testABCD()

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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