Skip to content

Conversation

@jonahgraham
Copy link
Member

This is my WIP so far on #1379. This can't be pushed as is, but if someone want to keep working on JUnit5 conversions of org.eclipse.cdt.core tests, this is a good starting point. Some of this has already been merged to main.

This isn't needed as JDT automatically injects what it needs when
running tests.
…nit5

SemanticTestBase is the base class for a huge hierarchy of tests and
all those test updates are included in this commit.
BaseTestFramework is the base class for a hierarchy of tests and
all those test updates are included in this commit.
BaseTestFramework is the base class for a hierarchy of tests and
all those test updates are included in this commit.
…se to JUnit5

PreprocessorTestsBase is the base class for a hierarchy of tests and
all those test updates are included in this commit.
…to JUnit5

DOMFileBasePluginTest is the base class for a hierarchy of tests and
all those test updates are included in this commit.
Many of the parser tests are in complicated hierarchies, this is the
commit to convert the rest of them.
IndexTestBase is the base class for a hierarchy of tests and
all those test updates are included in this commit.

Bug246129 needed to be renamed to Bug246129Test to ensure it is
detected by default Maven Surefire test discovery
…Unit5

FileBasePluginTestCase is the base class for a hierarchy of tests and
all those test updates are included in this commit.
…o JUnit5

CompletionTestBase is the base class for a hierarchy of tests and
all those test updates are included in this commit.
…TestCase to JUnit5

OneSourceMultipleHeadersTestCase is the base class for a hierarchy of tests and
all those test updates are included in this commit.
The suite source folder is mostly utility functions. This change includes
moving most of it to JUnit5. Only BaseTestCase and BaseTestCase5 still
have references to JUnit < 5

Includes deleting unreferenced test class with no tests in it
The mode source folder is mostly non-hierarchy tests and are included
here.
@jonahgraham jonahgraham changed the title Junit5 JUnit5 Draft work (do not push as is) Nov 25, 2025
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