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 2024/10/09 12:24:57 UTC
(shardingsphere) branch master updated: Refactor CursorConnectionContextTest (#33194)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new a81d7dac6ff Refactor CursorConnectionContextTest (#33194)
a81d7dac6ff is described below
commit a81d7dac6ff9d024072f95d043d42831550f1f9a
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Oct 9 20:24:51 2024 +0800
Refactor CursorConnectionContextTest (#33194)
* Refactor ProjectionIdentifierExtractEngineTest
* Refactor CursorConnectionContextTest
---
.../infra/session/connection/cursor/CursorConnectionContextTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/infra/session/src/test/java/org/apache/shardingsphere/infra/session/connection/cursor/CursorConnectionContextTest.java b/infra/session/src/test/java/org/apache/shardingsphere/infra/session/connection/cursor/CursorConnectionContextTest.java
index a1bde3c0bba..31201e0bb12 100644
--- a/infra/session/src/test/java/org/apache/shardingsphere/infra/session/connection/cursor/CursorConnectionContextTest.java
+++ b/infra/session/src/test/java/org/apache/shardingsphere/infra/session/connection/cursor/CursorConnectionContextTest.java
@@ -30,7 +30,7 @@ class CursorConnectionContextTest {
@SuppressWarnings("resource")
@Test
- void removeCursor() {
+ void assertRemoveCursor() {
CursorConnectionContext cursorConnectionContext = createCursorConnectionContext();
cursorConnectionContext.removeCursor("foo");
assertFalse(cursorConnectionContext.getOrderByValueGroups().containsKey("foo"));
@@ -40,7 +40,7 @@ class CursorConnectionContextTest {
}
@Test
- void removeClose() {
+ void assertClose() {
CursorConnectionContext cursorConnectionContext = createCursorConnectionContext();
cursorConnectionContext.close();
assertTrue(cursorConnectionContext.getOrderByValueGroups().isEmpty());