Revision 13496

View differences:

trunk/extensions/extSDE/build.xml
3 3
        Instala el plugin en Andami
4 4
    </description>
5 5
  <!-- set global properties for this build -->
6
  <import file="../binaries/ant/utilities.xml"/>
6 7
  <property name="src" location="src"/>
7 8
  <property name="build" location="bin"/>
9
  <property name="src-test" location="src-test"/>
10
  <property name="build-test" location="bin-test"/>
8 11
  <property name="dist"  location="dist"/>
9 12
  <property name="mainplugin" value="com.iver.cit.gvsig"/>
10 13
  <property name="plugin" value="com.iver.cit.gvsig.sde"/>
......
89 92
  	  	includes="com/iver/cit/gvsig/fmap/drivers/sde/*.*"
90 93
  	  	/-->
91 94
 	<!--jar jarfile="${extensionDir}/${mainplugin}/lib/gvsig-sde.jar" basedir="./bin" includes="**/*VectorialSDE*.*,**/*ConnectionSDE*.*"/-->
92

  
93 95
  </target>
94 96

  
95

  
96
  <!--target name="generate-with-source" description="generate the distribution with the source file" >
97
    <mkdir dir="${dist}"/>
98
  	<mkdir dir="${dist}/images"/>
99

  
100
    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/>
101
    <copy file="config/config.xml" todir="${dist}"/>
102
    <copy todir="${dist}">
103
    	<fileset dir="." includes="text*.properties"/>
104
    </copy>
105
    <copy todir="${dist}">
106
    	<fileset dir="." includes="${src}"/>
107

  
108
    </copy>
109
  	<copy todir="${dist}/images">
110
    	<fileset dir="images/" includes="*"/>
111
    </copy>
112
  	<move todir="${extensionDir}/${plugin}/images">
113
  		<fileset dir="images/" includes="*"/>
114
  	</move>
115
    <move todir="${extensionDir}/${plugin}/">
116
    	<fileset dir="${dist}" includes="**/**" excludes="com/iver/cit/gvsig/fmap/drivers/sde/**"/>
117
    </move>
118
  	<jar jarfile="${drivers-dir}/sde/sde.jar" basedir="./bin" excludes="**/*VectorialSDEDriver*"
119
  	includes="com/iver/cit/gvsig/fmap/drivers/sde/*.*"
120
  	/>
121
  	<jar jarfile="${extensionDir}/${mainplugin}/lib/gvsig-sde.jar" basedir="./bin" includes="com/iver/cit/gvsig/fmap/drivers/sde/VectorialSDEDriver.*"/>
122
  </target-->
123

  
124 97
  <target name="clean"
125 98
        description="clean up" >
126 99
    <delete dir="${dist}"/>
127 100
  </target>
128
</project>
129 101

  
102
	<target name="run-tests" depends="batch-build,compile-tests">
103
		<antcall target="generic-run-tests">
104
			<param name="TestSuite.Name" value="com.iver.gvsig.sde.AllTests"/>
105
		</antcall>
106
	</target>
107
</project>
trunk/extensions/extSDE/src-test/com/iver/cit/gvsig/sde/SDETestSuite.java
1
/*
2
 * Created on 08-feb-2007
3
 *
4
 * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
5
 *
6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7
 *
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 *
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
21
 *
22
 * For more information, contact:
23
 *
24
 *  Generalitat Valenciana
25
 *   Conselleria d'Infraestructures i Transport
26
 *   Av. Blasco Ib??ez, 50
27
 *   46010 VALENCIA
28
 *   SPAIN
29
 *
30
 *      +34 963862235
31
 *   gvsig@gva.es
32
 *      www.gvsig.gva.es
33
 *
34
 *    or
35
 *
36
 *   IVER T.I. S.A
37
 *   Salamanca 50
38
 *   46005 Valencia
39
 *   Spain
40
 *
41
 *   +34 963163400
42
 *   dac@iver.es
43
 */
44
/* CVS MESSAGES:
45
*
46
* $Id$
47
* $Log$
48
* Revision 1.4  2007-09-03 10:31:51  caballero
49
* prepare head
50
*
51
* Revision 1.1.2.3  2007/04/19 10:29:44  caballero
52
* sde funcionando
53
*
54
* Revision 1.2  2007/04/13 12:05:32  caballero
55
* funcionando
56
*
57
* Revision 1.1.2.1  2007/03/28 06:37:15  caballero
58
* arcSDE
59
*
60
* Revision 1.1.2.1  2007/02/28 07:35:10  jmvivo
61
* Actualizado desde el HEAD.
62
*
63
* Revision 1.1  2007/02/08 20:27:57  azabala
64
* *** empty log message ***
65
*
66
*
67
*/
68
package com.iver.cit.gvsig.sde;
69

  
70
import junit.framework.Test;
71
import junit.framework.TestSuite;
72

  
73
public class SDETestSuite {
74

  
75
	public static Test suite() {
76
		TestSuite suite = new TestSuite("Test for com.iver.cit.gvsig.sde");
77
		//$JUnit-BEGIN$
78
		suite.addTestSuite(SDETest.class);
79
		//$JUnit-END$
80
		return suite;
81
	}
82

  
83
}
84

  
trunk/extensions/extSDE/src-test/com/iver/cit/gvsig/sde/AllTests.java
1
/*
2
 * Created on 08-feb-2007
3
 *
4
 * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
5
 *
6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7
 *
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 *
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
21
 *
22
 * For more information, contact:
23
 *
24
 *  Generalitat Valenciana
25
 *   Conselleria d'Infraestructures i Transport
26
 *   Av. Blasco Ib??ez, 50
27
 *   46010 VALENCIA
28
 *   SPAIN
29
 *
30
 *      +34 963862235
31
 *   gvsig@gva.es
32
 *      www.gvsig.gva.es
33
 *
34
 *    or
35
 *
36
 *   IVER T.I. S.A
37
 *   Salamanca 50
38
 *   46005 Valencia
39
 *   Spain
40
 *
41
 *   +34 963163400
42
 *   dac@iver.es
43
 */
44
/* CVS MESSAGES:
45
*
46
* $Id$
47
* $Log$
48
* Revision 1.1  2007-09-04 07:40:30  cesar
49
* Add a run-tests target; add an AllTest class to run all the TestCases
50
*
51
* Revision 1.4  2007/09/03 10:31:51  caballero
52
* prepare head
53
*
54
* Revision 1.1.2.3  2007/04/19 10:29:44  caballero
55
* sde funcionando
56
*
57
* Revision 1.2  2007/04/13 12:05:32  caballero
58
* funcionando
59
*
60
* Revision 1.1.2.1  2007/03/28 06:37:15  caballero
61
* arcSDE
62
*
63
* Revision 1.1.2.1  2007/02/28 07:35:10  jmvivo
64
* Actualizado desde el HEAD.
65
*
66
* Revision 1.1  2007/02/08 20:27:57  azabala
67
* *** empty log message ***
68
*
69
*
70
*/
71
package com.iver.cit.gvsig.sde;
72

  
73
import junit.framework.Test;
74
import junit.framework.TestSuite;
75

  
76
public class AllTests {
77

  
78
	public static Test suite() {
79
		TestSuite suite = new TestSuite("Test for com.iver.cit.gvsig.sde");
80
		//$JUnit-BEGIN$
81
		suite.addTestSuite(SDETest.class);
82
		//$JUnit-END$
83
		return suite;
84
	}
85

  
86
}
87

  
0 88

  

Also available in: Unified diff