You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript/TypeScriptClientKotlinServerTest.kt
-27Lines changed: 0 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -75,33 +75,6 @@ class TypeScriptClientKotlinServerTest : TypeScriptTestBase() {
75
75
)
76
76
}
77
77
78
-
@Test
79
-
@Timeout(30, unit =TimeUnit.SECONDS)
80
-
funtestToolCallWithSessionManagement() {
81
-
val testName ="SessionTest"
82
-
val command ="npx tsx myClient.ts $serverUrl greet $testName"
83
-
val output = executeCommand(command, tsClientDir)
84
-
85
-
assertTrue(output.contains("Connected to server"), "Client should connect to server")
86
-
assertTrue(
87
-
output.contains("Hello, $testName!"),
88
-
"Tool response should contain the greeting with the provided name",
89
-
)
90
-
assertTrue(output.contains("Tool result:"), "Output should indicate a successful tool call")
91
-
assertTrue(output.contains("Disconnected from server"), "Client should disconnect cleanly")
92
-
93
-
val multiGreetName ="NotificationTest"
94
-
val multiGreetCommand ="npx tsx myClient.ts $serverUrl multi-greet $multiGreetName"
95
-
val multiGreetOutput = executeCommand(multiGreetCommand, tsClientDir)
96
-
97
-
assertTrue(multiGreetOutput.contains("Connected to server"), "Client should connect to server")
0 commit comments