Remove unused files from git
This commit is contained in:
parent
4d8725748d
commit
6b3d9d3342
@ -1,69 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd ">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.10</version>
|
||||
<name>JUnit</name>
|
||||
<url>http://junit.org</url>
|
||||
<description>
|
||||
JUnit is a regression testing framework written by Erich Gamma and Kent Beck.
|
||||
It is used by the developer who implements unit tests in Java.
|
||||
</description>
|
||||
<organization>
|
||||
<name>JUnit</name>
|
||||
<url>http://www.junit.org</url>
|
||||
</organization>
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>JUnit Mailing List</name>
|
||||
<post>junit@yahoogroups.com</post>
|
||||
<archive>
|
||||
http://tech.groups.yahoo.com/group/junit/
|
||||
</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Common Public License Version 1.0</name>
|
||||
<url>http://www.opensource.org/licenses/cpl1.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<connection>scm:git:git://github.com/KentBeck/junit.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:KentBeck/junit.git</developerConnection>
|
||||
<url>http://github.com/KentBeck/junit/tree/master</url>
|
||||
</scm>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>dsaff</id>
|
||||
<name>David Saff</name>
|
||||
<email>david@saff.net</email>
|
||||
</developer>
|
||||
</developers>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<encoding>ISO-8859-1</encoding>
|
||||
<source>${jdk.version}</source>
|
||||
<target>${jdk.version}</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.hamcrest</groupId>
|
||||
<artifactId>hamcrest-core</artifactId>
|
||||
<version>1.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<jdk.version>1.5</jdk.version>
|
||||
</properties>
|
||||
</project>
|
@ -1,49 +0,0 @@
|
||||
diff --git a/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java b/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java
|
||||
index 21c22b8..948a6bb 100644
|
||||
--- a/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java
|
||||
+++ b/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java
|
||||
@@ -38,25 +38,25 @@ public class ParentRunnerTest {
|
||||
}
|
||||
}
|
||||
|
||||
- @Test
|
||||
- public void useChildHarvester() throws InitializationError {
|
||||
- log= "";
|
||||
- ParentRunner<?> runner= new BlockJUnit4ClassRunner(FruitTest.class);
|
||||
- runner.setScheduler(new RunnerScheduler() {
|
||||
- public void schedule(Runnable childStatement) {
|
||||
- log+= "before ";
|
||||
- childStatement.run();
|
||||
- log+= "after ";
|
||||
- }
|
||||
-
|
||||
- public void finished() {
|
||||
- log+= "afterAll ";
|
||||
- }
|
||||
- });
|
||||
-
|
||||
- runner.run(new RunNotifier());
|
||||
- assertEquals("before apple after before banana after afterAll ", log);
|
||||
- }
|
||||
+// @Test
|
||||
+// public void useChildHarvester() throws InitializationError {
|
||||
+// log= "";
|
||||
+// ParentRunner<?> runner= new BlockJUnit4ClassRunner(FruitTest.class);
|
||||
+// runner.setScheduler(new RunnerScheduler() {
|
||||
+// public void schedule(Runnable childStatement) {
|
||||
+// log+= "before ";
|
||||
+// childStatement.run();
|
||||
+// log+= "after ";
|
||||
+// }
|
||||
+//
|
||||
+// public void finished() {
|
||||
+// log+= "afterAll ";
|
||||
+// }
|
||||
+// });
|
||||
+//
|
||||
+// runner.run(new RunNotifier());
|
||||
+// assertEquals("before apple after before banana after afterAll ", log);
|
||||
+// }
|
||||
|
||||
@Test
|
||||
public void testMultipleFilters() throws Exception {
|
@ -1,119 +0,0 @@
|
||||
<!-- JUnit build script using ant 1.4 -->
|
||||
<project name="junit" default="dist" basedir=".">
|
||||
<property file="${user.home}/.junit.properties" />
|
||||
<property name="build.compiler" value="classic" />
|
||||
<property name="version" value="3.8.2" />
|
||||
<property name="dist" value="junit${version}" />
|
||||
<property name="versionfile" value="junit/runner/Version.java" />
|
||||
<property name="zipfile" value="${dist}.zip" />
|
||||
<target name="init">
|
||||
<tstamp/>
|
||||
</target>
|
||||
|
||||
<target name="versiontag" depends="init">
|
||||
<filter token="version" value="${version}" />
|
||||
<copy
|
||||
file="${versionfile}"
|
||||
tofile="${versionfile}tmp"
|
||||
filtering="on"
|
||||
/>
|
||||
<move file="${versionfile}tmp" tofile="${versionfile}" />
|
||||
</target>
|
||||
|
||||
<target name="build" depends="versiontag">
|
||||
<javac
|
||||
srcdir="."
|
||||
destdir="."
|
||||
debug="on"
|
||||
/>
|
||||
</target>
|
||||
|
||||
<target name="dist" depends="build">
|
||||
<delete dir="${dist}" />
|
||||
<mkdir dir="${dist}" />
|
||||
<jar
|
||||
jarfile="${dist}/src.jar"
|
||||
basedir="."
|
||||
excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.class, doc/**, README.html, .classpath, .project, cpl-v10.html"
|
||||
/>
|
||||
<jar
|
||||
jarfile="${dist}/junit.jar"
|
||||
basedir="."
|
||||
excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.java, doc/**, README.html, build.xml, jar-manifest.txt, .classpath, .project, cpl-v10.html"
|
||||
/>
|
||||
<copy todir="${dist}/junit/samples">
|
||||
<fileset dir="junit/samples" />
|
||||
</copy>
|
||||
<copy todir="${dist}/junit/tests">
|
||||
<fileset dir="junit/tests" />
|
||||
</copy>
|
||||
|
||||
|
||||
<delete file="${dist}/junit/tests/runner/test.jar"/>
|
||||
<jar jarfile="${dist}/junit/tests/runner/test.jar"
|
||||
basedir="."
|
||||
includes="junit/tests/runner/LoadedFromJar.class"
|
||||
/>
|
||||
|
||||
<mkdir dir="${dist}/javadoc" />
|
||||
<javadoc
|
||||
sourcepath="."
|
||||
packagenames="junit.framework.*, junit.extensions.*"
|
||||
destdir="${dist}/javadoc"
|
||||
author="false"
|
||||
version="false"
|
||||
use="false"
|
||||
windowtitle="JUnit API"
|
||||
stylesheetfile="./javadoc/stylesheet.css"
|
||||
/>
|
||||
<copy todir="${dist}/doc">
|
||||
<fileset dir="doc"/>
|
||||
</copy>
|
||||
<copy file="README.html" tofile="${dist}/README.html" />
|
||||
<copy file="cpl-v10.html" tofile="${dist}/cpl-v10.html" />
|
||||
|
||||
<java classname="junit.textui.TestRunner" fork="yes">
|
||||
<arg value="junit.samples.AllTests" />
|
||||
<classpath>
|
||||
<pathelement location="${dist}" />
|
||||
<pathelement location="${dist}/junit.jar" />
|
||||
</classpath>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="zip" depends="dist">
|
||||
<zip
|
||||
zipfile="${zipfile}"
|
||||
basedir="."
|
||||
includes="${dist}/**"
|
||||
/>
|
||||
</target>
|
||||
|
||||
<target name="awtui" depends="dist">
|
||||
<java classname="junit.awtui.TestRunner" fork="yes">
|
||||
<arg value="junit.samples.AllTests" />
|
||||
<classpath>
|
||||
<pathelement location="${dist}" />
|
||||
<pathelement location="${dist}/junit.jar" />
|
||||
</classpath>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="swingui" depends="dist">
|
||||
<java classname="junit.swingui.TestRunner" fork="yes">
|
||||
<arg value="junit.samples.AllTests" />
|
||||
<classpath>
|
||||
<pathelement location="${dist}" />
|
||||
<pathelement location="${dist}/junit.jar" />
|
||||
</classpath>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="${dist}" quiet="true"/>
|
||||
<delete file="${zipfile}" quiet="true"/>
|
||||
<delete>
|
||||
<fileset dir="${basedir}" includes="**/*.class" />
|
||||
</delete>
|
||||
</target>
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user