[HtmlUnit] SVN: [15453] trunk/htmlunit/src

rbri--- via HtmlUnit-develop <[email protected]>
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID <[email protected]>
Revision: 15453
          http://sourceforge.net/p/htmlunit/code/15453
Author:   rbri
Date:     2018-07-11 17:57:29 +0000 (Wed, 11 Jul 2018)
Log Message:
-----------
ie expectations update (wip)

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormat.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormatTest.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormat.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormat.java	2018-07-11 17:24:35 UTC (rev 15452)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormat.java	2018-07-11 17:57:29 UTC (rev 15453)
@@ -193,7 +193,6 @@
         IE_FORMATS_.put("ar-SD", rightToLeft);
         IE_FORMATS_.put("ar-SY", rightToLeft);
         IE_FORMATS_.put("ar-YE", rightToLeft);
-        IE_FORMATS_.put("ban", mmSlash);
         IE_FORMATS_.put("cs", ddDot);
         IE_FORMATS_.put("da", ddDash);
         IE_FORMATS_.put("en-IN", ddDash);
@@ -221,10 +220,6 @@
         IE_FORMATS_.put("sl", ddDot);
         IE_FORMATS_.put("sq", yyyyDash);
         IE_FORMATS_.put("sr", ddDot);
-        IE_FORMATS_.put("sr-BA", mmSlash);
-        IE_FORMATS_.put("sr-CS", mmSlash);
-        IE_FORMATS_.put("sr-ME", mmSlash);
-        IE_FORMATS_.put("sr-RS", mmSlash);
         IE_FORMATS_.put("zh", "\u200EYYYY\u200E\u5E74\u200EMM\u200E\u6708\u200Edd\u200E\u65E5");
         IE_FORMATS_.put("zh-HK", "\u200EYYYY\u200E\u5E74\u200EMM\u200E\u6708\u200Edd\u200E\u65E5");
     }

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormatTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormatTest.java	2018-07-11 17:24:35 UTC (rev 15452)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormatTest.java	2018-07-11 17:57:29 UTC (rev 15453)
@@ -31,7 +31,7 @@
 /**
  * Tests for {@link DateTimeFormat}.
  *
- * @author Roanld Brill
+ * @author Ronald Brill
  * @author Ahmed Ashour
  */
 @RunWith(BrowserRunner.class)
@@ -121,7 +121,7 @@
     @Test
     @Alerts(DEFAULT = "20.12.2012",
             FF60 = "12/20/2012",
-            IE = "\u200E12\u200E/\u200E20\u200E/\u200E2012")
+            IE = "\u200E20\u200E.\u200E12\u200E.\u200E2012")
     public void format_ban() throws Exception {
         test("new Intl.DateTimeFormat('ban').format(date)");
     }
@@ -1632,7 +1632,7 @@
      */
     @Test
     @Alerts(DEFAULT = "20.12.2012.",
-            IE = "\u200E12\u200E/\u200E20\u200E/\u200E2012")
+            IE = "\u200E20\u200E.\u200E12\u200E.\u200E2012")
     public void format_sr_ba() throws Exception {
         test("new Intl.DateTimeFormat('sr-BA').format(date)");
     }
@@ -1642,7 +1642,7 @@
      */
     @Test
     @Alerts(DEFAULT = "20.12.2012.",
-            IE = "\u200E12\u200E/\u200E20\u200E/\u200E2012")
+            IE = "\u200E20\u200E.\u200E12\u200E.\u200E2012")
     public void format_sr_cs() throws Exception {
         test("new Intl.DateTimeFormat('sr-CS').format(date)");
     }
@@ -1652,7 +1652,7 @@
      */
     @Test
     @Alerts(DEFAULT = "20.12.2012.",
-            IE = "\u200E12\u200E/\u200E20\u200E/\u200E2012")
+            IE = "\u200E20\u200E.\u200E12\u200E.\u200E2012")
     public void format_sr_me() throws Exception {
         test("new Intl.DateTimeFormat('sr-ME').format(date)");
     }
@@ -1662,7 +1662,7 @@
      */
     @Test
     @Alerts(DEFAULT = "20.12.2012.",
-            IE = "\u200E12\u200E/\u200E20\u200E/\u200E2012")
+            IE = "\u200E20\u200E.\u200E12\u200E.\u200E2012")
     public void format_sr_rs() throws Exception {
         test("new Intl.DateTimeFormat('sr-RS').format(date)");
     }


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.