-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate two-step documentation context creation (#1059)
* Deprecate `DocumentationConverter` * Update DataProvider protocol to a be general purpose * Update DiagnosticConsoleWriter to use DataProvider protocol * Update LinkResolver to use DataProvider protocol * Update one test helper to use InputProvider to discover inputs * Update tests to load inputs using test helpers * Avoid loading same bundle twice in same test * Avoid creating unused workspace and context in tests * Use InMemoryDataProvider instead of custom type in test * Avoid force try in one test * Move additional global checks to context configuration * Avoid copying the test bundle when the catalog content isn't modified * Update ConvertActionIndexerTests to use InputProvider to discover inputs * Avoid using `_legacyDataProvider` in tests * Update tests to pass link dependency files instead of using `configureContext` * Update final test helper to use `InputProvider` to discover inputs Also, remove no longer used `configureContext` parameter * Use test file system for empty test bundle * Use test helper for setting feature flags * Deprecate `DocumentationWorkspace` rdar://136208312 * Update BundleDiscoveryTests to use test helpers for input discovery * Remove unused data provider parameter from convert action initializer * Stop conforming test file system to workspace data provider * Deprecate `GeneratedDataProvider` * Deprecate `PrebuiltLocalFileSystemDataProvider` * Remove unused SymbolGraphLoader initializer * Indicate in deprecated tests when they can be removed * Remove out-of-date deprecation warning for already removed code * Deprecate `DocumentationWorkspaceDataProvider` * Deprecate `DocumentationContextDataProvider` * Deprecate additional multi-bundle-related properties * Add comments to deprecated tests explaining that they aren't skipped * Update comment about why unexpected errors and turned into diagnostics and add FIXME to change this in the future
- Loading branch information
1 parent
e600b1f
commit ed492be
Showing
60 changed files
with
537 additions
and
809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.