| 577 | end |
| 578 | |
| 579 | def test_9 |
| 580 | |
| 581 | if !RBA.constants.member?(:Application) |
| 582 | return |
| 583 | end |
| 584 | |
| 585 | app = RBA::Application.instance |
| 586 | mw = app.main_window |
| 587 | mw.close_all |
| 588 | |
| 589 | mw.create_layout(1) |
| 590 | assert_equal(false, mw.current_view.is_dirty?) |
| 591 | |
| 592 | cv = mw.current_view.cellview(0) |
| 593 | cv.cell = cv.layout.create_cell("TOP") |
| 594 | |
| 595 | assert_equal(true, mw.current_view.cellview(0).is_dirty?) |
| 596 | |
| 597 | if cv.layout.is_editable? |
| 598 | assert_equal(true, mw.current_view.is_dirty?) |
| 599 | end |
| 600 | |
| 601 | end |
| 602 | |
| 603 | # private config |
| 604 | def test_10 |
nothing calls this directly
no test coverage detected