You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/08/28 03:19:09 UTC
[shardingsphere] branch master updated (8f8bc2d -> c800289)
This is an automated email from the ASF dual-hosted git repository.
zhangyonglun pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from 8f8bc2d add test for pg float binary protocol (#7110)
add c800289 For #6985 : Add unit test cases & study PostgreSQL wire protocol (#7070)
No new revisions were added by this update.
Summary of changes:
.../handshake/PostgreSQLComStartupPacket.java | 2 +-
.../postgresql/packet/ByteBufTestUtils.java | 48 +++++++++++++++++
...stgreSQLUnspecifiedBinaryProtocolValueTest.java | 9 ++--
...greSQLAuthenticationMD5PasswordPacketTest.java} | 39 ++++++--------
.../PostgreSQLAuthenticationOKPacketTest.java} | 37 +++++++------
.../generic/PostgreSQLComStartupPacketTest.java | 60 +++++++++++++++++++++
.../PostgreSQLComTerminationPacketTest.java} | 34 +++++-------
.../PostgreSQLCommandCompletePacketTest.java} | 36 +++++--------
.../PostgreSQLParameterStatusPacketTest.java} | 38 ++++++-------
.../PostgreSQLPasswordMessagePacketTest.java} | 39 ++++++--------
.../PostgreSQLReadyForQueryPacketTest.java} | 33 ++++--------
.../PostgreSQLSSLNegativePacketTest.java} | 31 +++++------
.../handshake/PostgreSQLRandomGeneratorTest.java | 2 +-
.../payload/PostgreSQLPacketPayloadTest.java | 62 ++++++++++++++++++++++
14 files changed, 294 insertions(+), 176 deletions(-)
create mode 100644 shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/ByteBufTestUtils.java
copy shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/{command/query/binary/bind/PostgreSQLBindCompletePacketTest.java => generic/PostgreSQLAuthenticationMD5PasswordPacketTest.java} (53%)
copy shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/{command/query/binary/bind/PostgreSQLBindCompletePacketTest.java => generic/PostgreSQLAuthenticationOKPacketTest.java} (56%)
create mode 100644 shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLComStartupPacketTest.java
copy shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/{command/query/binary/bind/PostgreSQLBindCompletePacketTest.java => generic/PostgreSQLComTerminationPacketTest.java} (61%)
copy shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/{command/query/binary/bind/PostgreSQLBindCompletePacketTest.java => generic/PostgreSQLCommandCompletePacketTest.java} (59%)
copy shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/{command/query/binary/bind/PostgreSQLBindCompletePacketTest.java => generic/PostgreSQLParameterStatusPacketTest.java} (55%)
copy shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/{command/query/binary/bind/PostgreSQLBindCompletePacketTest.java => generic/PostgreSQLPasswordMessagePacketTest.java} (54%)
copy shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/{command/query/binary/bind/PostgreSQLBindCompletePacketTest.java => generic/PostgreSQLReadyForQueryPacketTest.java} (61%)
copy shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/{command/query/binary/execute/PostgreSQLComExecutePacketTest.java => generic/PostgreSQLSSLNegativePacketTest.java} (60%)
create mode 100644 shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/payload/PostgreSQLPacketPayloadTest.java