Skip to content

Commit 8cb9bc9

Browse files
committed
Restrict test case to layout filename instead of partial full path.
1 parent fc84e91 commit 8cb9bc9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Assets/Tests/InputSystem/APIVerificationTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,12 @@ internal static bool IgnoreTypeForDocsByNamespace(string @namespace)
212212

213213
[Test]
214214
[Category("API")]
215-
[TestCase("Keyboard", "InputSystem/Runtime/Devices/Precompiled/FastKeyboard.cs")]
216-
[TestCase("Mouse", "InputSystem/Runtime/Devices/Precompiled/FastMouse.cs")]
217-
[TestCase("Touchscreen", "InputSystem/Runtime/Devices/Precompiled/FastTouchscreen.cs")]
215+
[TestCase("Keyboard", "FastKeyboard.cs")]
216+
[TestCase("Mouse", "FastMouse.cs")]
217+
[TestCase("Touchscreen", "FastTouchscreen.cs")]
218218
public void API_PrecompiledLayoutsAreUpToDate(string layoutName, string filePath)
219219
{
220-
var fullPath = "Packages/com.unity.inputsystem/" + filePath;
220+
var fullPath = "Packages/com.unity.inputsystem/InputSystem/Runtime/Devices/Precompiled/" + filePath;
221221
var existingCode = File.ReadAllText(fullPath);
222222

223223
// May be a git checkout with CRLF auto-conversion on. Strip all '\r' characters.

0 commit comments

Comments
 (0)