提交Ruby源码和测试缓存 - SketchUp插件完整代码

This commit is contained in:
Pei Xueke 2025-07-01 14:09:58 +08:00
parent bf81d6a23d
commit 3ca4445f22
3 changed files with 36 additions and 14 deletions

Binary file not shown.

13
client_test.json Normal file
View File

@ -0,0 +1,13 @@
{
"message": "这是客户端测试数据",
"timestamp": "2025-07-01T14:07:28.439293",
"data": {
"name": "测试用户",
"age": 25,
"hobbies": [
"编程",
"音乐",
"阅读"
]
}
}

View File

@ -1,18 +1,27 @@
{ {
"test_time": "2025-07-01T14:03:13.108361", "test_time": "2025-07-01T14:06:52.602924",
"test_results": [ "test_results": [
"[14:03:11] INFO: 🚀 开始 Socket JSON 传输系统完整测试", "[14:06:50] INFO: 🚀 开始 Socket JSON 传输系统完整测试",
"[14:03:11] INFO: ==================================================", "[14:06:50] INFO: ==================================================",
"[14:03:11] INFO: \n📋 测试 1/4: 验证文件存在性", "[14:06:50] INFO: \n📋 测试 1/4: 验证文件存在性",
"[14:03:11] INFO: 验证测试文件...", "[14:06:50] INFO: 验证测试文件...",
"[14:03:11] SUCCESS: ✅ 所有必需文件都存在", "[14:06:50] SUCCESS: ✅ 所有必需文件都存在",
"[14:03:11] INFO: \n🖥 测试 2/4: 启动服务器", "[14:06:50] INFO: \n🖥 测试 2/4: 启动服务器",
"[14:03:11] INFO: 正在启动服务器...", "[14:06:50] INFO: 正在启动服务器...",
"[14:03:13] ERROR: ❌ 服务器启动失败: Traceback (most recent call last):\n File \"C:\\Users\\20920\\Desktop\\blender\\server.py\", line 22, in start_server\n print(f\"\\U0001f680 服务器启动成功!\")\n ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^\nUnicodeEncodeError: 'gbk' codec can't encode character '\\U0001f680' in position 0: illegal multibyte sequence\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\20920\\Desktop\\blender\\server.py\", line 189, in <module>\n server.start_server()\n ~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\20920\\Desktop\\blender\\server.py\", line 40, in start_server\n print(f\"\\u274c 服务器启动失败: {e}\")\n ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^\nUnicodeEncodeError: 'gbk' codec can't encode character '\\u274c' in position 0: illegal multibyte sequence\n", "[14:06:52] SUCCESS: ✅ 服务器启动成功",
"[14:03:13] INFO: ⛔ 服务器已停止", "[14:06:52] INFO: \n💻 测试 3/4: 客户端功能测试",
"[14:03:13] INFO: \n==================================================", "[14:06:52] INFO: 开始测试客户端功能...",
"[14:03:13] WARNING: 🎯 测试完成: 1/4 项通过", "[14:06:52] SUCCESS: ✅ 客户端测试完成",
"[14:03:13] WARNING: ⚠️ 部分测试失败,请检查上述错误信息" "[14:06:52] DEBUG: 客户端输出:",
"[14:06:52] ERROR: ❌ 客户端测试出错: 'NoneType' object has no attribute 'split'",
"[14:06:52] INFO: \n📁 测试 4/4: 验证文件传输",
"[14:06:52] SUCCESS: ✅ 发现客户端创建的测试文件",
"[14:06:52] SUCCESS: ✅ JSON 文件格式正确",
"[14:06:52] DEBUG: 文件内容预览: 这是客户端测试数据",
"[14:06:52] INFO: ⛔ 服务器已停止",
"[14:06:52] INFO: \n==================================================",
"[14:06:52] WARNING: 🎯 测试完成: 3/4 项通过",
"[14:06:52] WARNING: ⚠️ 部分测试失败,请检查上述错误信息"
], ],
"summary": "测试完成,详细日志共 12 条" "summary": "测试完成,详细日志共 21 条"
} }