equal
deleted
inserted
replaced
22 --> |
22 --> |
23 <project name="test-stage" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium"> |
23 <project name="test-stage" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium"> |
24 <description>Helium Antlib Signal unittests.</description> |
24 <description>Helium Antlib Signal unittests.</description> |
25 <import file="run-scenario.ant.xml" /> |
25 <import file="run-scenario.ant.xml" /> |
26 <property environment="env"/> |
26 <property environment="env"/> |
27 |
27 |
28 <target name="test-scenario-valid-build"> |
28 <target name="test-scenario-valid-build"> |
29 <runScenario scenario="valid_build" target="build" /> |
29 <runScenario scenario="valid_build" target="build" /> |
30 </target> |
30 </target> |
31 |
31 |
32 <target name="test-override-scenario"> |
32 <target name="test-override-scenario"> |
162 <contains string="${stage2.log}" substring="BUILD SUCCESSFUL" /> |
162 <contains string="${stage2.log}" substring="BUILD SUCCESSFUL" /> |
163 </not> |
163 </not> |
164 </au:assertTrue> |
164 </au:assertTrue> |
165 </target> |
165 </target> |
166 |
166 |
|
167 <target name="test-missing-default-config"> |
|
168 <au:expectfailure> |
|
169 <runScenario scenario="missing_default_config" target="build" /> |
|
170 </au:expectfailure> |
|
171 <au:assertLogContains text="BUILD FAILED" /> |
|
172 <au:assertLogContains text="There must be one default stagerecord datatype." /> |
|
173 </target> |
|
174 |
|
175 <target name="test-missing-stage-refid"> |
|
176 <au:expectfailure> |
|
177 <runScenario scenario="missing_stage_refid" target="build" /> |
|
178 </au:expectfailure> |
|
179 <au:assertLogContains text="BUILD FAILED" /> |
|
180 <au:assertLogContains text="Invalid stagerecord configuration, the stageRefId attribute is not defined at" /> |
|
181 </target> |
|
182 |
|
183 <target name="test-invalid-stagerefid-reference"> |
|
184 <au:expectfailure> |
|
185 <runScenario scenario="invalid_stage_refid" target="build" /> |
|
186 </au:expectfailure> |
|
187 <au:assertLogContains text="BUILD FAILED" /> |
|
188 <au:assertLogContains text="Invalid stagerecord stageRefId attribute value, the 'stage1-invalid' id doesn't exist at" /> |
|
189 </target> |
|
190 |
|
191 <target name="test-invalid-stagerefid-object"> |
|
192 <au:expectfailure> |
|
193 <runScenario scenario="inavlid_stage_refid_object" target="build" /> |
|
194 </au:expectfailure> |
|
195 <au:assertLogContains text="BUILD FAILED" /> |
|
196 <au:assertLogContains text="Invalid stagerecord stageRefId attribute value, the 'stage1-invalid-object' id doesn't refer to a stage type at" /> |
|
197 </target> |
167 </project> |
198 </project> |