buildframework/helium/sf/java/logging/tests/antunit/test_stageslogging.ant.xml
author wbernard
Fri, 13 Aug 2010 14:59:05 +0300
changeset 628 7c4a911dc066
parent 587 85df38eb4012
child 645 b8d81fa19e7d
permissions -rw-r--r--
helium_11.0.0-e00f171ca185
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
<!-- 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
============================================================================ 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
Name        : test_signaltask.ant.xml 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
Part of     : Helium AntLib
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
All rights reserved.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
Initial Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
Description:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
============================================================================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
<project name="test-stage" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
    <description>Helium Antlib Signal unittests.</description>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
    <import file="run-scenario.ant.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
    <property environment="env"/>
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
    27
     
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
    <target name="test-scenario-valid-build">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
        <runScenario scenario="valid_build" target="build" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    31
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    32
    <target name="test-override-scenario">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
        <runScenario scenario="override_scenario" target="build" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
        <au:assertFileDoesntExist file="${temp.dir}/main.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
        <au:assertFileDoesntExist file="${temp.dir}/stage2.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    36
        <au:assertFileExists file="${temp.dir}/main_override.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    37
        <au:assertFileExists file="${temp.dir}/stage1.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    38
        <au:assertFileExists file="${temp.dir}/stage2_override.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    39
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    40
        <loadfile property="main.log" srcFile="${temp.dir}/main_override.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    41
        <au:assertTrue message="main_override.ant.log content is invalid: Main log start step1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    42
            <contains string="${main.log}" substring="Main log start step1" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    43
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    44
        <au:assertTrue message="main_override.ant.log content is invalid: Main log start step2">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    45
            <contains string="${main.log}" substring="Main log start step2" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    46
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    47
        <au:assertTrue message="main_override.ant.log content is invalid: Main log start step3">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    48
            <contains string="${main.log}" substring="Main log start step3" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    49
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    50
        <au:assertTrue message="main_override.ant.log content is invalid: Main log start step4">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    51
            <contains string="${main.log}" substring="Main log start step4" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    52
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    53
        <au:assertTrue message="main_override.ant.log content is invalid: Main log start step5">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    54
            <contains string="${main.log}" substring="Main log start step5" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    55
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    56
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    57
        <loadfile property="stage1.log" srcFile="${temp.dir}/stage1.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    58
        <au:assertTrue message="stage1.ant.log content is invalid: In stage1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    59
            <contains string="${stage1.log}" substring="In stage1 (1)" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    60
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    61
        <au:assertTrue message="stage1.ant.log content is invalid: In stage1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    62
            <contains string="${stage1.log}" substring="In stage1 (2)" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    63
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    64
        <loadfile property="stage2.log" srcFile="${temp.dir}/stage2_override.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    65
        <au:assertTrue message="stage2.ant.log content is invalid: In stage1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    66
            <contains string="${stage2.log}" substring="In stage2 (1)" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    67
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    68
        <au:assertTrue message="stage2.ant.log content is invalid: In stage1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    69
            <contains string="${stage2.log}" substring="In stage2 (2)" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    70
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    71
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    72
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    73
    <target name="test-build-failure">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    74
        <au:expectfailure>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    75
            <runScenario scenario="build_failure" target="build" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    76
        </au:expectfailure>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    77
        <au:assertFileExists file="${temp.dir}/main.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    78
        <au:assertFileExists file="${temp.dir}/stage1.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    79
        <au:assertFileExists file="${temp.dir}/stage2.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    80
        <loadfile property="main.log" srcFile="${temp.dir}/main.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    81
        <au:assertTrue message="main.ant.log content is invalid: Main log start step1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    82
            <contains string="${main.log}" substring="Main log start step1" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    83
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    84
        <au:assertTrue message="main.ant.log content is invalid: Main log start step2">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    85
            <contains string="${main.log}" substring="Main log start step2" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    86
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    87
        <au:assertTrue message="main.ant.log content is invalid: Main log start step3">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    88
            <contains string="${main.log}" substring="Main log start step3" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    89
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    90
        <au:assertTrue message="main.ant.log content is invalid: Main log start step4">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    91
            <not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    92
                <contains string="${main.log}" substring="Main log start step4" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    93
            </not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    94
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    95
        <au:assertTrue message="main.ant.log content is invalid: Main log start step5">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    96
            <not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    97
                <contains string="${main.log}" substring="Main log start step5" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    98
            </not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    99
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   100
        <au:assertTrue message="main.ant.log content is invalid: BUILD FAILED">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   101
            <contains string="${main.log}" substring="BUILD FAILED" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   102
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   103
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   104
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   105
        <loadfile property="stage1.log" srcFile="${temp.dir}/stage1.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   106
        <au:assertTrue message="stage1.ant.log content is invalid: In stage1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   107
            <contains string="${stage1.log}" substring="In stage1 (1)" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   108
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   109
        <au:assertTrue message="stage1.ant.log content is invalid: In stage1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   110
            <contains string="${stage1.log}" substring="In stage1 (2)" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   111
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   112
        <loadfile property="stage2.log" srcFile="${temp.dir}/stage2.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   113
        <au:assertTrue message="stage2.ant.log content is invalid: In stage1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   114
            <contains string="${stage2.log}" substring="In stage2 (1)" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   115
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   116
        <au:assertTrue message="stage2.ant.log content is invalid: In stage1">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   117
            <not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   118
                <contains string="${stage2.log}" substring="In stage2 (2)" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   119
            </not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   120
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   121
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   122
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   123
    <target name="test-backup-scenario">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   124
        <runScenario scenario="override_scenario" target="build" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   125
        <runScenario scenario="override_scenario" target="build" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   126
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   127
        <au:assertLogContains text="Backing up of"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   128
        <au:assertFileDoesntExist file="${temp.dir}/main.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   129
        <au:assertFileDoesntExist file="${temp.dir}/stage2.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   130
        <au:assertFileExists file="${temp.dir}/main_override.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   131
        <au:assertFileExists file="${temp.dir}/stage1.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   132
        <au:assertFileExists file="${temp.dir}/stage2_override.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   133
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   134
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   135
    <target name="test-build-status-fail">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   136
        <au:expectfailure>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   137
            <runScenario scenario="build_status" target="failure" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   138
        </au:expectfailure>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   139
        <au:assertFileExists file="${temp.dir}/main.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   140
        <au:assertFileExists file="${temp.dir}/stage1.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   141
        <loadfile property="main.log" srcFile="${temp.dir}/main.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   142
        <au:assertTrue message="main.ant.log content should have &quot;BUILD FAILED&quot; string.">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   143
            <contains string="${main.log}" substring="BUILD FAILED" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   144
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   145
        <loadfile property="stage1.log" srcFile="${temp.dir}/stage1.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   146
        <au:assertTrue message="stage1.ant.log content should not have &quot;BUILD FAILED&quot; string.">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   147
            <not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   148
                <contains string="${stage1.log}" substring="BUILD FAILED" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   149
            </not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   150
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   151
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   152
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   153
    <target name="test-build-status-success">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   154
        <runScenario scenario="build_status" target="success" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   155
        <loadfile property="main.log" srcFile="${temp.dir}/main.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   156
        <au:assertTrue message="main.ant.log content should have &quot;BUILD SUCCESSFUL&quot; string.">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   157
            <contains string="${main.log}" substring="BUILD SUCCESSFUL" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   158
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   159
        <loadfile property="stage2.log" srcFile="${temp.dir}/stage2.ant.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   160
        <au:assertTrue message="stage2.ant.log content should not have &quot;BUILD SUCCESSFUL&quot; string.">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   161
            <not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   162
                <contains string="${stage2.log}" substring="BUILD SUCCESSFUL" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   163
            </not>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   164
        </au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   165
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   166
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   167
    <target name="test-missing-default-config">
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   168
        <au:expectfailure>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   169
            <runScenario scenario="missing_default_config" target="build" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   170
        </au:expectfailure>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   171
        <au:assertLogContains text="BUILD FAILED" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   172
        <au:assertLogContains text="There must be one default stagerecord datatype." />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   173
    </target>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   174
    
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   175
    <target name="test-missing-stage-refid">
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   176
        <au:expectfailure>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   177
            <runScenario scenario="missing_stage_refid" target="build" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   178
        </au:expectfailure>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   179
        <au:assertLogContains text="BUILD FAILED" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   180
        <au:assertLogContains text="Invalid stagerecord configuration, the stageRefId attribute is not defined at" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   181
    </target>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   182
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   183
    <target name="test-invalid-stagerefid-reference">
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   184
        <au:expectfailure>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   185
            <runScenario scenario="invalid_stage_refid" target="build" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   186
        </au:expectfailure>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   187
        <au:assertLogContains text="BUILD FAILED" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   188
        <au:assertLogContains text="Invalid stagerecord stageRefId attribute value, the 'stage1-invalid' id doesn't exist at" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   189
    </target>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   190
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   191
    <target name="test-invalid-stagerefid-object">
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   192
        <au:expectfailure>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   193
            <runScenario scenario="inavlid_stage_refid_object" target="build" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   194
        </au:expectfailure>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   195
        <au:assertLogContains text="BUILD FAILED" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   196
        <au:assertLogContains text="Invalid stagerecord stageRefId attribute value, the 'stage1-invalid-object' id doesn't refer to a stage type at" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
   197
    </target>
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   198
</project>