From 80f7c9d7c029655a543e535153ef0bb3df8f78c2 Mon Sep 17 00:00:00 2001 From: terrymanu Date: Sun, 26 May 2024 10:33:59 +0800 Subject: [PATCH] Refactor AbstractUnsupportedOperationStatement --- .../unsupported/UnsupportedOperationStatementTest.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/jdbc/src/test/java/org/apache/shardingsphere/driver/jdbc/unsupported/UnsupportedOperationStatementTest.java b/jdbc/src/test/java/org/apache/shardingsphere/driver/jdbc/unsupported/UnsupportedOperationStatementTest.java index 44a1a0922f7fd..a129de2303ed2 100644 --- a/jdbc/src/test/java/org/apache/shardingsphere/driver/jdbc/unsupported/UnsupportedOperationStatementTest.java +++ b/jdbc/src/test/java/org/apache/shardingsphere/driver/jdbc/unsupported/UnsupportedOperationStatementTest.java @@ -60,16 +60,6 @@ void setUp() { shardingSphereStatement = new ShardingSphereStatement(connection); } - @Test - void assertCloseOnCompletion() { - assertThrows(SQLFeatureNotSupportedException.class, () -> shardingSphereStatement.closeOnCompletion()); - } - - @Test - void assertIsCloseOnCompletion() { - assertThrows(SQLFeatureNotSupportedException.class, () -> shardingSphereStatement.isCloseOnCompletion()); - } - @Test void assertSetCursorName() { assertThrows(SQLFeatureNotSupportedException.class, () -> shardingSphereStatement.setCursorName("cursorName"));