1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 info: String.prototype.toLocaleUpperCase()
8 Call toLocaleUpperCase() function without arguments of string and
12 var __lowerCase = "".toLocaleUpperCase();
15 //////////////////////////////////////////////////////////////////////////////
17 if (__lowerCase.length !== __expected.length) {
18 throw new Test262Error('#1: __lowerCase = "".toLocaleUpperCase(); __expected = ""; __lowerCase.length === __expected.length. Actual: ' + __lowerCase.length);
21 //////////////////////////////////////////////////////////////////////////////
23 //////////////////////////////////////////////////////////////////////////////
25 if (__lowerCase.index !== __expected.index) {
26 throw new Test262Error('#2: __lowerCase = "".toLocaleUpperCase(); __expected = ""; __lowerCase.index === __expected.index. Actual: ' + __lowerCase.index);
29 //////////////////////////////////////////////////////////////////////////////
31 //////////////////////////////////////////////////////////////////////////////
33 if (__lowerCase.input !== __expected.input) {
34 throw new Test262Error('#3: __lowerCase = "".toLocaleUpperCase(); __expected = ""; __lowerCase.input === __expected.input. Actual: ' + __lowerCase.input);
37 //////////////////////////////////////////////////////////////////////////////
39 //////////////////////////////////////////////////////////////////////////////
41 if (__lowerCase[0] !== __expected[0]) {
42 throw new Test262Error('#4: __lowerCase = "".toLocaleUpperCase(); __lowerCase[0]===' + __expected[0] + '. Actual: ' + __lowerCase[0]);
45 //////////////////////////////////////////////////////////////////////////////