buildframework/helium/sf/java/signaling/tests/antunit/test_signalexception_config.ant.xml
equal
deleted
inserted
replaced
|
1 <?xml version="1.0"?> |
|
2 <!-- |
|
3 ============================================================================ |
|
4 Name : test_signalexception_config.ant.xml |
|
5 Part of : Helium |
|
6 |
|
7 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
8 All rights reserved. |
|
9 This component and the accompanying materials are made available |
|
10 under the terms of the License "Eclipse Public License v1.0" |
|
11 which accompanies this distribution, and is available |
|
12 at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
13 |
|
14 Initial Contributors: |
|
15 Nokia Corporation - initial contribution. |
|
16 |
|
17 Contributors: |
|
18 |
|
19 Description: |
|
20 |
|
21 ============================================================================ |
|
22 --> |
|
23 <project name="test-signalexception-config" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium"> |
|
24 |
|
25 <import file="run-scenario.ant.xml" /> |
|
26 |
|
27 <target name="test-failing-build"> |
|
28 <au:expectfailure> |
|
29 <runScenario scenario="failing-build" target="build" /> |
|
30 </au:expectfailure> |
|
31 <au:assertLogContains text="Signal: buildFailedSignal" /> |
|
32 <au:assertLogContains text="Message: Failing the build." /> |
|
33 </target> |
|
34 |
|
35 <target name="test-failing-build-with-failure-in-notifier"> |
|
36 <au:expectfailure> |
|
37 <runScenario scenario="failing-build-failing-notifier" target="build" /> |
|
38 </au:expectfailure> |
|
39 <au:assertLogContains text="Signal: buildFailedSignal" /> |
|
40 <au:assertLogContains text="Message: Failing the build." /> |
|
41 </target> |
|
42 |
|
43 </project> |