Revision 13450
trunk/libraries/libProjection/build.xml | ||
---|---|---|
4 | 4 |
</description> |
5 | 5 |
<!-- set global properties for this build --> |
6 | 6 |
<property name="src" location="src"/> |
7 |
<property name="src-test" location="src-test"/> |
|
7 | 8 |
<property name="lib" location="lib"/> |
8 | 9 |
<property name="build" location="bin"/> |
10 |
<property name="build-test" location="bin-test"/> |
|
9 | 11 |
<property name="dist" location="dist"/> |
10 | 12 |
<property name="jarName" value="org.cresques.cts.jar"/> |
11 | 13 |
<property name="targetDir" location="../libFMap/lib"/> |
... | ... | |
72 | 74 |
<delete dir="${build}"/> |
73 | 75 |
<delete dir="${dist}"/> |
74 | 76 |
</target> |
77 |
|
|
78 |
<target name="run-tests" depends="batch-build,compile-tests"> |
|
79 |
<antcall target="generic-run-tests"> |
|
80 |
<param name="TestSuite.Name" value="org.gvsig.gui.beans.AllTests"/> |
|
81 |
</antcall> |
|
82 |
</target> |
|
83 |
|
|
75 | 84 |
</project> |
76 | 85 |
|
trunk/libraries/libProjection/.classpath | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<classpath> |
3 | 3 |
<classpathentry kind="src" path="src"/> |
4 |
<classpathentry kind="src" output="bin-test" path="src-test"/> |
|
4 | 5 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> |
5 | 6 |
<classpathentry kind="lib" path="lib/gt2-main.jar"/> |
6 | 7 |
<classpathentry kind="lib" path="lib/gt2-legacy.jar"/> |
7 | 8 |
<classpathentry kind="lib" path="lib/geoapi-2.0.jar"/> |
8 | 9 |
<classpathentry kind="lib" path="lib/geojava.jar"/> |
9 | 10 |
<classpathentry kind="lib" path="/_fwAndami/lib/gvsig-i18n.jar" sourcepath="/libInternationalization/src"/> |
11 |
<classpathentry kind="var" path="JUNIT_HOME/junit.jar" sourcepath="ECLIPSE_HOME/plugins/org.eclipse.jdt.source_3.1.1/src/org.junit_3.8.1/junitsrc.zip"/> |
|
10 | 12 |
<classpathentry kind="output" path="bin"/> |
11 | 13 |
</classpath> |
trunk/libraries/libProjection/src-test/org/cresques/cts/AllTests.java | ||
---|---|---|
1 |
package org.cresques.cts; |
|
2 |
|
|
3 |
import junit.framework.Test; |
|
4 |
import junit.framework.TestSuite; |
|
5 |
|
|
6 |
public class AllTests { |
|
7 |
|
|
8 |
public static Test suite() { |
|
9 |
TestSuite suite = new TestSuite("Test for org.cresques.cts"); |
|
10 |
//$JUnit-BEGIN$ |
|
11 |
|
|
12 |
//$JUnit-END$ |
|
13 |
return suite; |
|
14 |
} |
|
15 |
|
|
16 |
} |
|
0 | 17 |
trunk/libraries/libDriverManager/build.xml | ||
---|---|---|
58 | 58 |
<delete dir="${dist}"/> |
59 | 59 |
<delete file="${jarName}.jar" /> |
60 | 60 |
</target> |
61 |
|
|
62 |
<target name="run-tests" depends="batch-build,compile-tests"> |
|
63 |
<antcall target="generic-run-tests"> |
|
64 |
<param name="TestSuite.Name" value="com.hardcode.driverManager.AllTests"/> |
|
65 |
</antcall> |
|
66 |
</target> |
|
61 | 67 |
</project> |
trunk/libraries/libDriverManager/.classpath | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<classpath> |
3 | 3 |
<classpathentry kind="src" path="src"/> |
4 |
<classpathentry kind="src" path="src-test"/> |
|
4 | 5 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> |
5 | 6 |
<classpathentry kind="lib" path="/libFMap/lib/org.gvsig.exceptions.jar"/> |
7 |
<classpathentry kind="var" path="JUNIT_HOME/junit.jar" sourcepath="ECLIPSE_HOME/plugins/org.eclipse.jdt.source_3.1.1/src/org.junit_3.8.1/junitsrc.zip"/> |
|
6 | 8 |
<classpathentry kind="output" path="bin"/> |
7 | 9 |
</classpath> |
trunk/libraries/libDriverManager/src-test/com/hardcode/driverManager/AllTests.java | ||
---|---|---|
1 |
package com.hardcode.driverManager; |
|
2 |
|
|
3 |
import junit.framework.Test; |
|
4 |
import junit.framework.TestSuite; |
|
5 |
|
|
6 |
public class AllTests { |
|
7 |
|
|
8 |
public static Test suite() { |
|
9 |
TestSuite suite = new TestSuite("Test for com.hardcode.driverManager"); |
|
10 |
//$JUnit-BEGIN$ |
|
11 |
|
|
12 |
//$JUnit-END$ |
|
13 |
return suite; |
|
14 |
} |
|
15 |
|
|
16 |
} |
|
0 | 17 |
Also available in: Unified diff