Browse Source

Update Java 21 string patterns tests after JDT Core bugfix

https://github.com/eclipse-jdt/eclipse.jdt.core/issues/1719 was fixed.
Change test to expect the correct strings for processed string pattern.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/V1_9_21_1
Alexander Kriegisch 2 months ago
parent
commit
1287b1b258

+ 2
- 6
tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml View File

@@ -193,9 +193,7 @@
<compile files="StringPatternsPreview1.java" options="--enable-preview -21"/>
<run class="StringPatternsPreview1" vmargs="--enable-preview">
<stdout ordered="yes">
<!-- TODO: Due to https://github.com/eclipse-jdt/eclipse.jdt.core/issues/1719, this is currently rendered
incorrectly. After the upstream fix, change "\Bill \Duck" to "Bill Duck". -->
<line text="\Bill \Duck"/>
<line text="Bill Duck"/>
<line text="10 + 20 = 30"/>
<line text="You have a special New Year's sale discount waiting for you!"/>
<line text="Access at 2011-11-11 11:11:11 from localhost/127.0.0.1"/>
@@ -229,9 +227,7 @@
<run class="StringPatternsPreview1Aspect" vmargs="--enable-preview">
<stdout ordered="yes">
<line text="execution(void StringPatternsPreview1Aspect.main(String[]))"/>
<!-- TODO: Due to https://github.com/eclipse-jdt/eclipse.jdt.core/issues/1719, this is currently rendered
incorrectly. After the upstream fix, change "\Bill \Duck" to "Bill Duck". -->
<line text="\Bill \Duck"/>
<line text="Bill Duck"/>
<line text="10 + 20 = 30"/>
<line text="You have a special New Year's sale discount waiting for you!"/>
<line text="Access at 2011-11-11 11:11:11 from localhost/127.0.0.1"/>

Loading…
Cancel
Save