Projects
openEuler:24.03:SP1:Everything
mockito
_service:tar_scm:mockito.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:mockito.spec of Package mockito
Name: mockito Version: 2.23.9 Release: 3 Summary: Tasty mocking framework for unit tests in Java License: MIT URL: https://site.mockito.org/ BuildArch: noarch Source0: https://github.com/mockito/mockito/archive/v%{version}/mockito-%{version}.tar.gz Source1: make-mockito-sourcetarball.sh Source2: mockito-core.pom Patch0: use-unbundled-asm.patch BuildRequires: maven-local mvn(junit:junit) mvn(net.bytebuddy:byte-buddy) BuildRequires: mvn(net.bytebuddy:byte-buddy-agent) mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.assertj:assertj-core) mvn(org.codehaus.mojo:exec-maven-plugin) BuildRequires: mvn(org.hamcrest:hamcrest-core) mvn(org.objenesis:objenesis) BuildRequires: mvn(org.ow2.asm:asm) %description Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with clean & simple API. Mockito doesn't give you hangover because the tests are very readable and they produce clean verification errors. %package javadoc Summary: Javadocs for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q %patch0 rm -rf src/test/java/org/mockitousage/serialization/DeepStubsSerializableTest.java rm -rf src/test/java/org/mockitousage/serialization/ParallelSerializationTest.java rm -rf src/test/java/org/mockitousage/serialization/AcrossClassLoaderSerializationTest.java sed -e 's/@VERSION@/%{version}/' %{SOURCE2} > pom.xml cat > osgi.bnd <<EOF Automatic-Module-Name: org.mockito Bundle-SymbolicName: org.mockito Bundle-Name: Mockito Mock Library for Java. Import-Package: junit.*;resolution:=optional,org.junit.*;resolution:=optional,org.hamcrest;resolution:=optional,org.mockito*;version="%{version}",* Private-Package: org.mockito.* -removeheaders: Bnd-LastModified,Include-Resource,Private-Package EOF %mvn_alias org.%{name}:%{name}-core org.%{name}:%{name}-all %build %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 -Dmaven.test.failure.ignore=true %install %mvn_install %files -f .mfiles %license LICENSE %doc doc/design-docs/custom-argument-matching.md %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Fri Nov 11 2022 xu_ping <xuping33@h-partners.com> - 2.23.9-3 - change source and url * Thu Jun 23 2022 Ge Wang <wangge20@h-partners.com> - 2.23.9-2 - ignore test failure * Mon Aug 17 2020 wangyue <wangyue92@huawei.com> - 2.23.9-1 - upgrade the version to 2.23.9 * Thu Apr 23 2020 wutao <wutao61@huawei.com> 1.10.19-19 * delete useless patches * Thu Apr 2 2020 gulining <gulining1@huawei.com> - 1.10.19-18 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2