tc_cache.json 852 B

123456789101112131415161718192021222324
  1. [
  2. { "message": "Testing cache" },
  3. { "message": "Cache after first handshake is empty:" },
  4. { "handshake": {"major": 1, "sourceDirectory": "buildsystem1", "buildDirectory": "buildsystem1"} },
  5. { "send": { "type": "cache" } },
  6. { "validateCache": { "isEmpty": true } },
  7. { "message": "Cache after configure is populated:" },
  8. { "send": { "type": "configure" } },
  9. { "reply": { "type": "configure", "skipProgress":true } },
  10. { "send": { "type": "cache" } },
  11. { "validateCache": { "isEmpty": false } },
  12. { "message": "Handshake for existing cache requires buildDirectory only:" },
  13. { "reconnect": {} },
  14. { "handshake": {"major": 1, "sourceDirectory": "", "buildDirectory": "buildsystem1"} },
  15. { "message": "Cache after reconnect is again populated:" },
  16. { "send": { "type": "cache" } },
  17. { "validateCache": { "isEmpty": false } },
  18. { "message": "Everything ok." }
  19. ]