diff options
author | Johann Schmitz <ercpe@gentoo.org> | 2013-10-14 18:03:36 +0000 |
---|---|---|
committer | Johann Schmitz <ercpe@gentoo.org> | 2013-10-14 18:03:36 +0000 |
commit | 617eb2e94ae5371f37f8e420e7b95b74fc0dac46 (patch) | |
tree | a1bc09b4db89a79013eb5e903adff1e77069df03 /dev-java/java-xmlbuilder | |
parent | Marked stable on AMD64 based on arch tester report by Elijah "Armageddon" El ... (diff) | |
download | gentoo-2-617eb2e94ae5371f37f8e420e7b95b74fc0dac46.tar.gz gentoo-2-617eb2e94ae5371f37f8e420e7b95b74fc0dac46.tar.bz2 gentoo-2-617eb2e94ae5371f37f8e420e7b95b74fc0dac46.zip |
Replaced the die in src_test with an implementation for the testcases in java-xmlbuilder
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
Diffstat (limited to 'dev-java/java-xmlbuilder')
-rw-r--r-- | dev-java/java-xmlbuilder/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/java-xmlbuilder/java-xmlbuilder-0.6-r1.ebuild (renamed from dev-java/java-xmlbuilder/java-xmlbuilder-0.6.ebuild) | 15 |
2 files changed, 18 insertions, 6 deletions
diff --git a/dev-java/java-xmlbuilder/ChangeLog b/dev-java/java-xmlbuilder/ChangeLog index ca9232795ca0..07a602495969 100644 --- a/dev-java/java-xmlbuilder/ChangeLog +++ b/dev-java/java-xmlbuilder/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/java-xmlbuilder # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-xmlbuilder/ChangeLog,v 1.1 2013/10/14 17:40:27 ercpe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-xmlbuilder/ChangeLog,v 1.2 2013/10/14 18:03:36 ercpe Exp $ + +*java-xmlbuilder-0.6-r1 (14 Oct 2013) + + 14 Oct 2013; Johann Schmitz <ercpe@gentoo.org> +java-xmlbuilder-0.6-r1.ebuild, + -java-xmlbuilder-0.6.ebuild: + Replaced the die in src_test with an implementation for the testcases in java- + xmlbuilder *java-xmlbuilder-0.6 (14 Oct 2013) diff --git a/dev-java/java-xmlbuilder/java-xmlbuilder-0.6.ebuild b/dev-java/java-xmlbuilder/java-xmlbuilder-0.6-r1.ebuild index 9fd819b85b2b..f2e6ab62c127 100644 --- a/dev-java/java-xmlbuilder/java-xmlbuilder-0.6.ebuild +++ b/dev-java/java-xmlbuilder/java-xmlbuilder-0.6-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-xmlbuilder/java-xmlbuilder-0.6.ebuild,v 1.1 2013/10/14 17:40:27 ercpe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-xmlbuilder/java-xmlbuilder-0.6-r1.ebuild,v 1.1 2013/10/14 18:03:36 ercpe Exp $ EAPI=5 -JAVA_PKG_IUSE="doc source" +JAVA_PKG_IUSE="doc source test" inherit java-pkg-2 java-pkg-simple @@ -21,12 +21,17 @@ CDEPEND="dev-java/base64:0" RDEPEND=">=virtual/jre-1.5 ${CDEPEND}" DEPEND=">=virtual/jdk-1.5 - ${CDEPEND}" + ${CDEPEND} + test? ( dev-java/junit:0 ) +" S="${WORKDIR}/${P}" JAVA_SRC_DIR="src/main/java" JAVA_GENTOO_CLASSPATH="base64" src_test() { - die -}
\ No newline at end of file + mkdir target/tests || die + testcp="$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH},junit):target/tests:${S}/${PN}.jar" + ejavac -cp "${testcp}" -d target/tests src/test/java/com/jamesmurty/utils/TestXmlBuilder.java + ejunit4 -cp "${testcp}" com.jamesmurty.utils.TestXmlBuilder +} |