]> git.argeo.org Git - gpl/argeo-slc.git/blob - junit/TestAntBuild.java
Prepare next development cycle
[gpl/argeo-slc.git] / junit / TestAntBuild.java
1 package org.argeo.slc.example.junit;
2
3 import java.io.File;
4
5 import junit.framework.TestCase;
6
7 import org.argeo.slc.ant.AntRegistryUtil;
8
9 public class TestAntBuild extends TestCase {
10 public void testAllRunSimple() {
11 File slcBaseDir = new File("./src/test/slc").getAbsoluteFile();
12
13 File antFile = new File(slcBaseDir.getPath()
14 + "/root/Category1/SubCategory2/build.xml");
15 AntRegistryUtil.runAll(antFile);
16
17 }
18 }