Skip to content

Migrate test fixtures to non-deprecated contentTypes extension point#2633

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:migration-contenttypes-extension-to-non-deprecated-api
Jun 1, 2026
Merged

Migrate test fixtures to non-deprecated contentTypes extension point#2633
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:migration-contenttypes-extension-to-non-deprecated-api

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Apr 26, 2026

The org.eclipse.core.runtime.contentTypes extension point was deprecated in 2018 and is being removed in #1644. This swaps the four test fixture plugin.xml files in org.eclipse.core.tests.resources over to the canonical successor org.eclipse.core.contenttype.contentTypes. The child element schema is identical, so this is a mechanical id swap with no behavioral change.

The fixtures are intentionally kept — they provide negative-case coverage (missing names, invalid describers, empty file-extensions, missing alias targets) for the content-type registry tests.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 26, 2026

Test Results

    54 files  ±0      54 suites  ±0   34m 29s ⏱️ - 1m 30s
 4 667 tests ±0   4 645 ✅ ±0   22 💤 ±0  0 ❌ ±0 
11 895 runs  ±0  11 742 ✅ ±0  153 💤 ±0  0 ❌ ±0 

Results for commit 54467e9. ± Comparison against base commit f4bd413.

♻️ This comment has been updated with latest results.

@vogella vogella force-pushed the migration-contenttypes-extension-to-non-deprecated-api branch from 3d92cfe to e012f52 Compare May 3, 2026 12:10
@vogella vogella force-pushed the migration-contenttypes-extension-to-non-deprecated-api branch from e012f52 to 17620e9 Compare May 18, 2026 07:02
@vogella vogella force-pushed the migration-contenttypes-extension-to-non-deprecated-api branch from 17620e9 to b220994 Compare May 30, 2026 08:29
The org.eclipse.core.runtime.contentTypes extension point was deprecated
in 2018 and is being removed. Replace with its canonical successor
org.eclipse.core.contenttype.contentTypes in the four test fixture
plugin.xml files. The child element schema is identical, so this is a
mechanical id swap with no behavioral change.

These fixtures provide negative-case coverage (missing names, invalid
describers, empty file-extensions, missing alias targets) for the
content-type registry tests in org.eclipse.core.tests.resources.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vogella vogella force-pushed the migration-contenttypes-extension-to-non-deprecated-api branch from b220994 to 54467e9 Compare June 1, 2026 09:28
@vogella vogella merged commit a372a8c into eclipse-platform:master Jun 1, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant