mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 21:45:04 +02:00
Remove unused includes in Intl test files
This commit is contained in:
parent
a380c6b000
commit
b6e9f9425f
@ -7,7 +7,7 @@ description: >
|
|||||||
Tests that Intl.Collator does not accept Unicode locale extension
|
Tests that Intl.Collator does not accept Unicode locale extension
|
||||||
keys and values that are not allowed.
|
keys and values that are not allowed.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var testArray = [
|
var testArray = [
|
||||||
|
@ -7,7 +7,6 @@ description: >
|
|||||||
Tests that the options numeric and caseFirst can be set through
|
Tests that the options numeric and caseFirst can be set through
|
||||||
either the locale or the options.
|
either the locale or the options.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var options = [
|
var options = [
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
es5id: 10.3.2_1_c
|
es5id: 10.3.2_1_c
|
||||||
description: Tests that compare function is bound to its Intl.Collator.
|
description: Tests that compare function is bound to its Intl.Collator.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var strings = ["d", "O", "od", "oe", "of", "ö", "o\u0308", "X", "y", "Z", "Z.", "𠮷野家", "吉野家", "!A", "A", "b", "C"];
|
var strings = ["d", "O", "od", "oe", "of", "ö", "o\u0308", "X", "y", "Z", "Z.", "𠮷野家", "吉野家", "!A", "A", "b", "C"];
|
||||||
|
@ -7,7 +7,7 @@ description: >
|
|||||||
Tests that the compare function isn't entirely unreasonable. This
|
Tests that the compare function isn't entirely unreasonable. This
|
||||||
test is not normative.
|
test is not normative.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// this test should be valid at least for the following locales
|
// this test should be valid at least for the following locales
|
||||||
|
@ -8,7 +8,7 @@ description: >
|
|||||||
Tests that the compare function supports phonebook sorting if it
|
Tests that the compare function supports phonebook sorting if it
|
||||||
says it does. This test is not normative.
|
says it does. This test is not normative.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// this test should be valid at least for the following locales
|
// this test should be valid at least for the following locales
|
||||||
|
@ -8,7 +8,7 @@ description: >
|
|||||||
Tests that the compare function supports different sensitivity
|
Tests that the compare function supports different sensitivity
|
||||||
settings. This test is not normative.
|
settings. This test is not normative.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// this test should be valid at least for the following locales
|
// this test should be valid at least for the following locales
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
es5id: 10.1.2_a
|
es5id: 10.1.2_a
|
||||||
description: Tests that Intl.Collator can be subclassed.
|
description: Tests that Intl.Collator can be subclassed.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// get a collator and have it sort an array for comparison with the subclass
|
// get a collator and have it sort an array for comparison with the subclass
|
||||||
|
@ -7,7 +7,7 @@ description: >
|
|||||||
Tests that Date.prototype.toLocaleString & Co. produces the same
|
Tests that Date.prototype.toLocaleString & Co. produces the same
|
||||||
results as Intl.DateTimeFormat.
|
results as Intl.DateTimeFormat.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var functions = {
|
var functions = {
|
||||||
|
@ -7,7 +7,6 @@ description: >
|
|||||||
Tests that Intl.DateTimeFormat does not accept Unicode locale
|
Tests that Intl.DateTimeFormat does not accept Unicode locale
|
||||||
extension keys and values that are not allowed.
|
extension keys and values that are not allowed.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var locales = ["ja-JP", "zh-Hans-CN", "zh-Hant-TW"];
|
var locales = ["ja-JP", "zh-Hans-CN", "zh-Hant-TW"];
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
es5id: 12.3.2_1_c
|
es5id: 12.3.2_1_c
|
||||||
description: Tests that format function is bound to its Intl.DateTimeFormat.
|
description: Tests that format function is bound to its Intl.DateTimeFormat.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var dates = [new Date(), new Date(0), new Date(Date.parse("1989-11-09T17:57:00Z"))];
|
var dates = [new Date(), new Date(0), new Date(Date.parse("1989-11-09T17:57:00Z"))];
|
||||||
|
@ -9,7 +9,7 @@ description: >
|
|||||||
info: >
|
info: >
|
||||||
12.4.5 Intl.DateTimeFormat.prototype.resolvedOptions()
|
12.4.5 Intl.DateTimeFormat.prototype.resolvedOptions()
|
||||||
|
|
||||||
includes: [testIntl.js, propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
/* Values passed via unicode extension key work */
|
/* Values passed via unicode extension key work */
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
es5id: 12.1.2
|
es5id: 12.1.2
|
||||||
description: Tests that Intl.DateTimeFormat can be subclassed.
|
description: Tests that Intl.DateTimeFormat can be subclassed.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// get a date-time format and have it format an array of dates for comparison with the subclass
|
// get a date-time format and have it format an array of dates for comparison with the subclass
|
||||||
|
@ -7,7 +7,7 @@ description: >
|
|||||||
Tests that Number.prototype.toLocaleString produces the same
|
Tests that Number.prototype.toLocaleString produces the same
|
||||||
results as Intl.NumberFormat.
|
results as Intl.NumberFormat.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var numbers = [0, -0, 1, -1, 5.5, 123, -123, -123.45, 123.44501, 0.001234,
|
var numbers = [0, -0, 1, -1, 5.5, 123, -123, -123.45, 123.44501, 0.001234,
|
||||||
|
@ -7,7 +7,6 @@ description: >
|
|||||||
Tests that Intl.NumberFormat does not accept Unicode locale
|
Tests that Intl.NumberFormat does not accept Unicode locale
|
||||||
extension keys and values that are not allowed.
|
extension keys and values that are not allowed.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var locales = ["ja-JP", "zh-Hans-CN", "zh-Hant-TW"];
|
var locales = ["ja-JP", "zh-Hans-CN", "zh-Hant-TW"];
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
es5id: 11.3.2_1_c
|
es5id: 11.3.2_1_c
|
||||||
description: Tests that format function is bound to its Intl.NumberFormat.
|
description: Tests that format function is bound to its Intl.NumberFormat.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var numbers = [0, -0, 1, -1, 5.5, 123, -123, -123.45, 123.44501, 0.001234,
|
var numbers = [0, -0, 1, -1, 5.5, 123, -123, -123.45, 123.44501, 0.001234,
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
es5id: 11.1.2
|
es5id: 11.1.2
|
||||||
description: Tests that Intl.NumberFormat can be subclassed.
|
description: Tests that Intl.NumberFormat can be subclassed.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// get a number format and have it format an array of numbers for comparison with the subclass
|
// get a number format and have it format an array of numbers for comparison with the subclass
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
esid: sec-intl-pluralrules-constructor
|
esid: sec-intl-pluralrules-constructor
|
||||||
description: Tests that Intl.PluralRules can be subclassed.
|
description: Tests that Intl.PluralRules can be subclassed.
|
||||||
author: Zibi Braniecki
|
author: Zibi Braniecki
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// get a plural-rules and have it format an array of dates for comparison with the subclass
|
// get a plural-rules and have it format an array of dates for comparison with the subclass
|
||||||
|
@ -7,7 +7,7 @@ description: >
|
|||||||
Tests that localeCompare produces the same results as
|
Tests that localeCompare produces the same results as
|
||||||
Intl.Collator.
|
Intl.Collator.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [testIntl.js, compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var strings = ["d", "O", "od", "oe", "of", "ö", "o\u0308", "X", "y", "Z", "Z.", "𠮷野家", "吉野家", "!A", "A", "b", "C"];
|
var strings = ["d", "O", "od", "oe", "of", "ö", "o\u0308", "X", "y", "Z", "Z.", "𠮷野家", "吉野家", "!A", "A", "b", "C"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user