Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
e742242c
Commit
e742242c
authored
Feb 21, 2022
by
Andre Freyssinet
Browse files
Removes useless traces.
parent
346b804b
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/src/joram/bridgerest/BridgeRestTest7.java
View file @
e742242c
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2020 - 202
1
ScalAgent Distributed Technologies
* Copyright (C) 2020 - 202
2
ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -149,7 +149,7 @@ public class BridgeRestTest7 extends TestCase implements MessageListener {
TextMessage
msg
=
foreignSess
.
createTextMessage
();
for
(
int
i
=
0
;
i
<
nbmsg
;
i
++)
{
System
.
out
.
println
(
"Send msg #"
+
i
);
//
System.out.println("Send msg #" + i);
msg
.
setText
(
"Message number #"
+
i
);
foreignProd
.
send
(
msg
);
...
...
@@ -180,7 +180,7 @@ public class BridgeRestTest7 extends TestCase implements MessageListener {
System
.
out
.
println
(
"Message "
+
msg
.
getJMSMessageID
()
+
": Expected <"
+
txt1
+
"> but was <"
+
txt2
+
"> "
);
assertEquals
(
"Message "
+
msg
.
getJMSMessageID
(),
txt1
,
txt2
);
System
.
out
.
println
(
"Receives "
+
msg
.
getJMSMessageID
()
+
" -> "
+
txt2
);
//
System.out.println("Receives " + msg.getJMSMessageID() + " -> " + txt2);
counter
+=
1
;
if
(
counter
==
nbmsg
)
{
...
...
tests/src/joram/bridgerest/BridgeRestTest8.java
View file @
e742242c
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2020 - 202
1
ScalAgent Distributed Technologies
* Copyright (C) 2020 - 202
2
ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -154,7 +154,7 @@ public class BridgeRestTest8 extends TestCase implements MessageListener {
createProducer
(
"producer"
,
"clientid"
);
for
(
int
i
=
0
;
i
<
nbmsg
;
i
++)
{
System
.
out
.
println
(
"Send msg #"
+
i
);
//
System.out.println("Send msg #" + i);
send
(
"Message number #"
+
i
,
i
);
synchronized
(
lock
)
{
...
...
@@ -184,7 +184,7 @@ public class BridgeRestTest8 extends TestCase implements MessageListener {
System
.
out
.
println
(
"Message "
+
msg
.
getJMSMessageID
()
+
": Expected <"
+
txt1
+
"> but was <"
+
txt2
+
"> "
);
assertEquals
(
"Message "
+
msg
.
getJMSMessageID
(),
txt1
,
txt2
);
System
.
out
.
println
(
"Receives "
+
msg
.
getJMSMessageID
()
+
" -> "
+
txt2
);
//
System.out.println("Receives " + msg.getJMSMessageID() + " -> " + txt2);
counter
+=
1
;
if
(
counter
==
nbmsg
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment