Permalink
Browse files

addd missing build file

  • Loading branch information...
leo
leo committed May 3, 2006
1 parent eb48fb5 commit 2933c2b258944a414e42d553b187321e7699c645
Showing with 51 additions and 1 deletion.
  1. +50 −0 build.test.xml
  2. +1 −1 src/snipsnap/api/config/Configuration.java
View
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
** @author Matthias L. Jugel
** @version $Id$
-->
<project basedir="." default="test" name="SnipSnap.test">
<description>
Execute Tests for SnipSnap.
</description>
<property file="conf/build.properties"/>
<target name="prepare-tests" depends="snipsnap-war, jar-server, compile-test">
<mkdir dir="${dir.out}/test/org/snipsnap/config"/>
<copy file="conf/snipsnap.conf" tofile="./cls/test/conf/snipsnap.conf"/>
<copy file="src/org/snipsnap/config/defaults.conf" tofile="${dir.out}/test/org/snipsnap/config/defaults.conf"/>
<copy file="src/org/snipsnap/config/globals.conf" tofile="${dir.out}/test/org/snipsnap/config/globals.conf"/>
<copy file="src/org/snipsnap/config/transpose.map" tofile="${dir.out}/test/org/snipsnap/config/transpose.map"/>
<copy todir="${dir.out}/test">
<fileset dir="${dir.src}/apps/default" includes="**.properties"/>
</copy>
</target>
<target name="test" depends="prepare-tests">
<junit printsummary="true">
<formatter usefile="false" type="plain"/>
<test name="org.snipsnap.test.AllTests"/>
<classpath>
<pathelement location="${dir.out}/test"/>
<pathelement location="${dir.out}/webapp/WEB-INF/classes"/>
<path refid="all.classpath"/>
<path refid="snipsnap.test"/>
</classpath>
</junit>
</target>
<target name="test-complex" depends="snipsnap-war, jar-server, prepare-tests, compile-test">
<junit printsummary="true">
<formatter usefile="false" type="plain"/>
<test name="org.snipsnap.test.AllComplexTests"/>
<classpath>
<pathelement location="${dir.out}/test"/>
<pathelement location="${dir.out}"/>
<path refid="all.classpath"/>
</classpath>
</junit>
</target>
</project>
@@ -89,7 +89,7 @@
// automatically created interface/constants stub from
// /Users/leo/src/Projects/SnipSnap/core/trunk/src/org/snipsnap/config/defaults.conf
// generated on 3/8/06 10:51 AM
// generated on 3/28/06 8:13 AM
// constant/getter for 'app.admin.email'
public final static String APP_ADMIN_EMAIL = "app.admin.email";
public String getAdminEmail();

0 comments on commit 2933c2b

Please sign in to comment.