summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2018-04-05 10:40:31 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2018-04-11 12:06:57 +0000
commit58008df1767148ff3242a80981b14ef760b8a637 (patch)
tree2b3674768ef2279effb7a5741bc51b3b5afbbb8f /tests
parentd3eea0d9b842b27a9d05cbd88669e1cad848b7c8 (diff)
ProgAA: add a test scene with subpresentation
Change-Id: I6e21cbcb3dcb17570996afe1fb36daaf43824a18 Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/scenes/progaa/progaa_in_subpres.uia16
-rw-r--r--tests/scenes/progaa/progaa_in_subpres.uip37
2 files changed, 53 insertions, 0 deletions
diff --git a/tests/scenes/progaa/progaa_in_subpres.uia b/tests/scenes/progaa/progaa_in_subpres.uia
new file mode 100644
index 0000000..251b07a
--- /dev/null
+++ b/tests/scenes/progaa/progaa_in_subpres.uia
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<application>
+ <assets initial="main">
+ <presentation id="main" src="progaa_in_subpres.uip"/>
+ <presentation id="subpres1" src="progaa_after_10_sec.uip"/>
+ </assets>
+ <statemachine ref="#logic">
+ <visual-states>
+ <state ref="Initial">
+ <enter>
+ <goto-slide element="main:Scene" rel="next"/>
+ </enter>
+ </state>
+ </visual-states>
+ </statemachine>
+</application>
diff --git a/tests/scenes/progaa/progaa_in_subpres.uip b/tests/scenes/progaa/progaa_in_subpres.uip
new file mode 100644
index 0000000..2e110f2
--- /dev/null
+++ b/tests/scenes/progaa/progaa_in_subpres.uip
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<UIP version="3" >
+ <Project >
+ <ProjectSettings author="" company="" presentationWidth="800" presentationHeight="480" maintainAspect="False" >
+ <CustomColors count="16" >#ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff</CustomColors>
+ </ProjectSettings>
+ <Graph >
+ <Scene id="Scene" >
+ <Layer id="Layer" >
+ <Camera id="Camera" />
+ <Model id="Cylinder" >
+ <Material id="Material" />
+ </Model>
+ <Light id="Light" />
+ </Layer>
+ <Layer id="sp" >
+ <Camera id="Camera_001" />
+ <Light id="Light_001" />
+ </Layer>
+ </Scene>
+ </Graph>
+ <Logic >
+ <State name="Master Slide" component="#Scene" >
+ <Add ref="#Layer" background="Transparent" backgroundcolor="0.0392157 0.45098 0.564706" />
+ <Add ref="#Camera" />
+ <State id="Scene-Slide1" name="Slide1" >
+ <Add ref="#Cylinder" name="Cylinder" position="344.967 -170.318 0" rotation="-26.2701 -25.7819 13.1225" sourcepath="#Cylinder" />
+ <Add ref="#Material" />
+ <Add ref="#Light" name="Light" position="303.109 95.2628 0" />
+ <Add ref="#sp" name="sp" blendtype="Normal" sourcepath="subpres1" />
+ <Add ref="#Camera_001" />
+ <Add ref="#Light_001" />
+ </State>
+ </State>
+ </Logic>
+ </Project>
+</UIP>