|
14 | 14 | using UnityEngine.InputSystem; |
15 | 15 | using UnityEngine.InputSystem.LowLevel; |
16 | 16 | using HtmlAgilityPack; |
17 | | -using UnityEditor; |
18 | 17 | using UnityEngine.InputSystem.DualShock; |
19 | 18 | using UnityEngine.InputSystem.Editor; |
20 | 19 | using UnityEngine; |
21 | 20 | using UnityEngine.InputSystem.iOS.LowLevel; |
22 | 21 | using UnityEngine.InputSystem.Utilities; |
| 22 | +using UnityEngine.TestTools; |
23 | 23 | using Object = System.Object; |
24 | 24 | using TypeAttributes = Mono.Cecil.TypeAttributes; |
25 | 25 | using PropertyAttribute = NUnit.Framework.PropertyAttribute; |
@@ -448,6 +448,13 @@ private bool IgnoreTypeWithoutPreserveAttribute(Type type) |
448 | 448 | ////TODO: move this to a fixture setup so that it runs *once* for all API checks in a test run |
449 | 449 | private static string GenerateDocsDirectory(out string log) |
450 | 450 | { |
| 451 | + // The dependency on `com.unity.modules.uielements` we have triggers a 404 error in doctools as it |
| 452 | + // tries to retrieve information on the "package" from `packages.unity.com`. As it is a module and not a |
| 453 | + // package, there's no metadata on the server and PacmanUtils.GetVersions() in doctools will log an |
| 454 | + // error to the console. This doesn't impact the rest of the run so just ignore it. |
| 455 | + // This is a workaround. Remove when fixed in doctools. |
| 456 | + LogAssert.ignoreFailingMessages = true; |
| 457 | + |
451 | 458 | // DocumentationBuilder users C:/temp on Windows to avoid deeply nested paths that go |
452 | 459 | // beyond the Windows path limit. However, on Yamato agent, C:/temp does not exist. |
453 | 460 | // Create it manually here. |
|
0 commit comments