Rise
The Vieneo Province
Loading...
Searching...
No Matches
Chat Enter tests

Checks Enter routing between hidden chat controls, visible editors and global actions.

Subsystem: GUI, controls, inventory and player interaction
Fixture/harness: chatentertests
Setup: The standalone ChatEnterTests harness owns the inputs, local helpers and assertion sink used by the case files below.

Build/entry point: Tests/ChatEnterTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.

ChatEnterTests.cpp

Source: Tests/ChatEnterTests.cpp

Check Edit Input

Fixture: Chat Enter tests
Case symbol: CheckEditInput
Source: Tests/ChatEnterTests.cpp:44

Test
Checks that hidden edit controls leave global Enter available and cannot submit chat, while active edit controls handle Enter correctly.
Source check messages (including original failure wording)

  • Edit hotkey was not initialized
  • REGRESSION: hidden edit swallowed global Enter
  • Hidden edit submitted a message
  • Hidden edit swallowed numpad Enter
  • Hidden edit swallowed Alt+Enter
  • Visible edit did not acquire focus
  • Active edit did not accept typing
  • Active edit text changed unexpectedly
  • Active edit did not submit Enter exactly once
  • Hidden formerly focused edit swallowed next Enter
  • Hidden formerly focused edit submitted again

Entry-point checks

Fixture: Chat Enter tests
Case symbol: main
Source: Tests/ChatEnterTests.cpp:104

Test
Checks hotkey initialization and Enter routing in the shared and native edit controls.
Source check messages (including original failure wording)

  • REGRESSION: shared DXUT constructor retained stale Enter hotkey
  • Direct edit initialization failed
  • REGRESSION: native edit retained stale Enter hotkey
  • REGRESSION: native hidden edit swallowed Enter
  • Native AddEditBox failed
  • Button initialization failed
  • Explicit button hotkey was lost
  • Explicit hotkey did not invoke the button
  • Application edit initialization failed
  • Test did not seed the application edit allocation
  • ChatEnter diagnostics leaked into the default build
  • ChatEnter diagnostics were not enabled