[unit-tests] ユニットテスト補完: TalkCmd / AskCmd#809
Open
github-actions[bot] wants to merge 2 commits intomasterfrom
Open
[unit-tests] ユニットテスト補完: TalkCmd / AskCmd#809github-actions[bot] wants to merge 2 commits intomasterfrom
github-actions[bot] wants to merge 2 commits intomasterfrom
Conversation
TalkCmd (18件) と AskCmd のテストを追加: TalkCmd: - 基本メッセージ表示 (DisplayMessage呼び出し確認) - EndコマンドでのID返却確認 - システム話者の特殊ケース - 複数行メッセージの全表示 - End欠如エラー - Suspendによる中断(フォームを閉じない) - Endによるフォームクローズ - 未定義パイロット指定エラー AskCmd: - 書式1: 第1/第2選択肢の選択とSelectedAlternative確認 - End後のNextID返却 - カスタムメッセージの表示 - デフォルトメッセージの表示 - 選択肢なし時のキャンセル値(0)設定 - End欠如エラー - 終了オプションでのListBox閉鎖 - 不正オプションエラー 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-02-26)
追加したテスト / Tests Added
SRC.Sharp/SRCCoreTests/CmdDatas/TalkAndAskCmdTests.csSRC.Sharp/SRCCoreTests/CmdDatas/TalkAndAskCmdTests.cs合計: 18件追加
カバレッジサマリー / Coverage Summary
テスト内容 / Test Details
TalkCmd(ヘルプ:
SRC.Sharp.Help/src/Talkコマンド.md)TalkCmd_SimpleMessage_CallsDisplayMessage— 基本メッセージ表示の確認TalkCmd_SimpleMessage_ReturnsIdAfterEnd— End後のNextID返却TalkCmd_WithSistema_DisplaysMessageWithoutPilotCheck— 「システム」話者の特殊処理TalkCmd_MultipleMessages_DisplaysAll— 複数行メッセージの全表示TalkCmd_MissingEnd_ReturnsError— End欠如エラーTalkCmd_WithSuspend_ReturnsAfterSuspend— Suspend中断でのID返却TalkCmd_WithSuspend_DoesNotCloseMessageForm— Suspend時にフォームを閉じないTalkCmd_WithEnd_ClosesMessageForm— End時にメッセージフォームを閉じるTalkCmd_UndefinedPilot_ReturnsError— 未定義パイロット指定エラーAskCmd(ヘルプ:
SRC.Sharp.Help/src/Askコマンド.md)AskCmd_SelectFirstChoice_SetsSelectedAlternativeToOne— 1番目を選択→選択=1AskCmd_SelectSecondChoice_SetsCorrectValue— 2番目を選択→選択=2AskCmd_ReturnsNextIdAfterEnd— End後のNextID返却AskCmd_CustomMessage_PassedToListBox— カスタムメッセージの表示AskCmd_DefaultMessage_UsedWhenNoMessage— デフォルトメッセージAskCmd_NoChoices_SetsSelectedAlternativeToZero— 選択肢なし→選択=0AskCmd_MissingEnd_ReturnsError— End欠如エラーAskCmd_Owari_ClosesListBox— 終了オプションでListBox閉鎖AskCmd_InvalidOption_ReturnsError— 不正オプションエラー齟齬の報告 / Discrepancies Found
なし / None
テスト結果 / Test Results
(既存7001件 + 新規18件 = 7019件)
次のステップ / Next Steps
次回実行で以下をカバー予定:
Warning
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.com