Skip to content

Replace concatenates Strings by Text-Blocks in CompilerTests#2991

Open
HannesWell wants to merge 1 commit intoeclipse-xtext:mainfrom
HannesWell:text-blocks_in_compilerTests
Open

Replace concatenates Strings by Text-Blocks in CompilerTests#2991
HannesWell wants to merge 1 commit intoeclipse-xtext:mainfrom
HannesWell:text-blocks_in_compilerTests

Conversation

@HannesWell
Copy link
Contributor

This improves the readability of Strings defining the test-input and expected output. It avoids the need to explicitly add new-line characters and the need to escape double-quotes.

Currently the tests require only Java-11, but it was said that as part of #2686 Java-17 will be the required minimum.

@HannesWell HannesWell force-pushed the text-blocks_in_compilerTests branch from 21af390 to 952f634 Compare April 14, 2024 12:25
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

am not sure if i am ok with that just for the test

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR aims to the time, when Java-17 is already the required minimum. I assumed this will the case as soon Java-21 is supported? So this is actually a draft.
If you are interested in a PR that bumps the required Java-version for all bundles, I can provide one just for that.

@HannesWell HannesWell marked this pull request as draft April 14, 2024 12:51
@HannesWell HannesWell force-pushed the text-blocks_in_compilerTests branch from 952f634 to 659d9cc Compare February 13, 2026 18:19
@HannesWell HannesWell marked this pull request as ready for review February 13, 2026 18:19
@HannesWell
Copy link
Contributor Author

Since the test projects require Java-17 in the meantime, this should be ready.

@github-actions
Copy link

github-actions bot commented Feb 13, 2026

Test Results

  6 461 files  ±0    6 461 suites  ±0   3h 9m 18s ⏱️ - 7m 26s
 43 236 tests ±0   42 641 ✅  - 11    584 💤 ±0  10 ❌ +10  1 🔥 +1 
170 059 runs  ±0  167 711 ✅  - 11  2 337 💤 ±0  10 ❌ +10  1 🔥 +1 

For more details on these failures and errors, see this check.

Results for commit 0cfd535. ± Comparison against base commit 4a6daa0.

♻️ This comment has been updated with latest results.

@LorenzoBettini
Copy link
Contributor

I seem to understand that the Jenkins build fails because it's referring to a non-existent TP.
@HannesWell, are you sure this PR is on top of the current main branch?

This improves the readability of Strings defining the test-input and
expected output. It avoids the need to explicitly add new-line
characters and the need to escape double-quotes.
@HannesWell HannesWell force-pushed the text-blocks_in_compilerTests branch from 659d9cc to 0cfd535 Compare February 24, 2026 17:01
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.

3 participants