Changeset 94c4ae3
- Timestamp:
- 07/17/2013 07:45:57 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:
- 09123ca
- Parents:
- 32d4980
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/junit.xml
r32d4980 r94c4ae3 7 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 " 9 <!ENTITY junit-md5sum "b4d163832583dcec8bedb5427c795cc4"> 10 10 <!ENTITY junit-size "1.7 MB"> 11 <!ENTITY junit-buildsize " 15MB">12 <!ENTITY junit-time " less than0.1 SBU">11 <!ENTITY junit-buildsize "34 MB"> 12 <!ENTITY junit-time "0.1 SBU"> 13 13 ]> 14 14 … … 30 30 <title>Introduction to JUnit</title> 31 31 32 <warning><para>Under revison do not use for now.</para></warning>33 34 35 32 <para>The <application>JUnit</application> package contains a simple, open 36 33 source framework to write and run repeatable tests. It is an instance of … … 39 36 test data, and test runners for running tests.</para> 40 37 41 <!-- &lfs73_checked; --> 38 &lfs73_checked; 42 39 43 40 <bridgehead renderas="sect3">Package Information</bridgehead> … … 63 60 </itemizedlist> 64 61 65 <bridgehead renderas="sect3"> RequiredAdditional Downloads</bridgehead>62 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 66 63 <itemizedlist spacing="compact"> 67 64 <listitem> 68 65 <para> 69 <ulink url="http://anduin.linuxfromscratch.org/sources/other/junit-4.11.jar">junit-4.11.jar70 (http//anduin.linuxfromscratch.org/sources/other/junit-4.11.jar)71 </ulink>66 Required file: <ulink 67 url="http://anduin.linuxfromscratch.org/sources/other/junit-4.11.jar"> 68 http//anduin.linuxfromscratch.org/sources/other/junit-4.11.jar</ulink> 72 69 </para> 73 70 </listitem> 74 71 <listitem> 75 72 <para> 76 <ulink url="http://hamcrest.googlecode.com/files/hamcrest-1.3.tgz">hamcrest-1.3.tgz77 (http//hamcrest.googlecode.com/files/hamcrest-1.3.tgz)78 </ulink>73 Required file: <ulink 74 url="http://hamcrest.googlecode.com/files/hamcrest-1.3.tgz"> 75 http://hamcrest.googlecode.com/files/hamcrest-1.3.tgz </ulink> 79 76 </para> 80 77 </listitem> … … 85 82 <bridgehead renderas="sect4">Required</bridgehead> 86 83 <para role="required"> 84 <xref linkend="apache-ant"/> and 87 85 <xref linkend="unzip"/> 88 86 </para> … … 97 95 98 96 <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. Copy100 the JUnit jar file to get started. Then come back to build from source, if101 desired.</para>97 is required. However JUnit is useful in building Apache Ant. Copy the 98 JUnit-&junit-version; jar file to get started. Then come back to build 99 from source, if desired.</para> 102 100 103 101 <para>Install the <application>JUnit</application> jar file by running the following … … 105 103 106 104 <screen role="root"><userinput>install -v -m755 -d /usr/share/java && 107 cp -v junit .jar/usr/share/java</userinput></screen>105 cp -v junit&junit-version;.jar /usr/share/java</userinput></screen> 108 106 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 107 <para>At this point, make sure Apache-Ant is installed and then continue 108 with the source build and instalation. From the directory created when 109 extracting the JUnit sources, place the required hamcrest jar files where 110 needed and build the package:</para> 111 112 <screen role="root"><userinput>tar -xf ../hamcrest-1.3.tgz && 113 cp -v hamcrest-1.3/hamcrest-core-1.3{,-sources}.jar lib/ && 114 ant dist</userinput></screen> 115 116 <para>Testing is automatically done as a part of the build step.</para> 117 118 <para>Install the files in the final location as the 111 119 <systemitem class="username">root</systemitem> user:</para> 120 121 <screen role="root"><userinput>install -v -m755 -d /usr/share/{doc,java}/junit-&junit-version; && 122 chown -R root:root . && 112 123 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> 124 cp -v -R junit*/javadoc/* /usr/share/doc/junit-&junit-version; && 125 cp -v junit*/junit*.jar /usr/share/java/junit-&junit-version; && 126 cp -v hamcrest-1.3/hamcrest-core*.jar /usr/share/java/junit-&junit-version;</userinput></screen> 127 128 <para>Finally, update the <envar>CLASSPATH</envar> variable:</para> 116 129 117 <para>Add the <filename 118 class='libraryfile'>junit-&junit-version;.jar</filename> and <filename 119 class='directory'>/usr/share/junit-&junit-version;</filename> directory to 120 your system <envar>CLASSPATH</envar> environment variable:</para> 130 <screen><userinput>export CLASSPATH=$CLASSPATH:/usr/share/java/junit-&junit-version;</userinput></screen> 131 </sect2> 121 132 122 <screen><userinput>export CLASSPATH=$CLASSPATH:\123 /usr/share/java/junit-&junit-version;.jar:/usr/share/java/hamcrest.jar</userinput></screen>124 <!--125 <para>To run the <application>JUnit</application> regression self-tests,126 you'll need to have <xref linkend="openjdk"/>,<!- - <xref linkend="jdk"/>,- -> or127 <ulink url="http://jikes.sourceforge.net/">Jikes</ulink> installed and the128 <envar>CLASSPATH</envar> environment variable updated. Then, as an129 unprivileged user, issue:</para>130 131 <screen><userinput>java org.junit.runner.JUnitCore org.junit.tests.AllTests</userinput></screen>132 -->133 </sect2>134 <!--135 133 <sect2 role="content"> 136 134 <title>Contents</title> … … 138 136 <segmentedlist> 139 137 <segtitle>Installed Programs</segtitle> 140 <segtitle>Installed Libra ry</segtitle>138 <segtitle>Installed Libraies</segtitle> 141 139 <segtitle>Installed Directories</segtitle> 142 140 143 141 <seglistitem> 144 142 <seg>None</seg> 145 <seg> junit-&junit-version;.jar</seg>146 <seg>/usr/share/ junit-&junit-version;,147 /usr/share/doc/junit-&junit-version;</seg>143 <seg>hamcrest-core and junit jar files</seg> 144 <seg>/usr/share/doc/junit-&junit-version; and 145 /usr/share/java/junit-&junit-version;</seg> 148 146 </seglistitem> 149 147 </segmentedlist> … … 155 153 156 154 <varlistentry id="junit.jar"> 157 <term><filename class='libraryfile'>junit -&junit-version;.jar</filename></term>155 <term><filename class='libraryfile'>junit jar files</filename></term> 158 156 <listitem> 159 157 <para>contains java classes to support the xUnit framework testing … … 168 166 169 167 </sect2> 170 --> 168 171 169 </sect1> -
introduction/welcome/changelog.xml
r32d4980 r94c4ae3 48 48 <itemizedlist> 49 49 <listitem> 50 <para>[igor] - Update to JUnit-4.11.</para> 51 </listitem> 52 <listitem> 50 53 <para>[igor] - Downgraded Lua to 5.1.5</para> 51 54 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.