Changeset debb88bf for general/prog/junit.xml
- Timestamp:
- 07/17/2013 02:09:25 PM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 32d4980
- Parents:
- 5b24455
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/junit.xml
r5b24455 rdebb88bf 5 5 %general-entities; 6 6 7 <!ENTITY junit-download-http " &sourceforge-repo;/junit/junit&junit-version;.zip">7 <!ENTITY junit-download-http "https://launchpad.net/debian/+archive/primary/+files/junit4_4.11.orig.tar.gz"> 8 8 <!ENTITY junit-download-ftp " "> 9 <!ENTITY junit-md5sum " 0666bd1b9a7296ff2b6ee478c82a516b">9 <!ENTITY junit-md5sum " "> 10 10 <!ENTITY junit-size "1.7 MB"> 11 11 <!ENTITY junit-buildsize "15 MB"> … … 39 39 test data, and test runners for running tests.</para> 40 40 41 &lfs72_checked; 41 <!-- &lfs73_checked; --> 42 42 43 43 <bridgehead renderas="sect3">Package Information</bridgehead> … … 63 63 </itemizedlist> 64 64 65 <bridgehead renderas="sect3">Required Additional Downloads</bridgehead> 66 <itemizedlist spacing="compact"> 67 <listitem> 68 <para> 69 <ulink url="http://anduin.linuxfromscratch.org/sources/other/junit-4.11.jar">junit-4.11.jar 70 (http//anduin.linuxfromscratch.org/sources/other/junit-4.11.jar) 71 </ulink> 72 </para> 73 </listitem> 74 <listitem> 75 <para> 76 <ulink url="http://hamcrest.googlecode.com/files/hamcrest-1.3.tgz">hamcrest-1.3.tgz 77 (http//hamcrest.googlecode.com/files/hamcrest-1.3.tgz) 78 </ulink> 79 </para> 80 </listitem> 81 </itemizedlist> 82 65 83 <bridgehead renderas="sect3">JUnit Dependencies</bridgehead> 66 84 67 85 <bridgehead renderas="sect4">Required</bridgehead> 68 <para role="required"><xref linkend="unzip"/></para> 86 <para role="required"> 87 <xref linkend="unzip"/> 88 </para> 69 89 70 90 <para condition="html" role="usernotes">User Notes: … … 76 96 <title>Installation of JUnit</title> 77 97 78 <para>Install <application>JUnit</application> by running the following 98 <para>To do a full build of JUnit from source, <xref linkend='apache-ant'/> 99 is required. However JUnit is a circular depedency of Apache Ant. Copy 100 the JUnit jar file to get started. Then come back to build from source, if 101 desired.</para> 102 103 <para>Install the <application>JUnit</application> jar file by running the following 79 104 commands as the <systemitem class="username">root</systemitem> user:</para> 80 105 81 <screen role="root"><userinput>install -v -m755 -d /usr/share/{,doc/}junit-&junit-version; && 82 chown -R root:root . && 83 cp -v -R junit* org /usr/share/junit-&junit-version; && 84 cp -v -R *.html *doc /usr/share/doc/junit-&junit-version;</userinput></screen> 106 <screen role="root"><userinput>install -v -m755 -d /usr/share/java && 107 cp -v junit.jar /usr/share/java</userinput></screen> 108 109 <para>Now install the required hamcrest jar files. Extract the hamcrest-1.3.tgz 110 files change to the extracted directory. Then, as the 111 <systemitem class="username">root</systemitem> user:</para> 112 113 <screen role="root"><userinput>install -v -m755 -d /usr/share/java/hamcrest && 114 cp -v hamcrest-all-1.3.jar /usr/share/java/hamcrest && 115 ln -sv hamcrest/hamcrest-all-1.3.jar /usr/share/java/hamcrest.jar </userinput></screen> 85 116 86 117 <para>Add the <filename … … 90 121 91 122 <screen><userinput>export CLASSPATH=$CLASSPATH:\ 92 /usr/share/junit-&junit-version;/junit-&junit-version;.jar:/usr/share/junit-&junit-version;</userinput></screen>93 123 /usr/share/java/junit-&junit-version;.jar:/usr/share/java/hamcrest.jar</userinput></screen> 124 <!-- 94 125 <para>To run the <application>JUnit</application> regression self-tests, 95 you'll need to have <xref linkend="openjdk"/>,<!- - <xref linkend="jdk"/>,--> or126 you'll need to have <xref linkend="openjdk"/>,<!- - <xref linkend="jdk"/>,- -> or 96 127 <ulink url="http://jikes.sourceforge.net/">Jikes</ulink> installed and the 97 128 <envar>CLASSPATH</envar> environment variable updated. Then, as an … … 99 130 100 131 <screen><userinput>java org.junit.runner.JUnitCore org.junit.tests.AllTests</userinput></screen> 101 132 --> 102 133 </sect2> 103 134 <!-- 104 135 <sect2 role="content"> 105 136 <title>Contents</title> … … 137 168 138 169 </sect2> 139 170 --> 140 171 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.