Debian Codegraph @

test/src/net/sf/antcontrib/antclipse/AntclipseTest.java

raw symbols SCIP
1 /*
2 * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package net.sf.antcontrib.antclipse;
17
18 import org.apache.tools.ant.BuildFileTest;
19
20 /**
21 * Basic test for "antclipse" task. For the moment it just launches the test xml script.
22 * @author Adrian Spinei [email protected]
23 * @version $Revision: 1.2 $
24 */
25 public class AntclipseTest extends BuildFileTest
26 {
27
28 /**
29 * Simple overriden constructor
30 * @param arg0
31 */
32 public AntclipseTest(String arg0)
33 {
34 super(arg0);
35 }
36
37 /* (non-Javadoc)
38 * @see junit.framework.TestCase#setUp()
39 */
40 public void setUp()
41 {
42 configureProject("test/resources/antclipse/antclipsetest.xml");
43 }
44
45 /* (non-Javadoc)
46 * @see junit.framework.TestCase#tearDown()
47 */
48 public void tearDown()
49 {
50 //nothing to do
51 }
52
53 /**
54 * Launches the "everything" task. Should not throw errors.
55 */
56 public void testExecuteDefaultBuild()
57 {
58 executeTarget("everything");
59 }
60
61 }