|
1 <?xml version="1.0"?> |
|
2 <!-- |
|
3 ============================================================================ |
|
4 Name : test_diamonds.ant.xml |
|
5 Part of : Helium AntLib |
|
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-diamonds" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium"> |
|
24 <description>Helium Antlib diamonds unittests.</description> |
|
25 |
|
26 |
|
27 <import file="run-scenario.ant.xml" /> |
|
28 |
|
29 <target name="test-build"> |
|
30 <runScenario scenario="build" target="unittest-diamonds" /> |
|
31 <au:assertFileExists file="${temp.dir}/output/diamonds-start.log.xml" /> |
|
32 <au:assertFileExists file="${temp.dir}/output/diamonds-finish.xml" /> |
|
33 </target> |
|
34 |
|
35 <target name="test-build-with-invalid-address"> |
|
36 <runScenario scenario="invalid-address" target="unittest-diamonds" /> |
|
37 <au:assertFileExists file="${temp.dir}/output/diamonds-start.log.xml" /> |
|
38 <au:assertFileExists file="${temp.dir}/output/diamonds-finish.xml" /> |
|
39 </target> |
|
40 |
|
41 <target name="test-build-with-invalid-templates"> |
|
42 <runScenario scenario="invalid-templates" target="unittest-diamonds" /> |
|
43 <au:assertFileExists file="${temp.dir}/output/diamonds-start.log.xml" /> |
|
44 <au:assertFileExists file="${temp.dir}/output/diamonds-finish.xml" /> |
|
45 </target> |
|
46 |
|
47 </project> |