Add all unit tests to ant task.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 17 May 2005 22:45:21 +0000 (22:45 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 17 May 2005 22:45:21 +0000 (22:45 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1507 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

build.xml

index 15e796d..27e8bf3 100755 (executable)
--- a/build.xml
+++ b/build.xml
     </target>
 
     <!-- Run automated tests on compiled code -->
     </target>
 
     <!-- Run automated tests on compiled code -->
-    <target name="test-all" depends="test-IdP" />
+    <target name="test-all" depends="test-IdP, test-SP" />
     <target name="test-IdP" depends="compile-tests">
         <junit printsummary="no" fork="yes" haltonfailure="yes" haltonerror="yes" dir="${root}">
                        <jvmarg value="-Djava.endorsed.dirs=${endorsed}" />
     <target name="test-IdP" depends="compile-tests">
         <junit printsummary="no" fork="yes" haltonfailure="yes" haltonerror="yes" dir="${root}">
                        <jvmarg value="-Djava.endorsed.dirs=${endorsed}" />
             <formatter type="plain" />
             <test name="edu.internet2.middleware.shibboleth.aa.arp.ArpTests" />
                        <test name="edu.internet2.middleware.shibboleth.aa.attrresolv.ResolverTests" />
             <formatter type="plain" />
             <test name="edu.internet2.middleware.shibboleth.aa.arp.ArpTests" />
                        <test name="edu.internet2.middleware.shibboleth.aa.attrresolv.ResolverTests" />
+                       <test name="edu.internet2.middleware.shibboleth.common.CredentialsTests" />
+                       <test name="edu.internet2.middleware.shibboleth.common.provider.NameMapperTests" />
+                       <test name="edu.internet2.middleware.shibboleth.common.TrustTests" />
+                       <test name="edu.internet2.middleware.shibboleth.idp.provider.DNHostNameExtractionTests" />
+                       <test name="edu.internet2.middleware.shibboleth.metadata.MetadataTests" />
+        </junit>
+    </target>
+    <target name="test-SP" depends="compile-tests">
+        <junit printsummary="no" fork="yes" haltonfailure="yes" haltonerror="yes" dir="${root}">
+                       <jvmarg value="-Djava.endorsed.dirs=${endorsed}" />
+            <classpath refid="build.path" />
+            <formatter type="plain" />
+            <test name="edu.internet2.middleware.shibboleth.aap.AAPTests" />
         </junit>
     </target>
     
         </junit>
     </target>