initialize.test 405 Bytes
# RUN: clangd-xpc-test-client < %s | FileCheck %s
# REQUIRES: clangd-xpc-support

{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootUri":"test:///workspace","capabilities":{},"trace":"off"}}
# CHECK: {"id":0,"jsonrpc":"2.0","result":{"capabilities"

{"jsonrpc":"2.0","id":3,"method":"shutdown"}
# CHECK: {"id":3,"jsonrpc":"2.0","result":null}

{"jsonrpc":"2.0","method":"exit"}