You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by hu...@apache.org on 2022/04/06 11:58:50 UTC
[plc4x] branch feature/plc4py_bh1 updated (ebe5b03a74 -> bfba5f96b1)
This is an automated email from the ASF dual-hosted git repository.
hutcheb pushed a change to branch feature/plc4py_bh1
in repository https://gitbox.apache.org/repos/asf/plc4x.git
from ebe5b03a74 Updated the PlcDriverManager a little more.
add bfba5f96b1 Add MockPlcConnection, PlcMessage classes
No new revisions were added by this update.
Summary of changes:
sandbox/plc4py/plc4py/api/PlcConnection.py | 41 ++++++++++++----
sandbox/plc4py/plc4py/api/exceptions/exceptions.py | 6 +++
.../api/messages/PlcMessage.py} | 3 ++
.../{PlcConnection.py => messages/PlcRequest.py} | 33 ++++++++-----
.../api/messages/PlcResponse.py} | 16 ++++--
.../plc4py/{drivers => api/messages}/__init__.py | 0
.../plc4py/drivers/modbus/ModbusConnection.py | 28 +++++++++++
.../PlcConnection.py => utils/GenericTypes.py} | 12 ++---
.../drivers => tests/unit/plc4py/api}/__init__.py | 0
.../tests/unit/plc4py/api/test/MockPlcConection.py | 57 ++++++++++++++++++++++
.../unit/plc4py/api/test/MockReadRequestBuilder.py | 6 ++-
.../unit/plc4py/api/test}/__init__.py | 0
.../tests/unit/plc4py/test_PlcDriverManager.py | 5 +-
13 files changed, 169 insertions(+), 38 deletions(-)
copy sandbox/plc4py/{tests/__init__.py => plc4py/api/messages/PlcMessage.py} (96%)
copy sandbox/plc4py/plc4py/api/{PlcConnection.py => messages/PlcRequest.py} (59%)
copy sandbox/plc4py/{tests/unit/__init__.py => plc4py/api/messages/PlcResponse.py} (75%)
copy sandbox/plc4py/plc4py/{drivers => api/messages}/__init__.py (100%)
copy sandbox/plc4py/plc4py/{api/PlcConnection.py => utils/GenericTypes.py} (86%)
copy sandbox/plc4py/{plc4py/drivers => tests/unit/plc4py/api}/__init__.py (100%)
create mode 100644 sandbox/plc4py/tests/unit/plc4py/api/test/MockPlcConection.py
copy build-utils/language-java/src/main/resources/META-INF/services/org.apache.plc4x.plugins.codegenerator.language.LanguageOutput => sandbox/plc4py/tests/unit/plc4py/api/test/MockReadRequestBuilder.py (86%)
copy sandbox/plc4py/{plc4py/drivers => tests/unit/plc4py/api/test}/__init__.py (100%)