mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-31 10:06:28 +02:00
WIP: fixed unit tests for Qt-less build.
This commit is contained in:
Vendored
+8
@@ -39,6 +39,10 @@ class LAYLayoutView_TestClass < TestBase
|
||||
# Basic view creation and MainWindow events
|
||||
def test_1
|
||||
|
||||
if !RBA.constants.member?(:Application)
|
||||
return
|
||||
end
|
||||
|
||||
app = RBA::Application.instance
|
||||
mw = app.main_window
|
||||
mw.close_all
|
||||
@@ -122,6 +126,10 @@ class LAYLayoutView_TestClass < TestBase
|
||||
|
||||
def test_2
|
||||
|
||||
if !RBA.constants.member?(:Application)
|
||||
return
|
||||
end
|
||||
|
||||
app = RBA::Application.instance
|
||||
mw = app.main_window
|
||||
mw.close_all
|
||||
|
||||
Reference in New Issue
Block a user