You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2021/06/11 21:29:51 UTC
[qpid-protonj2] branch main updated (cc5f0ea -> 1999564)
This is an automated email from the ASF dual-hosted git repository.
tabish pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git.
from cc5f0ea PROTON-2394 Fill in more API Javadocs for various types in the engine
new a6206bb PROTON-2395 Update Mockito and Jacoco to latest releases
new 1999564 PROTON-2393 Allow more AmqpValue payloads to be configured for send
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pom.xml | 4 ++--
.../test/driver/actions/TransferInjectAction.java | 15 +++++++++++++++
2 files changed, 17 insertions(+), 2 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org
[qpid-protonj2] 02/02: PROTON-2393 Allow more AmqpValue payloads to
be configured for send
Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git
commit 19995640302359fc30db15ec673848b552a88846
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Fri Jun 11 17:29:34 2021 -0400
PROTON-2393 Allow more AmqpValue payloads to be configured for send
Allows more options for AmqpValue type payloads in scripted transfers
besides the single String variation that was present.
---
.../test/driver/actions/TransferInjectAction.java | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/protonj2-test-driver/src/main/java/org/apache/qpid/protonj2/test/driver/actions/TransferInjectAction.java b/protonj2-test-driver/src/main/java/org/apache/qpid/protonj2/test/driver/actions/TransferInjectAction.java
index 644975c..bd699d5 100644
--- a/protonj2-test-driver/src/main/java/org/apache/qpid/protonj2/test/driver/actions/TransferInjectAction.java
+++ b/protonj2-test-driver/src/main/java/org/apache/qpid/protonj2/test/driver/actions/TransferInjectAction.java
@@ -479,6 +479,21 @@ public class TransferInjectAction extends AbstractPerformativeInjectAction<Trans
return this;
}
+ public BodySectionBuilder withValue(String body) {
+ TransferInjectAction.this.body = new AmqpValue(body);
+ return this;
+ }
+
+ public BodySectionBuilder withValue(byte[] body) {
+ TransferInjectAction.this.body = new AmqpValue(new Binary(body));
+ return this;
+ }
+
+ public BodySectionBuilder withValue(Binary body) {
+ TransferInjectAction.this.body = new Data(body);
+ return this;
+ }
+
public BodySectionBuilder withData(byte[] body) {
TransferInjectAction.this.body = new Data(new Binary(body));
return this;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org
[qpid-protonj2] 01/02: PROTON-2395 Update Mockito and Jacoco to
latest releases
Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git
commit a6206bb66063a69bfd3f749d75f0b9519aaa6d80
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Fri Jun 11 17:10:54 2021 -0400
PROTON-2395 Update Mockito and Jacoco to latest releases
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 2008c4d..8e8e6a3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,7 +39,7 @@
<!-- Test dependency versions -->
<junit.jupiter.version>5.7.2</junit.jupiter.version>
<junit.vintage.version>5.7.2</junit.vintage.version>
- <mockito.version>3.10.0</mockito.version>
+ <mockito.version>3.11.1</mockito.version>
<proton.version>0.33.8</proton.version>
<slf4j.version>1.7.30</slf4j.version>
<log4j.slf4j.version>2.14.1</log4j.slf4j.version>
@@ -50,7 +50,7 @@
<!-- Plugin versions -->
<maven.bundle.plugin.version>5.1.1</maven.bundle.plugin.version>
- <jacoco.plugin.version>0.8.6</jacoco.plugin.version>
+ <jacoco.plugin.version>0.8.7</jacoco.plugin.version>
<maven.enforcer.plugin.version>3.0.0-M3</maven.enforcer.plugin.version>
<!-- Test properties -->
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org