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

For Faces 4.0 TCK Challenge issue [#1935] to use Date formats that are compatible with Java 21 #1939

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tck/faces22/ajax/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>ajax</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/cdiBeanValidator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>cdiBeanValidator</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/cdiInitDestroyEvent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>cdiInitDestroyEvent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/cdiMethodValidation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>cdiMethodValidation</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/cdiMultiTenantSetsTccl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>cdiMultiTenantSetsTccl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/cdiNoBeansXml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>cdiNoBeansXml</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/childCountTest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>childCountTest</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/compositeComponent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>compositeComponent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/expressionLanguageLambda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>expressionLanguageLambda</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/faceletsTemplate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>faceletsTemplate</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/multiFieldValidation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>multiFieldValidation</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.faces.tck</groupId>
<artifactId>jakarta-faces-tck</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/protectedView/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>protectedView</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/viewActionCdiViewScoped/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>viewActionCdiViewScoped</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/viewExpired/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>viewExpired</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/viewParamNullValueAjax/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>viewParamNullValueAjax</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces22/viewScope/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces22</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>viewScope</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/ajax/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>ajax</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>cdi</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/commandScript/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>commandScript</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/converter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>converter</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ public void testJavaTimeTypes() throws Exception {
System.out.println("Expected format " + expectedFormat);


doTestJavaTimeTypes("Sep 30, 2015, 4:14:43 PM", "localDateTime", "2015-09-30T16:14:43");
doTestJavaTimeTypes("May 30, 2015, 4:14:43 PM", "localDateTime", "2015-05-30T16:14:43");

doTestJavaTimeTypes("Sep 30, 2015", "localDate", "2015-09-30");
doTestJavaTimeTypes("May 30, 2015", "localDate", "2015-05-30");

doTestJavaTimeTypes("4:52:56 PM", "localTime", "16:52:56");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ public void testJavaTimeTypes() throws Exception {
try {

HtmlTextInput input1 = (HtmlTextInput)page.getHtmlElementById("localDateTime1");
input1.setValueAttribute("Sep 30, 2015, 4:14:43 PM");
input1.setValueAttribute("May 30, 2015, 4:14:43 PM");

HtmlTextInput input2 = (HtmlTextInput)page.getHtmlElementById("localDateTime2");
input2.setValueAttribute("Sep 30, 2015, 4:14:43 PM");
input2.setValueAttribute("May 30, 2015, 4:14:43 PM");

HtmlTextInput input3 = (HtmlTextInput)page.getHtmlElementById("localTime1");
input3.setValueAttribute("4:14:43 PM");
Expand All @@ -98,10 +98,10 @@ public void testJavaTimeTypes() throws Exception {
page1 = submit.click();

HtmlSpan time1Output = (HtmlSpan)page1.getHtmlElementById("localDateTimeValue1");
assertTrue(time1Output.getTextContent().contains("Sep 30, 2015, 4:14 PM"));
assertTrue(time1Output.getTextContent().contains("May 30, 2015, 4:14 PM"));

HtmlSpan time2Output = (HtmlSpan)page1.getHtmlElementById("localDateTimeValue2");
assertTrue(time2Output.getTextContent().contains("Sep 30, 2015, 4:14 PM"));
assertTrue(time2Output.getTextContent().contains("May 30, 2015, 4:14 PM"));

HtmlSpan time3Output = (HtmlSpan)page1.getHtmlElementById("localTimeValue1");
assertTrue(time3Output.getTextContent().contains("4:14:43 PM"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ public void tearDown() {
*/
@Test
public void testJavaTimeTypes() throws Exception {
doTestJavaTimeTypes("30 sep. 2015", "localDate", "2015-09-30");
doTestJavaTimeTypes("30 may 2015", "localDate", "2015-05-30");
doTestJavaTimeTypes("16:52:56", "localTime", "16:52:56");
doTestJavaTimeTypes("30 sep. 2015 16:14:43", "localDateTime", "2015-09-30T16:14:43");
doTestJavaTimeTypes("30 may 2015 16:14:43", "localDateTime", "2015-05-30T16:14:43");
}

private void doTestJavaTimeTypes(String value, String type, String expected) throws Exception {
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/disableFaceletToXhtmlMapping/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>disableFaceletToXhtmlMapping</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/el/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>el</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/exactMapping/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>exactMapping</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/faceletCacheFactory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>faceletCacheFactory</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/facelets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>facelets</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/facesConverter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>facesConverter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/facesDataModel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>facesDataModel</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/flash/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>flash</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/getViews/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>getViews</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/importConstants/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>importConstants</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/namespacedView/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>namespacedView</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/passthrough/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>passthrough</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.faces.tck</groupId>
<artifactId>jakarta-faces-tck</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/refreshPeriodExplicit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>refreshPeriodExplicit</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/refreshPeriodProduction/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>refreshPeriodProduction</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/searchExpression/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>searchExpression</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tck/faces23/systemEvent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.eclipse.ee4j.tck.faces.faces23</groupId>
<artifactId>pom</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.4-SNAPSHOT</version>
</parent>

<artifactId>systemEvent</artifactId>
Expand Down
Loading