clang-tools-extra/clangd/test/xpc/initialize.test
raw| 1 | # RUN: clangd-xpc-test-client < %s | FileCheck %s |
| 2 | # REQUIRES: clangd-xpc-support |
| 3 | |
| 4 | {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootUri":"test:///workspace","capabilities":{},"trace":"off"}} |
| 5 | # CHECK: {"id":0,"jsonrpc":"2.0","result":{"capabilities" |
| 6 | |
| 7 | {"jsonrpc":"2.0","id":3,"method":"shutdown"} |
| 8 | # CHECK: {"id":3,"jsonrpc":"2.0","result":null} |
| 9 | |
| 10 | {"jsonrpc":"2.0","method":"exit"} |