commit 966cd368523c912c3c693e5fb2e2519f39eb45ba7e77123a71d0c5e3e4e40c11 Author: Fridrich Strba Date: Mon Feb 25 16:11:55 2019 +0000 OBS-URL: https://build.opensuse.org/package/show/Java:packages/opentest4j?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README.md b/README.md new file mode 100644 index 0000000..e8ee2f5 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# opentest4j + +The opentest4j package \ No newline at end of file diff --git a/opentest4j-1.0.0.pom b/opentest4j-1.0.0.pom new file mode 100644 index 0000000..10173f5 --- /dev/null +++ b/opentest4j-1.0.0.pom @@ -0,0 +1,49 @@ + + + 4.0.0 + org.opentest4j + opentest4j + 1.0.0 + org.opentest4j:opentest4j + Open Test Alliance for the JVM + https://github.com/ota4j-team/opentest4j + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + Matthias.Merdes@heidelberg-mobil.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + + scm:git:git://github.com/ota4j-team/opentest4j.git + scm:git:git://github.com/ota4j-team/opentest4j.git + https://github.com/ota4j-team/opentest4j + + diff --git a/opentest4j-build.xml b/opentest4j-build.xml new file mode 100644 index 0000000..c407c66 --- /dev/null +++ b/opentest4j-build.xml @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/opentest4j.spec b/opentest4j.spec new file mode 100644 index 0000000..dbae4df --- /dev/null +++ b/opentest4j.spec @@ -0,0 +1,89 @@ +# +# spec file for package opentest4j +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%bcond_with tests +Name: opentest4j +Version: 1.0.0 +Release: 0 +Summary: Open Test Alliance for the JVM +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://github.com/ota4j-team/opentest4j +Source0: https://github.com/ota4j-team/opentest4j/archive/r%{version}.tar.gz +Source1: %{name}-build.xml +Source100: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/%{version}/opentest4j-%{version}.pom +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: javapackages-local +BuildArch: noarch +%if %{with tests} +BuildRequires: ant-junit +%endif + +%description +Open Test Alliance for the JVM is a minimal common foundation for +testing libraries on the JVM. The primary goal of the project is to +enable testing frameworks like JUnit, TestNG, Spock, etc. and +third-party assertion libraries like Hamcrest, AssertJ, etc. to use a +common set of exceptions that IDEs and build tools can support in a +consistent manner across all testing scenarios -- for example, for +consistent handling of failed assertions and failed assumptions as +well as visualization of test execution in IDEs and reports. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q -n opentest4j-r%{version} +find -name \*.jar -delete + +cp %{SOURCE1} build.xml + +%build +%ant \ +%if %{without tests} + -Dtest.skip=true \ +%endif + jar javadoc + +%install +# jar +install -dm 0755 %{buildroot}%{_javadir}/%{name} +install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{name}.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +install -pm 0644 %{SOURCE100} %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom +%add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE +%doc README.md + +%files javadoc +%license LICENSE +%{_javadocdir}/%{name} + +%changelog diff --git a/r1.0.0.tar.gz b/r1.0.0.tar.gz new file mode 100644 index 0000000..1f3b9ed --- /dev/null +++ b/r1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:378f47df09dad9a24ca913161143d8470e26aca6ef0dd18f3f2a4219ea6fc99e +size 69951