mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Moved unit tests directory.
This commit is contained in:
@@ -197,14 +197,14 @@
|
||||
</dirset>
|
||||
</path>
|
||||
|
||||
<path id="writelatex-git-bridge.module.test.sourcepath">
|
||||
<dirset dir="${module.writelatex-git-bridge.basedir}">
|
||||
<include name="test"/>
|
||||
<path id="writelatex-git-bridge.module.test.unit.sourcepath">
|
||||
<dirset dir="${module.writelatex-git-bridge.basedir}/test">
|
||||
<include name="unit"/>
|
||||
</dirset>
|
||||
</path>
|
||||
|
||||
|
||||
<target name="compile.module.writelatex-git-bridge" depends="compile.module.writelatex-git-bridge.production,compile.module.writelatex-git-bridge.tests" description="Compile module writelatex-git-bridge"/>
|
||||
<target name="compile.module.writelatex-git-bridge" depends="compile.module.writelatex-git-bridge.production,compile.module.writelatex-git-bridge.tests.unit" description="Compile module writelatex-git-bridge"/>
|
||||
|
||||
<target name="compile.module.writelatex-git-bridge.production" description="Compile module writelatex-git-bridge; production classes">
|
||||
<mkdir dir="${writelatex-git-bridge.output.dir}"/>
|
||||
@@ -224,13 +224,13 @@
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<target name="compile.module.writelatex-git-bridge.tests" depends="compile.module.writelatex-git-bridge.production" description="compile module writelatex-git-bridge; test classes" unless="skip.tests">
|
||||
<target name="compile.module.writelatex-git-bridge.tests.unit" depends="compile.module.writelatex-git-bridge.production" description="compile module writelatex-git-bridge; test classes" unless="skip.tests">
|
||||
<mkdir dir="${writelatex-git-bridge.testoutput.dir}"/>
|
||||
<javac destdir="${writelatex-git-bridge.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
|
||||
<compilerarg line="${compiler.args.writelatex-git-bridge}"/>
|
||||
<bootclasspath refid="writelatex-git-bridge.module.bootclasspath"/>
|
||||
<classpath refid="writelatex-git-bridge.module.classpath"/>
|
||||
<src refid="writelatex-git-bridge.module.test.sourcepath"/>
|
||||
<src refid="writelatex-git-bridge.module.test.unit.sourcepath"/>
|
||||
<patternset refid="excluded.from.compilation.writelatex-git-bridge"/>
|
||||
</javac>
|
||||
|
||||
@@ -300,7 +300,7 @@
|
||||
<delete dir="${artifacts.temp.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="test.unit" depends="compile.module.writelatex-git-bridge.tests">
|
||||
<target name="test.unit" depends="compile.module.writelatex-git-bridge.tests.unit">
|
||||
<junit>
|
||||
<classpath>
|
||||
<path refid="writelatex-git-bridge.module.classpath"/>
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/test/unit" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/test/system" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
|
||||
Reference in New Issue
Block a user