-
Notifications
You must be signed in to change notification settings - Fork 7
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
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<profile xmlns="http://maven.apache.org/POM/4.0.0"> | ||
<!-- Exclude accepted TCK challenges that are relevant in all contexts. --> | ||
<id>global-tck-challenges</id> | ||
<activation> | ||
<property><name>newtck.exclusions</name></property> | ||
</activation> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-failsafe-plugin</artifactId> | ||
<configuration> | ||
<excludesFile>${newtck.exclusions}</excludesFile> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Add entries for accepted challenges that are applicable in all contexts. | ||
# Add a comment linking to the challenge, followed by ant globs pointing to the test class. | ||
# To exclude a single method, append '#theMethodName' to the glob. | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<profile xmlns="http://maven.apache.org/POM/4.0.0"> | ||
<!-- Exclude accepted TCK challenges that are only relevant to SE 21 or later. --> | ||
<id>se21-tck-challenges</id> | ||
<activation> | ||
<jdk>[21,)</jdk> | ||
<property><name>se21.newtck.exclusions</name></property> | ||
</activation> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-failsafe-plugin</artifactId> | ||
<configuration> | ||
<excludesFile>${se21.newtck.exclusions}</excludesFile> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Add entries for accepted challenges that are specific to SE 21 or later. | ||
# Add a comment linking to the challenge, followed by ant globs pointing to the test class. | ||
# To exclude a single method, append '#theMethodName' to the glob. | ||
# | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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')/*"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
<xsl:apply-templates select="node()|@*"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.