--- a/tests/ide_tests/sikuliberemiz.py Mon Jul 04 08:35:47 2022 +0200
+++ b/tests/ide_tests/sikuliberemiz.py Mon Jul 04 08:44:23 2022 +0200
@@ -29,6 +29,7 @@
"Connect": sikuli.Key.F7,
"Clean": sikuli.Key.F9,
"Build": sikuli.Key.F11,
+ "SelectAll":("a",sikuli.Key.CTRL),
"Save": ("s",sikuli.Key.CTRL),
"New": ("n",sikuli.Key.CTRL),
"Address": ("l",sikuli.Key.CTRL)} # to reach address bar in GTK's file selector
@@ -110,6 +111,9 @@
self.thread = Thread(target = self._waitStdoutProc).start()
+ def __del__(self):
+ pass # self.thread.join() ?
+
def _waitStdoutProc(self):
while True:
a = self.proc.stdout.readline()
@@ -265,11 +269,11 @@
stdoutIdleObserver.__init__(self)
# stubs for common sikuli calls to allow adding hooks later
- for name in ["click","doubleClick","type"]:
+ for name in ["click","doubleClick","type","rightClick","wait"]:
def makeMyMeth(n):
def myMeth(*args, **kwargs):
+ self.ReportScreenShot(n + "(" + repr(args) + "," + repr(kwargs) + ")")
getattr(sikuli, n)(*args, **kwargs)
- self.ReportScreenShot(n + "(" + repr(args) + "," + repr(kwargs) + ")")
return myMeth
setattr(self, name, makeMyMeth(name))