mirror of https://github.com/apache/activemq.git
Merge pull request #635 from jbonofre/AMQ-8176
[AMQ-8176] Upgrade to mockito 3.8.0
This commit is contained in:
commit
77fee3aebb
|
@ -47,9 +47,8 @@ public class LegacyFrameTranslatorTest {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ActiveMQDestination answer(InvocationOnMock invocation) throws Throwable {
|
public ActiveMQDestination answer(InvocationOnMock invocation) throws Throwable {
|
||||||
|
String name = invocation.getArgument(0, String.class);
|
||||||
String name = invocation.getArgumentAt(0, String.class);
|
boolean topic = invocation.getArgument(1, Boolean.class);
|
||||||
boolean topic = invocation.getArgumentAt(1, Boolean.class);
|
|
||||||
|
|
||||||
name = "temp-" + (topic ? "topic://" : "queue://X:") + UUID.randomUUID().toString();
|
name = "temp-" + (topic ? "topic://" : "queue://X:") + UUID.randomUUID().toString();
|
||||||
|
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -86,7 +86,7 @@
|
||||||
<leveldb-version>0.9</leveldb-version>
|
<leveldb-version>0.9</leveldb-version>
|
||||||
<leveldbjni-version>1.8</leveldbjni-version>
|
<leveldbjni-version>1.8</leveldbjni-version>
|
||||||
<log4j-version>1.2.17</log4j-version>
|
<log4j-version>1.2.17</log4j-version>
|
||||||
<mockito-version>1.10.19</mockito-version>
|
<mockito-version>3.8.0</mockito-version>
|
||||||
<owasp-dependency-check-version>5.2.4</owasp-dependency-check-version>
|
<owasp-dependency-check-version>5.2.4</owasp-dependency-check-version>
|
||||||
<powermock-version>1.7.4</powermock-version>
|
<powermock-version>1.7.4</powermock-version>
|
||||||
<mqtt-client-version>1.16</mqtt-client-version>
|
<mqtt-client-version>1.16</mqtt-client-version>
|
||||||
|
|
Loading…
Reference in New Issue