diff --git a/test/intl402/Collator/10.1.2.1_4.js b/test/intl402/Collator/10.1.2.1_4.js deleted file mode 100644 index dc30d0a03e889ce7882fc2f2e6f7c732de876c25..0000000000000000000000000000000000000000 --- a/test/intl402/Collator/10.1.2.1_4.js +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2012 Mozilla Corporation. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -es5id: 10.1.2.1_4 -description: > - Tests that non-object values passed as this to Collator are ignored - and a normal collator object will be initialized and returned. -author: Norbert Lindenberg ----*/ - -var thisValues = [true, 42, "国際化"]; - -thisValues.forEach(function (value) { - var collator = Intl.Collator.call(value); - // check that the returned object functions as a collator - var referenceCollator = new Intl.Collator(); - if (Intl.Collator.prototype.compare.call(collator, "a", "b") !== referenceCollator.compare("a", "b")) { - $ERROR("Collator initialized from " + value + " doesn't behave like normal collator."); - } - return true; -}); diff --git a/test/intl402/DateTimeFormat/12.1.2.1_4.js b/test/intl402/DateTimeFormat/12.1.2.1_4.js deleted file mode 100644 index 8ba9f335205241da526d0b683a0b02d285db85e0..0000000000000000000000000000000000000000 --- a/test/intl402/DateTimeFormat/12.1.2.1_4.js +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2012 Mozilla Corporation. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -es5id: 12.1.2.1_4 -description: > - Tests that non-object values passed as this to DateTimeFormat are ignored - and a normal date-time format object will be initialized and returned. -author: Norbert Lindenberg ----*/ - -var thisValues = [true, 42, "国際化"]; - -thisValues.forEach(function (value) { - var format = Intl.DateTimeFormat.call(value); - // check that the returned object functions as a date-time format - var referenceFormat = new Intl.DateTimeFormat(); - if (Intl.DateTimeFormat.prototype.format.call(format, new Date(111111111)) !== referenceFormat.format(new Date(111111111))) { - $ERROR("DateTimeFormat initialized from " + value + " doesn't behave like normal date-time format."); - } - return true; -}); diff --git a/test/intl402/NumberFormat/11.1.2.1_4.js b/test/intl402/NumberFormat/11.1.2.1_4.js deleted file mode 100644 index 3cff14d8054f784b34433484b463147982f253f4..0000000000000000000000000000000000000000 --- a/test/intl402/NumberFormat/11.1.2.1_4.js +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2012 Mozilla Corporation. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -es5id: 11.1.2.1_4 -description: > - Tests that non-object values passed as this to NumberFormat are ignored - and a normal number format object will be initialized and returned. -author: Norbert Lindenberg ----*/ - -var thisValues = [true, 42, "国際化"]; - -thisValues.forEach(function (value) { - var format = Intl.NumberFormat.call(value); - // check that the returned object functions as a number format - var referenceFormat = new Intl.NumberFormat(); - if (Intl.NumberFormat.prototype.format.call(format, 12.3456) !== referenceFormat.format(12.3456)) { - $ERROR("NumberFormat initialized from " + value + " doesn't behave like normal number format."); - } - return true; -});