CHANGE: Removed isInBatchMode and isPaused from IInputRuntime (ISX-2323)#2195
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## develop #2195 +/- ##
========================================
Coverage 67.79% 67.79%
========================================
Files 367 367
Lines 53528 53526 -2
========================================
Hits 36290 36290
+ Misses 17238 17236 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Collaborator
Author
|
@Pauliusd01 The refactored code parts are hit in the following cases:
So a Quick Look for regressions in that area is what could be manually tested |
jfreire-unity
approved these changes
Jun 24, 2025
Pauliusd01
approved these changes
Jun 25, 2025
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.
Description
Remove isInBatchMode from IInputRuntime and implementations, the interface is internal and there is no need for this property to be part of the internal run-time interface since it is related to the application and there is currently no need to control it in test fixture. If this later would need stubbing it is suggested the Input System uses a dedicated IApplication interface if desirable to mock the application to separate concerns.
Testing status & QA
Please describe the testing already done by you and what testing you request/recommend QA to execute. If you used or created any testing project please link them here too for QA.
Rerunning automated tests only.
Overall Product Risks
Please rate the potential complexity and halo effect from low to high for the reviewers. Note down potential risks to specific Editor branches if any.
Comments to reviewers
No changeling entry added since completely internal.
Checklist
Before review:
Changed,Fixed,Addedsections.Area_CanDoX,Area_CanDoX_EvenIfYIsTheCase,Area_WhenIDoX_AndYHappens_ThisIsTheResult.During merge:
NEW: ___.FIX: ___.DOCS: ___.CHANGE: ___.RELEASE: 1.1.0-preview.3.After merge: