Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue_166] Add the ability to exclude Faces new TCK tests; exclude challenge #1935 tests #168

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

bstansberry
Copy link
Contributor

@bstansberry bstansberry commented Jul 21, 2024

Resolves #166

Also changes the default Faces TCK version to the current 4.0.3.

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludesFile>${se21.newtck.exclusions}</excludesFile>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note I went with an excludesFile element here instead of an excludes element because it's not clear from the failsafe documentation whether method filtering is supported for 'excludes'. It's only documented in the excludesFile row:

Since 3.0.0-M6, method filtering support is provided in the exclusions file as well, example:

If it turns out it works with 'excludes' as well (which seems reasonable) in a future improvement we can perhaps switch to that and remove a couple files.

Copy link
Member

Choose a reason for hiding this comment

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

A file seems fine as it can be updated in a more clear manor IMO.

# Challenge https://github.com/jakartaee/faces/issues/1935
**/ee/jakarta/tck/faces/test/javaee8/converter/Issue4070IT#testJavaTimeTypes
**/ee/jakarta/tck/faces/test/javaee8/converter/Issue4087IT#testJavaTimeTypes
**/ee/jakarta/tck/faces/test/javaee8/converter/Issue4110IT#testJavaTimeTypes
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 file is cruft; I'll delete it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@@ -13,6 +13,8 @@
//*[local-name()='profiles']">
<xsl:copy>
<xsl:apply-templates select="document('profile.xml')/*"/>
<xsl:apply-templates select="document('global-excludes-profile.xml')/*"/>
<xsl:apply-templates select="document('se21-excludes-profile.xml')/*"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: I tried to include 3 'profile' elements in profile.xml and it didn't work. When my time budget for renewing my xslt skills was used up I went with 3 separate files.

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludesFile>${se21.newtck.exclusions}</excludesFile>
Copy link
Member

Choose a reason for hiding this comment

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

A file seems fine as it can be updated in a more clear manor IMO.

@bstansberry
Copy link
Contributor Author

I just updated this to remove the cruft file.

Copy link
Contributor

@jasondlee jasondlee left a comment

Choose a reason for hiding this comment

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

Same comment re: formatting. Looks good otherwise.

@scottmarlow
Copy link
Contributor

Thanks @bstansberry for making this change!

@bstansberry bstansberry merged commit 069a1cc into wildfly:main Jul 22, 2024
@bstansberry bstansberry deleted the Issue_166 branch July 22, 2024 21:34
@bstansberry
Copy link
Contributor Author

Thanks @jamezp @jasondlee and @scottmarlow

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.

Exclude Faces #1935 tests on SE 21
4 participants