client.close.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. [
  2. {
  3. "function": "get_resource_type",
  4. "params": [
  5. "@mock-stream"
  6. ],
  7. "return": "stream"
  8. },
  9. {
  10. "function": "get_resource_type",
  11. "params": [
  12. "@mock-stream"
  13. ],
  14. "return": "stream"
  15. },
  16. {
  17. "function": "get_resource_type",
  18. "params": [
  19. "@mock-stream"
  20. ],
  21. "return": "stream"
  22. },
  23. {
  24. "function": "fwrite",
  25. "params": [],
  26. "return": 12
  27. },
  28. {
  29. "function": "get_resource_type",
  30. "params": [
  31. "@mock-stream"
  32. ],
  33. "return": "stream"
  34. },
  35. {
  36. "function": "fread",
  37. "params": [
  38. "@mock-stream",
  39. 2
  40. ],
  41. "return-op": "chr-array",
  42. "return":[136, 154]
  43. },
  44. {
  45. "function": "fread",
  46. "params": [
  47. "@mock-stream",
  48. 4
  49. ],
  50. "return-op": "chr-array",
  51. "return":[98, 250, 210, 113]
  52. },
  53. {
  54. "function": "fread",
  55. "params": [
  56. "@mock-stream",
  57. 26
  58. ],
  59. "return-op": "chr-array",
  60. "return": [97, 18, 145, 29, 13, 137, 183, 81, 3, 153, 185, 31, 13, 141, 190, 20, 6, 157, 183, 21, 88, 218, 227, 65, 82, 202]
  61. },
  62. {
  63. "function": "fclose",
  64. "params": [
  65. "@mock-stream"
  66. ],
  67. "return":true
  68. },
  69. {
  70. "function": "get_resource_type",
  71. "params": [
  72. "@mock-stream"
  73. ],
  74. "return": "Unknown"
  75. }
  76. ]