WIP: fixed unit tests for Qt-less build.

This commit is contained in:
Matthias Koefferlein
2018-07-10 01:17:35 +02:00
parent 58fd6ed143
commit d2c890ab6d
21 changed files with 585 additions and 458 deletions
+1 -1
View File
@@ -1044,7 +1044,7 @@ END
assert_equal(dump_layer(lll, 1, "c0"), "(0,100;1000,1200); (100,0;1100,1100)")
# TODO: undo tests crashes in non-editable mode! Should be checked properly.
if RBA::Application::instance.is_editable?
if lll.is_editable?
assert_equal(m.has_undo?, true)
assert_equal(m.has_redo?, false)