[unit-tests] カバレッジ補強 フェーズ2: Command.process.cs ProceedInput/ProceedCommand テスト追加 - #1091
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
Command.process.cs の ProceedInput / ProceedCommand メソッドに対して 21件のテストを追加する。 - ProceedCommand ViewMode=true, by_cancel=false → ViewMode 変化なし - ProceedCommand ViewMode=true, by_cancel=true → ViewMode=false - ProceedCommand ViewMode=false, unknown state → IsGUILocked 復元 - ProceedInput Left+"マップコマンド" → "ユニット選択" - ProceedInput Right+"マップコマンド" → "ユニット選択" - ProceedInput Left+"ユニット選択" unit=null → no-op - ProceedInput Left+"ターゲット選択" cell=null → no-op - ProceedInput Left+"コマンド選択" → CancelCommand → "ユニット選択" - ProceedInput Right+"ユニット選択" ViewMode=true → ViewMode=false - ProceedInput Right+"コマンド選択" → CancelCommand → "ユニット選択" Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧪 カバレッジ補強レポート (2026-08-31)
現在のフェーズ / Current Phase
Command.process.csのProceedInput/ProceedCommandテスト追加追加したテスト / Tests Added
CommandProceedTests: 21件追加 (SRCCoreTests/Commands/CommandProceedTests.cs)テスト内容
ProceedCommand — ViewMode ハンドリング
ViewMode=true, by_cancel=false→ ViewMode が変化しないViewMode=true, by_cancel=true→ ViewMode = false になるViewMode=trueでも CommandState は変化しないViewMode=false, unknown CommandState→ IsGUILocked が false に復元ViewMode=false, null CommandState→ IsScenarioFinished / IsCanceled が false にリセットProceedInput — 状態遷移
"マップコマンド"→ CommandState ="ユニット選択""マップコマンド"→ CommandState ="ユニット選択""ユニット選択"+ unit=null → no-op (ProceedCommand を呼ばない)"ターゲット選択"+ cell=null → no-op"移動後ターゲット選択"+ cell=null → no-op"コマンド選択"→ CancelCommand →"ユニット選択"+ SelectedCommand クリア"ユニット選択"+ ViewMode=true → ViewMode=false (ProceedCommand by_cancel=true)"コマンド選択"→ CancelCommand →"ユニット選択"合計: 21件追加
カバレッジサマリー / Coverage Summary
齟齬の報告 / Discrepancies Found
なし / None
テスト結果 / Test Results
Passed: 7510, Skipped: 0, Failed: 1 (既存の Config.LoadTest — 今回の変更と無関係)
次のステップ:
Command.attack.cs/Command.process.csの残メソッドおよびInterMissionCommandのカバーNext step: Cover remaining methods in Command.attack.cs / process.cs and InterMissionCommand
Warning
Firewall blocked 9 domains
The following domains were blocked by the firewall during workflow execution:
crl3.digicert.comcrl4.digicert.comdc.services.visualstudio.comocsp.digicert.coms.symcb.coms.symcd.comtscrl.ws.symantec.comtsocsp.ws.symantec.comwww.microsoft.comSee Network Configuration for more information.