Thomas Vachuska

Adding ability to test all UI archetypes.

Change-Id: I3096c51acb59c64388d48dce6e14d2284c7af23f
...@@ -11,7 +11,7 @@ type=${1:-bundle} ...@@ -11,7 +11,7 @@ type=${1:-bundle}
11 [ $type = app ] && archetype=bundle || archetype=$type 11 [ $type = app ] && archetype=bundle || archetype=$type
12 12
13 if [ "$1" = "-?" -o "$1" = "-h" -o "$1" = "--help" ]; then 13 if [ "$1" = "-?" -o "$1" = "-h" -o "$1" = "--help" ]; then
14 - echo "usage: $(basename $0) {app|bundle|ui|uitab|cli|api} groupId artifactId version package mvn-options" 14 + echo "usage: $(basename $0) {app|bundle|ui|uitab|uitopo|cli|api} groupId artifactId version package mvn-options"
15 echo " All arguments are optional" 15 echo " All arguments are optional"
16 exit 1 16 exit 1
17 fi 17 fi
......
...@@ -53,6 +53,14 @@ ...@@ -53,6 +53,14 @@
53 <step name="Verify-UI-Table" requires="^" 53 <step name="Verify-UI-Table" requires="^"
54 exec="onos-check-views ${OCI} id=sample"/> 54 exec="onos-check-views ${OCI} id=sample"/>
55 55
56 + <step name="Create-App-UI-Topo-Overlay" requires="Reinstall-App-With-UI-Table"
57 + exec="onos-create-app uitopo org.test.app test-app 1.2.3 org.test.app -DinteractiveMode=false"/>
58 + <step name="Build-App-With-UI-Topo" requires="^"
59 + exec="mvn clean install"/>
60 + <step name="Reinstall-App-With-UI-Topo" requires="^,~Verify-UI-Table"
61 + exec="onos-app ${OCI} reinstall! target/test-app-1.2.3.oar"/>
62 + <step name="Verify-UI-Topo" requires="^"
63 + exec="onos-check-views ${OCI} id=sample"/>
56 64
57 <step name="Uninstall-App" requires="^" 65 <step name="Uninstall-App" requires="^"
58 exec="onos-app ${OCI} uninstall org.foo.app"/> 66 exec="onos-app ${OCI} uninstall org.foo.app"/>
......