Skip to content
Project referenceDevelopmentEngine ccf7d03f

Inno.Editor.PlayMode.Tests owns the behavior described below. Use this guide to find relevant assertions and their environment; the scenario list is not a current passing result.

Play entry waits for compilation and can be canceled before scripts are ready. Failure returns to Edit without replacing scenes; pending stop retains history and blocks a new generation until work drains. Exit restores editing history.

Input tests preserve pointer bounds even after consumption, keep captured input isolated by window, disarm on window exit and route game input only after Editor consumption. Console tests preserve distinct native card identities and uniform spacing. Popup tests cover content-width search, downward selectors and panel bounds.

Clear-on-Play and manual history clear preserve current diagnostics until their causes resolve. Completed sessions retain every runtime severity; failed entry keeps preparation diagnostics because simulation never started.

Daily native behavior and lifecycle contracts belong here; ten-thousand-row scale measurements belong to Editor performance tests. Both use the same Inno.Testing.Editor.Native fixture rather than copied lifecycle implementations.

The project declares the contract layer. Prepare the selected Editor native product and deployment through the plan. This owner declares successful results non-reusable across runs. Disable automatic imgui.ini output; persistence scenarios own temporary state rather than writing into compilation output.

Generate and inspect one validation plan, then execute that plan with its evaluated target, product and output properties. A focused test filter helps diagnosis; it does not replace required owner evidence. The pinned project file contains the actual references and metadata.

Representative entry points are checked against the pinned source. The linked files retain all assertions and parameterized cases.

Read the complete assertions. Representative entry points:

  • DistinctEntryDomainsDoNotReuseImGuiCardIdentity
  • CollapsedCardsUseOneUniformNativeItemSpacing

Read the complete assertions.

Read the complete assertions. Representative entry points:

  • ConsumedMouseMovementStillUpdatesPointerBounds
  • ConsumedMouseMovementDoesNotReleaseCapturedInputOrChangeOtherWindows
  • WindowExitDisarmsCaptureBeforeItsFirstDeliveredInput
  • DispatcherRoutesInputOnlyAfterEditorConsumption

Read the complete assertions. Representative entry points:

  • EntryWaitsForCompilationAndExitRestoresEditingHistory
  • PendingStopRetainsHistoryAndBlocksNewGenerationUntilWorkDrains
  • CompilationFailureReturnsToEditWithoutReplacingScenes
  • EnteringPlayCanBeCancelledBeforeScriptsBecomeReady

Read the complete assertions. Representative entry points:

  • ContextMenuSearchUsesCompletePopupContentWidth
  • TwoItemSelectorOpensBelowControlWithoutOverflow
  • LongSelectorNearWindowBottomScrollsWithoutOpeningUpward
  • SelectorInsideLayoutChildUsesContainingPanelBounds

Read the complete assertions. Representative entry points:

  • ClearOnPlayRemovesOldLogsButRetainsCurrentDiagnostics
  • ManualClearRemovesHistoryButKeepsCurrentIssuesUntilResolved
  • CompletedPlaySessionRetainsEveryRuntimeSeverity
  • FailedEntryRetainsPreparationDiagnosticsBecauseSimulationNeverStarted

Follow suite maintenance. Fixtures own their own sessions, temporary files and processes. Preserve thread, release and failure ordering; do not remove another owner’s lock or widen production visibility.