Searched refs:toString (Results 1 - 25 of 1098) sorted by relevance

1234567891011>>

/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Date/
H A D15.9.4.2-1.js45 AddTestCase( "new Date('1/1/1999 12:30 AM').toString()",
46 new Date(1999,0,1,0,30).toString(),
47 new Date('1/1/1999 12:30 AM').toString() );
49 AddTestCase( "new Date('1/1/1999 12:30 PM').toString()",
50 new Date( 1999,0,1,12,30 ).toString(),
51 new Date('1/1/1999 12:30 PM').toString() );
55 new Date('1/1/1999 13:30 AM').toString() );
60 new Date('1/1/1999 13:30 PM').toString() );
H A D15.9.2.1.js28 expression (new Date()).toString().
57 array[item++] = new TestCase( SECTION, "Date(1970,0,1,0,0,0,0)", (new Date()).toString(), Date(1970,0,1,0,0,0,0) );
58 array[item++] = new TestCase( SECTION, "Date(1969,11,31,15,59,59,999)", (new Date()).toString(), Date(1969,11,31,15,59,59,999))
59 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,0,0)", (new Date()).toString(), Date(1969,11,31,16,0,0,0))
60 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,0,1)", (new Date()).toString(), Date(1969,11,31,16,0,0,1))
63 array[item++] = new TestCase( SECTION, "Date(1999,11,15,59,59,999)", (new Date()).toString(), Date(1999,11,15,59,59,999));
64 array[item++] = new TestCase( SECTION, "Date(1999,11,16,0,0,0,0)", (new Date()).toString(), Date(1999,11,16,0,0,0,0));
65 array[item++] = new TestCase( SECTION, "Date(1999,11,31,23,59,59,999)", (new Date()).toString(), Date(1999,11,31,23,59,59,999) );
66 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,0,0)", (new Date()).toString(), Date(2000,0,0,0,0,0,0) );
67 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,0,1)", (new Date()).toString(), Dat
[all...]
H A D15.9.5.2-1.js24 ECMA Section: 15.9.5.2 Date.prototype.toString
30 The toString function is not generic; it generates a runtime error if its
41 var TITLE = "Date.prototype.toString";
48 "Date.prototype.toString.length",
50 Date.prototype.toString.length );
58 "Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000",
60 Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000 );
63 "typeof now.toString()",
65 typeof now.toString() );
71 "Date.parse( (new Date(0)).toString() )",
[all...]
H A D15.9.5.2.js24 ECMA Section: 15.9.5.2 Date.prototype.toString
30 The toString function is not generic; it generates a runtime error if its
41 var TITLE = "Date.prototype.toString";
48 "Date.prototype.toString.length",
50 Date.prototype.toString.length );
58 "Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000",
60 Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000 );
63 "typeof now.toString()",
65 typeof now.toString() );
71 "Date.parse( (new Date(0)).toString() )",
[all...]
H A D15.9.2.2-2.js28 expression (new Date()).toString().
53 array[item++] = new TestCase( SECTION, "Date(1999,11,15,59,59)", (new Date()).toString(), Date(1999,11,15,59,59));
54 array[item++] = new TestCase( SECTION, "Date(1999,11,16,0,0,0)", (new Date()).toString(), Date(1999,11,16,0,0,0));
55 array[item++] = new TestCase( SECTION, "Date(1999,11,31,23,59,59)", (new Date()).toString(), Date(1999,11,31,23,59,59) );
56 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,0)", (new Date()).toString(), Date(2000,0,0,0,0,0) );
57 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,1)", (new Date()).toString(), Date(2000,0,0,0,0,1) );
62 array[item++] = new TestCase( SECTION, "Date(1899,11,31,23,59,59)", (new Date()).toString(), Date(1899,11,31,23,59,59));
63 array[item++] = new TestCase( SECTION, "Date(1900,0,1,0,0,0)", (new Date()).toString(), Date(1900,0,1,0,0,0) );
64 array[item++] = new TestCase( SECTION, "Date(1900,0,1,0,0,1)", (new Date()).toString(), Date(1900,0,1,0,0,1) );
65 array[item++] = new TestCase( SECTION, "Date(1899,11,31,16,0,0,0)", (new Date()).toString(), Dat
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_3/NumberFormatting/
H A Dtostring-001.js36 reportCompare ("1e+23", n0.toString(), "1e23 toString()");
37 reportCompare ("5e+22", n1.toString(), "5e22 toString()");
38 reportCompare ("1.6e+24", n2.toString(), "1.6e24 toString()");
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_2/Exceptions/
H A Dboolean-001.js5 The toString function is not generic; it generates
15 var TITLE = "Boolean.prototype.toString()";
25 var TO_STRING = Boolean.prototype.toString;
29 s.toString = TO_STRING;
30 s.toString();
33 exception = e.toString();
38 "Assigning Boolean.prototype.toString to a String object "+
H A Dexception-003.js31 string.toString = Boolean.prototype.toString;
32 string.toString();
35 exception = e.toString();
40 "string.toString = Boolean.prototype.toString" +
41 "string.toString() [ exception is " + exception +" ]",
H A Ddate-001.js4 ECMA Section: 15.9.5.2 Date.prototype.toString
10 The toString function is not generic; it generates a runtime error if its
15 This verifies that calling toString on an object that is not a string
23 var TITLE = "Date.prototype.toString";
37 result = OBJ.toString();
40 exception = e.toString();
45 "OBJECT = new MyObject( new Date(0)) ; result = OBJ.toString()" +
55 this.toString = Date.prototype.toString;
H A Dnumber-001.js4 ECMA Section: 15.7.4.2.2 Number.prototype.toString()
13 The toString function is not generic; it generates a runtime error if its
22 var TITLE = "Exceptions for Number.toString()";
25 writeHeaderToLog( SECTION + " Number.prototype.toString()");
38 object.toString = Number.prototype.toString;
39 result = object.toString();
42 exception = e.toString();
47 "object = new Object(); object.toString = Number.prototype.toString; objec
[all...]
H A Dstring-001.js4 ECMA Section: 15.5.4.2 String.prototype.toString()
7 object, the toString() method happens to return the same
10 The toString function is not generic; it generates a
20 var TITLE = "String.prototype.toString";
34 OBJECT.toString = String.prototype.toString();
35 result = OBJECT.toString();
38 exception = e.toString();
44 " OBJECT.toString = String.prototype.toString; OBJEC
[all...]
H A Dnumber-002.js31 object.toString = Number.prototype.valueOf;
32 result = object.toString();
35 exception = e.toString();
H A Dexception-006.js32 this.toString = void 0;
44 exception = e.toString();
H A Dexception-007.js33 this.toString = void 0;
45 exception = e.toString();
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_2/LexicalConventions/
H A Dregexp-literals-002.js20 (/x*/ instanceof RegExp).toString() );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_3/Array/
H A D15.4.4.4-001.js57 actual = [].concat(x).toString();
58 expect = x.toString();
63 actual = [].concat(x).toString();
64 expect = x.toString();
69 actual = [].concat(x).toString();
70 expect = x.toString();
75 actual = [].concat(x).toString();
76 expect = x.toString();
81 actual = [].concat(x).toString();
82 expect = x.toString();
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Boolean/
H A D15.6.4.2-1.js24 ECMA Section: 15.6.4.2-1 Boolean.prototype.toString()
29 The toString function is not generic; it generates
41 var TITLE = "Boolean.prototype.toString()"
51 array[item++] = new TestCase( SECTION, "new Boolean(1)", "true", (new Boolean(1)).toString() );
52 array[item++] = new TestCase( SECTION, "new Boolean(0)", "false", (new Boolean(0)).toString() );
53 array[item++] = new TestCase( SECTION, "new Boolean(-1)", "true", (new Boolean(-1)).toString() );
54 array[item++] = new TestCase( SECTION, "new Boolean('1')", "true", (new Boolean("1")).toString() );
55 array[item++] = new TestCase( SECTION, "new Boolean('0')", "true", (new Boolean("0")).toString() );
56 array[item++] = new TestCase( SECTION, "new Boolean(true)", "true", (new Boolean(true)).toString() );
57 array[item++] = new TestCase( SECTION, "new Boolean(false)", "false", (new Boolean(false)).toString() );
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/db/
H A DReplicationHostAddress.java57 public String toString() { method in class:ReplicationHostAddress
64 return this.toString().equals(((ReplicationHostAddress)o).toString());
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/js1_4/Regress/
H A DtoString-001-n.js23 * File Name: toString-001-n.js
26 * Function.prototype.toString is not generic.
31 var SECTION = "toString-001.js";
44 o.toString = Function.prototype.toString;
49 "var o = {}; o.toString = Function.prototype.toString; o.toString();",
51 o.toString() );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_3/Function/
H A Dregress-193555.js57 function f() {return f.toString();};
59 expect = f.toString();
64 var x = function g() {return g.toString();};
66 expect = x.toString();
71 eval ('function a() {return a.toString();}');
73 expect = a.toString();
77 eval ('var y = function b() {return b.toString();}');
79 expect = y.toString();
84 function c() {return eval('c').toString();};
86 expect = c.toString();
[all...]
H A Dregress-104584.js27 * on the second call to obj.toString() or print(obj) below -
43 obj.toString();
45 obj.toString();
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/js1_2/String/
H A Dconcat.js45 testcases[count++] = new TestCase( SECTION, "aString.concat(' more')", "test string more", aString.concat(' more').toString());
46 testcases[count++] = new TestCase( SECTION, "aString.concat(bString)", "test string another ", aString.concat(bString).toString());
47 testcases[count++] = new TestCase( SECTION, "aString ", "test string", aString.toString());
48 testcases[count++] = new TestCase( SECTION, "bString ", " another ", bString.toString());
49 testcases[count++] = new TestCase( SECTION, "aString.concat(345) ", "test string345", aString.concat(345).toString());
50 testcases[count++] = new TestCase( SECTION, "aString.concat(true) ", "test stringtrue", aString.concat(true).toString());
51 testcases[count++] = new TestCase( SECTION, "aString.concat(null) ", "test stringnull", aString.concat(null).toString());
59 //testcases[count++] = new TestCase( SECTION, "aString.concat([]) ", "test string[]", aString.concat([]).toString());
60 //testcases[count++] = new TestCase( SECTION, "aString.concat([1,2,3])", "test string[1, 2, 3]", aString.concat([1,2,3]).toString());
62 testcases[count++] = new TestCase( SECTION, "'abcde'.concat(' more')", "abcde more", 'abcde'.concat(' more').toString());
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/String/
H A D15.5.4.2-1.js24 ECMA Section: 15.5.4.2 String.prototype.toString()
27 object, the toString() method happens to return the same
30 The toString function is not generic; it generates a
42 var TITLE = "String.prototype.toString";
52 array[item++] = new TestCase( SECTION, "String.prototype.toString()", "", String.prototype.toString() );
53 array[item++] = new TestCase( SECTION, "(new String()).toString()", "", (new String()).toString() );
54 array[item++] = new TestCase( SECTION, "(new String(\"\")).toString()", "", (new String("")).toString() );
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/persist/evolve/
H A DDeleter.java92 public String toString() { method in class:Deleter
93 return "[Deleter " + super.toString() + ']';
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Array/
H A D15.4.4.2.js24 ECMA Section: 15.4.4.2 Array.prototype.toString()
37 var TITLE = "Array.prototype.toString";
48 array[item++] = new TestCase( SECTION, "Array.prototype.toString.length", 0, Array.prototype.toString.length );
50 array[item++] = new TestCase( SECTION, "(new Array()).toString()", "", (new Array()).toString() );
51 array[item++] = new TestCase( SECTION, "(new Array(2)).toString()", ",", (new Array(2)).toString() );
52 array[item++] = new TestCase( SECTION, "(new Array(0,1)).toString()", "0,1", (new Array(0,1)).toString() );
[all...]

Completed in 235 milliseconds

1234567891011>>