* [misc] Fix unit tests for biModel::checkDuckDBFile() method

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
liugang
2025-12-02 16:30:45 +08:00
committed by sunhao
co-authored by Claude
parent 410d2d26b2
commit b4bcbd595b
+5 -5
View File
@@ -7,11 +7,11 @@ title=测试 biModel::checkDuckDBFile();
timeout=0
cid=15152
- 执行biTest模块的checkDuckDBFileTest方法,参数是$testPath, array @object
- 执行biTest模块的checkDuckDBFileTest方法,参数是$testPath, array @0
- 执行biTest模块的checkDuckDBFileTest方法,参数是'', array @0
- 执行biTest模块的checkDuckDBFileTest方法,参数是$testPath, array @0
- 执行biTest模块的checkDuckDBFileTest方法,参数是$testPath, array @0
- 正常情况:文件和扩展都存在且可执行 >> 期望返回object
- 文件不存在的情况 >> 期望返回false
- 路径为空的情况 >> 期望返回false
- bin参数为空数组的情况 >> 期望返回false
- bin参数缺少file键的情况 >> 期望返回false
*/