Skip to content

[unit-test] FontCmd: Regularオプションの実装がヘルプと逆 #905

@github-actions

Description

@github-actions

ヘルプとの齟齬

ヘルプの記載(SRC.Sharp.Help/src/Fontコマンド.md)

Regular フォントをItalic無し、Bold無しに設定します。

つまり Regular は Bold = false、Italic = false に設定するべきです。

実装の実際の動作(SRC.Sharp/SRCCore/CmdDatas/Commands/Screan/FontCmd.cs)

case "Regular":
    fontOption.Bold = true;   // ← 本来は false
    fontOption.Italic = true; // ← 本来は false
    break;

BoldItalic が両方 true(有効)に設定されており、ヘルプ記載と逆の挙動になっています。

推奨対応

実装を修正する のが正しい対応です:

case "Regular":
    fontOption.Bold = false;
    fontOption.Italic = false;
    break;

補足

  • FontCmdSystem.Drawing.Font が Linux 非対応のため、現在テスト除外されています(FontClsTelopCmdTests.cs 冒頭コメント参照)。
  • このバグはユニットテスト補完エージェントによるコードレビューで発見されました。

Warning

⚠️ Firewall blocked 8 domains

The following domains were blocked by the firewall during workflow execution:

  • crl3.digicert.com
  • crl4.digicert.com
  • ocsp.digicert.com
  • s.symcb.com
  • s.symcd.com
  • tscrl.ws.symantec.com
  • tsocsp.ws.symantec.com
  • www.microsoft.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "crl3.digicert.com"
    - "crl4.digicert.com"
    - "ocsp.digicert.com"
    - "s.symcb.com"
    - "s.symcd.com"
    - "tscrl.ws.symantec.com"
    - "tsocsp.ws.symantec.com"
    - "www.microsoft.com"

See Network Configuration for more information.

Note

🔒 Integrity filtering filtered 1 item

Integrity filtering activated and filtered the following item during workflow execution.
This happens when a tool call accesses a resource that does not meet the required integrity or secrecy level of the workflow.

  • resource:search_pull_requests (search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".)

Generated by ユニットテスト補完エージェント / Unit Test Completion Agent ·

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions