Files
pacs_win_uia/tests/run-fixture.cmd
T
zimoyin 66ab309939 给全部源码补中文注释,并新增代码导览
- 67 个 .cs 文件加中文注释:每个文件顶部说明职责/调用方/线程与节拍/
  已知限制/「要改什么就改哪里」,字段与方法逐条一行说明,复杂逻辑内插关键步骤
- 纯注释改动:脚本校验所有新增行都是注释、无非注释改动(仅 2 个文件的 BOM
  随新头部注释下移,文件仍以 BOM 开头)
- 新增 docs/代码导览.md:模块地图、「我要改 X 看哪个文件」对照表、易踩的坑、
  悬浮条显示规则、测试与验收指引
- 编译通过,回归测试 23/23 通过

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-13 15:44:15 +08:00

26 lines
943 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
rem 构建并启动 UIA 测试夹具(一个普通的 WinForms 窗口,用来验证控件树/拾取/列表读取)。
rem 需要 .NET Framework 4.8(Windows 自带)与 dotnet SDK 或 MSBuild。
setlocal
rem HERE = 本脚本所在目录;PROJECT = 夹具工程;CONFIG 取第一个参数,缺省 Debug。
set HERE=%~dp0
set PROJECT=%HERE%uia-fixture\UiaFixture.csproj
set CONFIG=%1
if "%CONFIG%"=="" set CONFIG=Debug
rem 优先用 dotnet msbuild;找不到 dotnet 时回退到独立安装的 MSBuild。
where dotnet >nul 2>nul
if %ERRORLEVEL%==0 (
dotnet msbuild "%PROJECT%" -p:Configuration=%CONFIG% -v:m -nologo
) else (
msbuild "%PROJECT%" -p:Configuration=%CONFIG% -v:m -nologo
)
if not %ERRORLEVEL%==0 (
echo 构建失败。
exit /b %ERRORLEVEL%
)
rem 构建成功后用 start 以独立进程启动夹具窗口(不阻塞脚本)。
start "" "%HERE%uia-fixture\bin\%CONFIG%\UiaFixture.exe"
endlocal