test(android): update gateway hello callback fixtures · openclaw/openclaw@64b6caf
obviyus
·
2026-05-20
·
via Recent Commits to openclaw:main
File tree
apps/android/app/src/test/java/ai/openclaw/app
| Original file line number | Diff line number | Diff line change |
|---|
@@ -642,7 +642,7 @@ class GatewaySessionInvokeTest {
|
642 | 642 | scope = CoroutineScope(sessionJob + Dispatchers.Default), |
643 | 643 | identityStore = DeviceIdentityStore(app), |
644 | 644 | deviceAuthStore = deviceAuthStore, |
645 | | - onConnected = { _, _, _ -> |
| 645 | + onConnected = { |
646 | 646 | if (!connected.isCompleted) connected.complete(Unit) |
647 | 647 | }, |
648 | 648 | onDisconnected = { message -> |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -241,7 +241,7 @@ class GatewaySessionReconnectTest {
|
241 | 241 | scope = CoroutineScope(sessionJob + Dispatchers.Default), |
242 | 242 | identityStore = DeviceIdentityStore(app), |
243 | 243 | deviceAuthStore = ReconnectDeviceAuthStore(), |
244 | | - onConnected = { _, _, _ -> }, |
| 244 | + onConnected = {}, |
245 | 245 | onDisconnected = { _ -> }, |
246 | 246 | onEvent = { _, _ -> }, |
247 | 247 | onInvoke = { GatewaySession.InvokeResult.ok("""{"handled":true}""") }, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -256,7 +256,7 @@ class TalkModeManagerTest {
|
256 | 256 | scope = CoroutineScope(sessionJob + Dispatchers.Default), |
257 | 257 | identityStore = DeviceIdentityStore(app), |
258 | 258 | deviceAuthStore = InMemoryDeviceAuthStore(), |
259 | | - onConnected = { _, _, _ -> }, |
| 259 | + onConnected = {}, |
260 | 260 | onDisconnected = {}, |
261 | 261 | onEvent = { _, _ -> }, |
262 | 262 | ) |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。