Add mock-maker-subclass default extension
This commit is contained in:
parent
740fc2fde4
commit
1f16fc3089
@ -85,6 +85,10 @@ sed -i '/add_listeners_concurrently_sanity_check/i @org.junit.Ignore' src/test/j
|
||||
%pom_remove_dep org.junit.jupiter:junit-jupiter-api subprojects/junit-jupiter
|
||||
%pom_add_dep org.junit.jupiter:junit-jupiter-api subprojects/junit-jupiter
|
||||
|
||||
mkdir -p src/main/resources/mockito-extensions
|
||||
echo 'member-accessor-module' > src/main/resources/mockito-extensions/org.mockito.plugins.MemberAccessor
|
||||
echo 'mock-maker-subclass' > src/main/resources/mockito-extensions/org.mockito.plugins.MockMaker
|
||||
|
||||
# see gradle/mockito-core/inline-mock.gradle
|
||||
%pom_xpath_inject 'pom:project/pom:build/pom:plugins' '
|
||||
<plugin>
|
||||
|
Loading…
Reference in New Issue
Block a user