CHANGE: Expose internals to the input tests package #2256
CHANGE: Expose internals to the input tests package #2256AswinRajGopal wants to merge 1 commit intodevelopfrom
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr-agent |
PR Code Suggestions ✨No code suggestions found for the PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## develop #2256 +/- ##
===========================================
+ Coverage 76.70% 76.72% +0.01%
===========================================
Files 465 465
Lines 87919 87944 +25
===========================================
+ Hits 67442 67477 +35
+ Misses 20477 20467 -10 Flags with carried forward coverage won't be shown. Click here to find out more. see 2 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
Why is this internal visibility needed? What dependencies exist driving such a change? |
This is related to the task Ashwin is working on where he is moving tests in trunk, from a project to a package. There are 2 types that those tests access that needs access to internals:
|
|
That being said, DualShock4HIDInputReport should be accessible because it used from Tests/EditModeAndPlayModeTests/InputBackend/Assets/Utilities/InputUtils.cs and that lives in the Tests/EditModeAndPlayModeTests/InputBackend/Assets/Utilities/Utilities.asmdef which is named Unity.InputSystem.Tests, which already has access to internals... |
I am just worried this is adding to the pile of technical guilt that needs to be reverted. @LeoUnity @AswinRajGopal here is my perspective on this. DualShock4HIDFormat e.g: The I am not sure there was additional thing I can help with, feel free to DM in that case or reply here. |
|
@AswinRajGopal Please update this PR with latest develop to get #2260, I do not dare updating it since it has conflicts. |
Description
This change has dependency for this test package PR: https://github.cds.internal.unity3d.com/unity/unity/pull/78036
Testing status & QA
Overall Product Risks
Comments to reviewers
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: