aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/intl402/ch12/12.1/12.1.1_23.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/intl402/ch12/12.1/12.1.1_23.js')
-rw-r--r--test/suite/intl402/ch12/12.1/12.1.1_23.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/suite/intl402/ch12/12.1/12.1.1_23.js b/test/suite/intl402/ch12/12.1/12.1.1_23.js
new file mode 100644
index 000000000..d26e1d28c
--- /dev/null
+++ b/test/suite/intl402/ch12/12.1/12.1.1_23.js
@@ -0,0 +1,14 @@
+// Copyright 2012 Mozilla Corporation. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @description Tests that the options for the date and time components are processed correctly.
+ * @author Norbert Lindenberg
+ */
+
+$INCLUDE("testIntl.js");
+
+getDateTimeComponents().forEach(function (component) {
+ testOption(Intl.DateTimeFormat, component, "string", getDateTimeComponentValues(component), undefined, {isILD: true});
+});
+