Skip to content

Commit f7b6585

Browse files
committed
Use Description for TestCases
1 parent a37ee76 commit f7b6585

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Assets/Tests/InputSystem/CoreTests_ProjectWideActions.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,10 @@ public void ProjectWideActions_AppearInEnabledActions()
143143

144144
[Category(TestCategory)]
145145
[Test]
146-
// Test that will make sure that a PlayerInput component using project wide actions will:
147-
// - Have the only default action map set enabled, and all others disabled.
148-
// - Have all action maps of project-wide actions disabled, if there's no default action map selected.
149-
[TestCase("Player", true)]
150-
[TestCase(null, false)]
146+
[TestCase("Player", true, Description = "PlayerInput using project-wide actions has the default action map set " +
147+
"enabled, and all others disabled.")]
148+
[TestCase(null, false, Description = "PlayerInput using project wide actions has all action maps of project-wide " +
149+
"actions disabled, if there is no default action map assigned.")]
151150
public void ProjectWideActions_AreDisabledWithPlayerInput(string actionMapName, bool expectedResult)
152151
{
153152
var keyboard = InputSystem.AddDevice<Keyboard>();

0 commit comments

Comments
 (0)