Skip to content

Commit a11b995

Browse files
set mockito as agent
1 parent b9450b3 commit a11b995

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

kura/test/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@
162162
${tycho.testArgLine}
163163
--add-opens=java.base/java.lang=ALL-UNNAMED
164164
--add-opens=java.base/java.util=ALL-UNNAMED
165+
-javaagent:${settings.localRepository}/org/mockito/mockito-core/5.21.0/mockito-core-5.21.0.jar
165166
</argLine>
166167
</configuration>
167168
</execution>
@@ -180,6 +181,7 @@
180181
${tycho.testArgLine}
181182
${tycho.surefire.testenv.args}
182183
-Dmoquette.path=${project.basedir}/src/main/resources/moquette/config
184+
-javaagent:${settings.localRepository}/org/mockito/mockito-core/5.21.0/mockito-core-5.21.0.jar
183185
</argLine>
184186
<!-- <appArgLine>-consoleLog -console 5002 -noExit</appArgLine> -->
185187
<dependencies>

0 commit comments

Comments
 (0)