Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
extras
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
4
Merge Requests
4
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
The Openvibe Group
extras
Commits
be39b000
Commit
be39b000
authored
Apr 09, 2014
by
ANDRADE-BARROSO Guillermo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix names mistakes in testOgreContext
parent
00db84b4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
144 deletions
+0
-144
plugins/processing/simple-visualisation/test/testOgreContext.UNIX.sikuli/Simple3Dview.png
...isation/test/testOgreContext.UNIX.sikuli/Simple3Dview.png
+0
-0
plugins/processing/simple-visualisation/test/testOgreContext.UNIX.sikuli/designerScreen.png
...ation/test/testOgreContext.UNIX.sikuli/designerScreen.png
+0
-0
plugins/processing/simple-visualisation/test/testOgreContext.UNIX.sikuli/testOgreContext.UNIX.html
...est/testOgreContext.UNIX.sikuli/testOgreContext.UNIX.html
+0
-0
plugins/processing/simple-visualisation/test/testOgreContext.UNIX.sikuli/testOgreContext.UNIX.py
.../test/testOgreContext.UNIX.sikuli/testOgreContext.UNIX.py
+0
-0
plugins/processing/simple-visualisation/test/testOgreContext.sikuli/testStartInterface.UNIX.html
.../test/testOgreContext.sikuli/testStartInterface.UNIX.html
+0
-109
plugins/processing/simple-visualisation/test/testOgreContext.sikuli/testStartInterface.UNIX.py
...on/test/testOgreContext.sikuli/testStartInterface.UNIX.py
+0
-35
No files found.
plugins/processing/simple-visualisation/test/testOgreContext.sikuli/Simple3Dview.png
→
plugins/processing/simple-visualisation/test/testOgreContext.
UNIX.
sikuli/Simple3Dview.png
View file @
be39b000
File moved
plugins/processing/simple-visualisation/test/testOgreContext.sikuli/designerScreen.png
→
plugins/processing/simple-visualisation/test/testOgreContext.
UNIX.
sikuli/designerScreen.png
View file @
be39b000
File moved
plugins/processing/simple-visualisation/test/testOgreContext.
sikuli/testOgreContext
.html
→
plugins/processing/simple-visualisation/test/testOgreContext.
UNIX.sikuli/testOgreContext.UNIX
.html
View file @
be39b000
File moved
plugins/processing/simple-visualisation/test/testOgreContext.
sikuli/testOgreContext
.py
→
plugins/processing/simple-visualisation/test/testOgreContext.
UNIX.sikuli/testOgreContext.UNIX
.py
View file @
be39b000
File moved
plugins/processing/simple-visualisation/test/testOgreContext.sikuli/testStartInterface.UNIX.html
deleted
100644 → 0
View file @
00db84b4
<html>
<head>
<style
type=
"text/css"
>
.sikuli-code
{
font-size
:
20px
;
font-family
:
"Osaka-mono"
,
Monospace
;
line-height
:
1.5em
;
display
:
table-cell
;
white-space
:
pre-wrap
;
/* css-3 */
white-space
:
-moz-pre-wrap
!important
;
/* Mozilla, since 1999 */
white-space
:
-pre-wrap
;
/* Opera 4-6 */
white-space
:
-o-pre-wrap
;
/* Opera 7 */
word-wrap
:
break-word
;
/* Internet Explorer 5.5+ */
width
:
99%
;
/* remove horizontal scroll-bar when viewing in IE7 */
}
.sikuli-code
img
{
vertical-align
:
middle
;
margin
:
2px
;
border
:
1px
solid
#ccc
;
padding
:
2px
;
-moz-border-radius
:
5px
;
-webkit-border-radius
:
5px
;
-moz-box-shadow
:
1px
1px
1px
gray
;
-webkit-box-shadow
:
1px
1px
2px
gray
;
}
.kw
{
color
:
blue
;
}
.skw
{
color
:
rgb
(
63
,
127
,
127
);
}
.str
{
color
:
rgb
(
128
,
0
,
0
);
}
.dig
{
color
:
rgb
(
128
,
64
,
0
);
}
.cmt
{
color
:
rgb
(
200
,
0
,
200
);
}
h2
{
display
:
inline
;
font-weight
:
normal
;
}
.info
{
border-bottom
:
1px
solid
#ddd
;
padding-bottom
:
5px
;
margin-bottom
:
20px
;
display
:
none
;
}
a
{
color
:
#9D2900
;
}
body
{
font-family
:
"Trebuchet MS"
,
Arial
,
Sans-Serif
;
}
</style>
</head>
<body>
<div
class=
"info"
>
<h2>
testStartInterface.UNIX.sikuli
</h2>
<a
href=
"testStartInterface.UNIX.zip"
>
(Download this script)
</a>
</div>
<pre
class=
"sikuli-code"
>
<span
class=
"kw"
>
def
</span>
setUp(self):
<span
class=
"kw"
>
import
</span>
os
ov_binany_path=os.environ[
<span
class=
"str"
>
'OV_BINARY_PATH'
</span>
]
self.terminal = App.open(
<span
class=
"str"
>
"xterm -e "
</span>
+ ov_binany_path +
<span
class=
"str"
>
"/openvibe-designer.sh --no-session-management"
</span>
)
<span
class=
"kw"
>
while
</span>
<span
class=
"kw"
>
not
</span>
self.terminal.window():
<span
class=
"skw"
>
wait
</span>
(
<span
class=
"dig"
>
1
</span>
)
<span
class=
"skw"
>
wait
</span>
(
<img
src=
"StartInterface.png"
/>
,
<span
class=
"dig"
>
10
</span>
)
<span
class=
"kw"
>
def
</span>
test_createSimpleScenarioAndRun(self):
<span
class=
"skw"
>
click
</span>
(Pattern(
<img
src=
"Datagenerati.png"
/>
).targetOffset(-
<span
class=
"dig"
>
70
</span>
,-
<span
class=
"dig"
>
1
</span>
))
<span
class=
"skw"
>
dragDrop
</span>
(
<img
src=
"Sinusoscilla-1.png"
/>
,Pattern(
<img
src=
"DesignerDataGenOpen.png"
/>
).targetOffset(-
<span
class=
"dig"
>
233
</span>
,-
<span
class=
"dig"
>
163
</span>
))
<span
class=
"kw"
>
assert
</span>
(exists(
<img
src=
"SinusOscillatorBoxSelected.png"
/>
))
<span
class=
"skw"
>
click
</span>
(Pattern(
<img
src=
"Visualisatio.png"
/>
).targetOffset(-
<span
class=
"dig"
>
62
</span>
,
<span
class=
"dig"
>
0
</span>
))
<span
class=
"skw"
>
click
</span>
(Pattern(
<img
src=
"Basic.png"
/>
).targetOffset(-
<span
class=
"dig"
>
50
</span>
,-
<span
class=
"dig"
>
1
</span>
))
<span
class=
"skw"
>
dragDrop
</span>
(
<img
src=
"Signaldisplay.png"
/>
, Pattern(
<img
src=
"designerSinusGenPlaced.png"
/>
).targetOffset(-
<span
class=
"dig"
>
197
</span>
,-
<span
class=
"dig"
>
16
</span>
))
<span
class=
"kw"
>
assert
</span>
(exists(
<img
src=
"SignalDisplayBoxSelected.png"
/>
))
<span
class=
"skw"
>
dragDrop
</span>
(
<img
src=
"outputSignalConnector.png"
/>
,
<img
src=
"imputSingnalConnector.png"
/>
)
<span
class=
"skw"
>
click
</span>
(Pattern(
<img
src=
"playButton.png"
/>
).similar(
<span
class=
"dig"
>
0.95
</span>
))
<span
class=
"skw"
>
wait
</span>
(
<span
class=
"dig"
>
6
</span>
)
<span
class=
"kw"
>
assert
</span>
(exists(Pattern(
<img
src=
"SignalDisplayWindow.png"
/>
).similar(
<span
class=
"dig"
>
0.46
</span>
)))
<span
class=
"skw"
>
dragDrop
</span>
(Pattern(
<img
src=
"SignalDisplayWindow.png"
/>
).similar(
<span
class=
"dig"
>
0.46
</span>
).targetOffset(
<span
class=
"dig"
>
2
</span>
,-
<span
class=
"dig"
>
157
</span>
),Pattern(
<img
src=
"SignalDisplayWindow.png"
/>
).similar(
<span
class=
"dig"
>
0.46
</span>
).targetOffset(-
<span
class=
"dig"
>
102
</span>
,
<span
class=
"dig"
>
137
</span>
))
<span
class=
"skw"
>
click
</span>
(
<img
src=
"stopButton.png"
/>
)
waitVanish(Pattern(
<img
src=
"SignalDisplayWindow.png"
/>
).similar(
<span
class=
"dig"
>
0.58
</span>
))
<span
class=
"skw"
>
type
</span>
(
<span
class=
"str"
>
"w"
</span>
,KeyModifier.CTRL)
<span
class=
"kw"
>
assert
</span>
(exists(
<img
src=
"SavechangePopup.png"
/>
))
<span
class=
"skw"
>
click
</span>
(Pattern(
<img
src=
"SavechangePopup.png"
/>
).targetOffset(-
<span
class=
"dig"
>
170
</span>
,
<span
class=
"dig"
>
56
</span>
))
waitVanish(Pattern(
<img
src=
"SavechangePopup.png"
/>
).targetOffset(-
<span
class=
"dig"
>
170
</span>
,
<span
class=
"dig"
>
56
</span>
),
<span
class=
"dig"
>
3
</span>
)
<span
class=
"skw"
>
type
</span>
(
<span
class=
"str"
>
"n"
</span>
,KeyModifier.CTRL)
<span
class=
"skw"
>
wait
</span>
(
<span
class=
"dig"
>
1
</span>
)
<span
class=
"kw"
>
def
</span>
tearDown(self):
<span
class=
"kw"
>
if
</span>
self.terminal.window():
App.close(self.terminal)
self.terminal= None
</pre>
</body>
</html>
plugins/processing/simple-visualisation/test/testOgreContext.sikuli/testStartInterface.UNIX.py
deleted
100644 → 0
View file @
00db84b4
def
setUp
(
self
):
import
os
ov_binany_path
=
os
.
environ
[
'OV_BINARY_PATH'
]
self
.
terminal
=
App
.
open
(
"xterm -e "
+
ov_binany_path
+
"/openvibe-designer.sh --no-session-management"
)
while
not
self
.
terminal
.
window
():
wait
(
1
)
wait
(
"StartInterface.png"
,
10
)
def
test_createSimpleScenarioAndRun
(
self
):
click
(
Pattern
(
"Datagenerati.png"
)
.
targetOffset
(
-
70
,
-
1
))
dragDrop
(
"Sinusoscilla-1.png"
,
Pattern
(
"DesignerDataGenOpen.png"
)
.
targetOffset
(
-
233
,
-
163
))
assert
(
exists
(
"SinusOscillatorBoxSelected.png"
))
click
(
Pattern
(
"Visualisatio.png"
)
.
targetOffset
(
-
62
,
0
))
click
(
Pattern
(
"Basic.png"
)
.
targetOffset
(
-
50
,
-
1
))
dragDrop
(
"Signaldisplay.png"
,
Pattern
(
"designerSinusGenPlaced.png"
)
.
targetOffset
(
-
197
,
-
16
))
assert
(
exists
(
"SignalDisplayBoxSelected.png"
))
dragDrop
(
"outputSignalConnector.png"
,
"imputSingnalConnector.png"
)
click
(
Pattern
(
"playButton.png"
)
.
similar
(
0.95
))
wait
(
6
)
assert
(
exists
(
Pattern
(
"SignalDisplayWindow.png"
)
.
similar
(
0.46
)))
dragDrop
(
Pattern
(
"SignalDisplayWindow.png"
)
.
similar
(
0.46
)
.
targetOffset
(
2
,
-
157
),
Pattern
(
"SignalDisplayWindow.png"
)
.
similar
(
0.46
)
.
targetOffset
(
-
102
,
137
))
click
(
"stopButton.png"
)
waitVanish
(
Pattern
(
"SignalDisplayWindow.png"
)
.
similar
(
0.58
))
type
(
"w"
,
KeyModifier
.
CTRL
)
assert
(
exists
(
"SavechangePopup.png"
))
click
(
Pattern
(
"SavechangePopup.png"
)
.
targetOffset
(
-
170
,
56
))
waitVanish
(
Pattern
(
"SavechangePopup.png"
)
.
targetOffset
(
-
170
,
56
),
3
)
type
(
"n"
,
KeyModifier
.
CTRL
)
wait
(
1
)
def
tearDown
(
self
):
if
self
.
terminal
.
window
():
App
.
close
(
self
.
terminal
)
self
.
terminal
=
None
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment