Skip to content

Commit bda4a33

Browse files
Update ValidationExceptions.json with new entries
1 parent 3f02d38 commit bda4a33

1 file changed

Lines changed: 52 additions & 22 deletions

File tree

Packages/com.unity.inputsystem/ValidationExceptions.json

Lines changed: 52 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,70 @@
11
{
22
"ErrorExceptions": [
33
{
4-
"ValidationTest": "API Validation",
5-
"ExceptionMessage": "Breaking changes require a new major version.",
6-
"PackageVersion": "1.19.1",
7-
"__comments": "starting from 2022.3 ugui is not added to the project by default. We have some APIs that are conditional on ugui being present, so the API Validation thinks we are breaking API, but that is not the case."
4+
"ValidationTest": "API Validation",
5+
"ExceptionMessage": "Breaking changes require a new major version.",
6+
"PackageVersion": "1.19.1",
7+
"__comments": "starting from 2022.3 ugui is not added to the project by default. We have some APIs that are conditional on ugui being present, so the API Validation thinks we are breaking API, but that is not the case."
88
},
99
{
10-
"ValidationTest": "API Validation",
11-
"ExceptionMessage": "New assembly \"Unity.InputSystem.TestFramework\" may only be added in a new minor or major version.",
12-
"PackageVersion": "1.19.1"
10+
"ValidationTest": "API Validation",
11+
"ExceptionMessage": "New assembly \"Unity.InputSystem.TestFramework\" may only be added in a new minor or major version.",
12+
"PackageVersion": "1.19.1"
1313
},
1414
{
15-
"ValidationTest": "API Validation",
16-
"ExceptionMessage": "Additions require a new minor or major version.",
17-
"PackageVersion": "1.19.1"
15+
"ValidationTest": "API Validation",
16+
"ExceptionMessage": "Additions require a new minor or major version.",
17+
"PackageVersion": "1.19.1"
1818
},
19+
20+
// -------------------------
21+
// NDA Keyword Validation
22+
// -------------------------
1923
{
20-
"ValidationTest": "NDA Keyword Validation",
21-
"ExceptionMessage": "File 'InputSystem/Plugins/iOS/IOSGameController.cs' contains keyword pattern '(?<!(BuildTarget|BuildTargetGroup|BuildSettings|AddressablesPlatform|RuntimePlatform|TargetPlatform|OpCodes|GraphicsDeviceType))\\.switch\\W' which indicates it is specific to restricted targets '-Switch'. It must not be published",
22-
"PackageVersion": "1.19.1"
24+
"ValidationTest": "NDA Keyword Validation",
25+
"ExceptionMessage": "File 'InputSystem/Runtime/Plugins/iOS/IOSGameController.cs' contains keyword pattern '(?<!(BuildTarget|BuildTargetGroup|BuildSettings|AddressablesPlatform|RuntimePlatform|TargetPlatform|OpCodes|GraphicsDeviceType))\\.switch\\W' which indicates it is specific to restricted targets '-Switch'. It must not be published",
26+
"PackageVersion": "1.19.1"
2327
},
2428
{
25-
"ValidationTest": "NDA Keyword Validation",
26-
"ExceptionMessage": "using UnityEngine.InputSystem.Switch;",
27-
"PackageVersion": "1.19.1"
29+
"ValidationTest": "NDA Keyword Validation",
30+
"ExceptionMessage": "using UnityEngine.InputSystem.Switch;",
31+
"PackageVersion": "1.19.1"
2832
},
33+
2934
{
30-
"ValidationTest": "NDA Keyword Validation",
31-
"ExceptionMessage": "File 'InputSystem/Plugins/Switch/SwitchProController.cs' contains keyword pattern '(?<!(BuildTarget|BuildTargetGroup|BuildSettings|AddressablesPlatform|RuntimePlatform|TargetPlatform|OpCodes|GraphicsDeviceType))\\.switch\\W' which indicates it is specific to restricted targets '-Switch'. It must not be published",
32-
"PackageVersion": "1.19.1"
35+
"ValidationTest": "NDA Keyword Validation",
36+
"ExceptionMessage": "File 'InputSystem/Runtime/Plugins/Switch/SwitchProController.cs' contains keyword pattern '(?<!(BuildTarget|BuildTargetGroup|BuildSettings|AddressablesPlatform|RuntimePlatform|TargetPlatform|OpCodes|GraphicsDeviceType))\\.switch\\W' which indicates it is specific to restricted targets '-Switch'. It must not be published",
37+
"PackageVersion": "1.19.1"
3338
},
3439
{
35-
"ValidationTest": "NDA Keyword Validation",
36-
"ExceptionMessage": "namespace UnityEngine.InputSystem.Switch",
37-
"PackageVersion": "1.19.1"
40+
"ValidationTest": "NDA Keyword Validation",
41+
"ExceptionMessage": "File 'InputSystem/Runtime/Plugins/Switch/SwitchProControllerHID.cs' contains keyword pattern '(?<!(BuildTarget|BuildTargetGroup|BuildSettings|AddressablesPlatform|RuntimePlatform|TargetPlatform|OpCodes|GraphicsDeviceType))\\.switch\\W' which indicates it is specific to restricted targets '-Switch'. It must not be published",
42+
"PackageVersion": "1.19.1"
43+
},
44+
45+
{
46+
"ValidationTest": "NDA Keyword Validation",
47+
"ExceptionMessage": "namespace UnityEngine.InputSystem.Switch",
48+
"PackageVersion": "1.19.1"
49+
},
50+
{
51+
"ValidationTest": "NDA Keyword Validation",
52+
"ExceptionMessage": "using UnityEngine.InputSystem.Switch.LowLevel;",
53+
"PackageVersion": "1.19.1"
54+
},
55+
{
56+
"ValidationTest": "NDA Keyword Validation",
57+
"ExceptionMessage": "namespace UnityEngine.InputSystem.Switch.LowLevel",
58+
"PackageVersion": "1.19.1"
59+
},
60+
61+
// -------------------------
62+
// Assembly Definition Validation
63+
// -------------------------
64+
{
65+
"ValidationTest": "Assembly Definition Validation",
66+
"ExceptionMessage": "For editor assemblies, 'Editor' should be present in the includePlatform section in: [{Package-Root}/InputSystem/Editor/Plugins/InputForUI/InputSystemForUI.Editor.asmdef]",
67+
"PackageVersion": "1.19.1"
3868
}
3969
],
4070
"WarningExceptions": []

0 commit comments

Comments
 (0)