You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2018/11/25 00:13:08 UTC
[incubator-plc4x] branch develop updated: - Fixed an issue in a
test.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 93a8094 - Fixed an issue in a test.
93a8094 is described below
commit 93a8094fee310dcb1176b5cfb665023c9717ec93
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sun Nov 25 01:13:05 2018 +0100
- Fixed an issue in a test.
---
.../apache/plc4x/java/base/connection/NettyPlcConnectionTest.java | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/plc4j/protocols/driver-bases/base/src/test/java/org/apache/plc4x/java/base/connection/NettyPlcConnectionTest.java b/plc4j/protocols/driver-bases/base/src/test/java/org/apache/plc4x/java/base/connection/NettyPlcConnectionTest.java
index ad6da73..3c9bcb8 100644
--- a/plc4j/protocols/driver-bases/base/src/test/java/org/apache/plc4x/java/base/connection/NettyPlcConnectionTest.java
+++ b/plc4j/protocols/driver-bases/base/src/test/java/org/apache/plc4x/java/base/connection/NettyPlcConnectionTest.java
@@ -61,6 +61,8 @@ public class NettyPlcConnectionTest implements WithAssertions {
@Test
public void connect() throws Exception {
SUT.connect();
+ Channel channel = SUT.getChannel();
+ assertThat(channel).isNotNull();
}
@Test
@@ -73,10 +75,4 @@ public class NettyPlcConnectionTest implements WithAssertions {
SUT.isConnected();
}
- @Test
- public void getChannel() {
- Channel channel = SUT.getChannel();
- assertThat(channel).isNotNull();
- }
-
}