You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2022/05/17 15:11:41 UTC
svn commit: r1900988 - /xmlbeans/trunk/src/test/java/xmlcursor/xpath/complex/detailed/TypesTest.java
Author: fanningpj
Date: Tue May 17 15:11:41 2022
New Revision: 1900988
URL: http://svn.apache.org/viewvc?rev=1900988&view=rev
Log:
remove temp test
Modified:
xmlbeans/trunk/src/test/java/xmlcursor/xpath/complex/detailed/TypesTest.java
Modified: xmlbeans/trunk/src/test/java/xmlcursor/xpath/complex/detailed/TypesTest.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/test/java/xmlcursor/xpath/complex/detailed/TypesTest.java?rev=1900988&r1=1900987&r2=1900988&view=diff
==============================================================================
--- xmlbeans/trunk/src/test/java/xmlcursor/xpath/complex/detailed/TypesTest.java (original)
+++ xmlbeans/trunk/src/test/java/xmlcursor/xpath/complex/detailed/TypesTest.java Tue May 17 15:11:41 2022
@@ -18,9 +18,7 @@ import org.apache.xmlbeans.*;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import java.time.OffsetDateTime;
import java.util.Calendar;
-import java.util.Date;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -117,16 +115,6 @@ public class TypesTest {
}
@Test
- void testGDateTime() {
- XmlDateTime xmlDateTime = XmlDateTime.Factory.newInstance();
- xmlDateTime.setDateValue(new Date());
- GDate gdate = xmlDateTime.getGDateValue();
- Date date = gdate.getDate();
- System.out.println(gdate);
- System.out.println(date);
- }
-
- @Test
void testDecimal() {
XmlObject[] res = o.selectPath("seconds-from-dateTime(xs:dateTime('1997-07-16T19:20:30+01:00'))");
assertEquals(1, res.length);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org