buildframework/helium/sf/java/signaling/tests/antunit/test_signalexception_config.ant.xml
author lorewang
Wed, 01 Dec 2010 16:05:36 +0800
changeset 715 e0739b8406dd
parent 628 7c4a911dc066
permissions -rw-r--r--
Specify extenal tool with path

<?xml version="1.0"?>
<!-- 
============================================================================ 
Name        : test_signalexception_config.ant.xml 
Part of     : Helium

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".

Initial Contributors:
Nokia Corporation - initial contribution.

Contributors:

Description:

============================================================================
-->
<project name="test-signalexception-config" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">

    <import file="run-scenario.ant.xml" />

    <target name="test-failing-build">
        <au:expectfailure>
            <runScenario scenario="failing-build" target="build" />
        </au:expectfailure>
        <au:assertLogContains text="Signal: buildFailedSignal" />
        <au:assertLogContains text="Failing the build." />
    </target>
   
    <target name="test-failing-build-with-failure-in-notifier">
        <au:expectfailure>
            <runScenario scenario="failing-build-failing-notifier" target="build" />
        </au:expectfailure>
        <au:assertLogContains text="Signal: buildFailedSignal" />
        <au:assertLogContains text="Failing the build." />
    </target>
   
</project>