分离 HTTP 传输接口与下载任务调度
封装 WinHTTP 请求和响应流,保留任务引擎中的续传、文件写入、重试与持久化策略。增加本地 HTTP 契约测试和后端替换说明。
This commit is contained in:
1 parent
db38ec5c03
commit
6c810c3b4f
13 files changed
+551
-208
No files matched your search
@@ -9,8 +9,15 @@ if not defined TTUI_MSBUILD (
|
||||
)
|
||||
"%TTUI_MSBUILD%" "%~dp0ui\ttui\tests\smoke.vcxproj" -p:Configuration=%TTUI_TEST_CONFIG% -p:Platform=x64 -v:minimal
|
||||
if errorlevel 1 exit /b 1
|
||||
"%TTUI_MSBUILD%" "%~dp0client\tests\http_transport_tests.vcxproj" -p:Configuration=%TTUI_TEST_CONFIG% -p:Platform=x64 -v:minimal
|
||||
if errorlevel 1 exit /b 1
|
||||
pushd "%~dp0"
|
||||
"%~dp0ui\ttui\lib\x64\%TTUI_TEST_CONFIG%\smoke.exe"
|
||||
if errorlevel 1 (
|
||||
popd
|
||||
exit /b 1
|
||||
)
|
||||
python "%~dp0client\tests\run_http_transport_tests.py" "%~dp0client\bin\tests\%TTUI_TEST_CONFIG%\http_transport_tests.exe"
|
||||
set "TTUI_TEST_EXIT=%ERRORLEVEL%"
|
||||
popd
|
||||
endlocal & exit /b %TTUI_TEST_EXIT%
|
||||
Reference in new issue
Block a user