CMake/Tests/Server/tc_buildsystem1.json
Tobias Hunger 71a505870c server-mode: Add project data for unit tests
Do some basic unit tests for "codemodel", "cmakeInputs" and "cache"
commands of the cmake server.

This just calls the commands right now and makes sure the server
thinks it can reply to the request. The data itself is currently not
validated.
2016-09-28 20:10:59 +02:00

28 lines
926 B
JSON

[
{ "message": "Testing globalSettings" },
{ "handshake": {"major": 1, "sourceDirectory":"buildsystem1","buildDirectory":"buildsystem1"} },
{ "message": "Configure:" },
{ "send": { "type": "configure", "cookie":"CONFIG" } },
{ "reply": { "type": "configure", "cookie":"CONFIG", "skipProgress":true } },
{ "message": "Compute:" },
{ "send": { "type": "compute", "cookie":"COMPUTE" } },
{ "reply": { "type": "compute", "cookie":"COMPUTE", "skipProgress":true } },
{ "message": "Codemodel:" },
{ "send": { "type": "codemodel", "cookie":"CODEMODEL" } },
{ "reply": { "type": "codemodel", "cookie":"CODEMODEL" } },
{ "message": "CMake Inputs:"},
{ "send": { "type": "cmakeInputs", "cookie":"INPUTS" } },
{ "reply": { "type": "cmakeInputs", "cookie":"INPUTS" } },
{ "message": "Cache:"},
{ "send": { "type": "cache", "cookie":"CACHE" } },
{ "reply": { "type": "cache", "cookie":"CACHE" } },
{ "message": "Everything ok." }
]