server.close.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. [
  2. {
  3. "function": "get_resource_type",
  4. "params": [
  5. "@mock-stream"
  6. ],
  7. "return": true
  8. },
  9. {
  10. "function": "get_resource_type",
  11. "params": [
  12. "@mock-stream"
  13. ],
  14. "return": "stream"
  15. },
  16. {
  17. "function": "fwrite",
  18. "params": [],
  19. "return":12
  20. },
  21. {
  22. "function": "get_resource_type",
  23. "params": [
  24. "@mock-stream"
  25. ],
  26. "return": "stream"
  27. },
  28. {
  29. "function": "fread",
  30. "params": [
  31. "@mock-stream",
  32. 2
  33. ],
  34. "return-op": "chr-array",
  35. "return": [136,154]
  36. },
  37. {
  38. "function": "fread",
  39. "params": [
  40. "@mock-stream",
  41. 4
  42. ],
  43. "return-op": "chr-array",
  44. "return": [245,55,62,8]
  45. },
  46. {
  47. "function": "fread",
  48. "params": [
  49. "@mock-stream",
  50. 26
  51. ],
  52. "return-op": "chr-array",
  53. "return": [246,223,125,100,154,68,91,40,148,84,85,102,154,64,82,109,145,80,91,108,207,23,15,56,197,7]
  54. },
  55. {
  56. "function": "fclose",
  57. "params": [
  58. "@mock-stream"
  59. ],
  60. "return": true
  61. },
  62. {
  63. "function": "get_resource_type",
  64. "params": [
  65. "@mock-stream"
  66. ],
  67. "return": "Unknown"
  68. }
  69. ]