Skip to content

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

Open
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:migration-contenttypes-extension-to-non-deprecated-api
Open

Migrate test fixtures to non-deprecated contentTypes extension point#2633
vogella wants to merge 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   35m 50s ⏱️ -56s
 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 17620e9. ± Comparison against base commit 4149373.

♻️ 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
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 e012f52 to 17620e9 Compare May 18, 2026 07:02
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