(ClientGame.App app)
| 365 | } |
| 366 | |
| 367 | private static BRole getRole(ClientGame.App app) { |
| 368 | var get = new GetRoleList(); |
| 369 | get.SendForWait(app.ClientService.GetSocket(), 10_000).await(); |
| 370 | Assert.assertEquals(0, get.getResultCode()); |
| 371 | if (get.Result.getRoleList().isEmpty()) |
| 372 | return null; |
| 373 | return get.Result.getRoleList().get(0); |
| 374 | } |
| 375 | |
| 376 | private static void sleep(long gap, int times) { |
| 377 | try { |
no test coverage detected