73 |
failUnlessEqual(testbll.args[2], scrollblockLinker.pageSpanNodeType) |
failUnlessEqual(testbll.args[2], scrollblockLinker.pageSpanNodeType) |
74 |
failUnlessEqual(testbll.args[4], span) |
failUnlessEqual(testbll.args[4], span) |
75 |
|
|
76 |
|
# Next, the big invariant test: |
77 |
|
# First, set the focus by creating a main node |
78 |
|
# in the scrollblock view |
79 |
|
testbll2 = TestBLL() |
80 |
|
mainNode2 = testbll.args[2].createMainNode(testbll.args[3], |
81 |
|
testbll.args[4], testbll2) |
82 |
|
|
83 |
|
mainNode2.renderMain(vs, 0) |
84 |
|
|
85 |
|
# Check that we really got the callblack for |
86 |
|
# putting a buoy with the cell in it |
87 |
|
failUnlessEqual(testbll2.calls, 1) |
88 |
|
|
89 |
|
|
90 |
|
|