Searched refs:check (Results 1 - 25 of 986) sorted by relevance

1234567891011>>

/openjdk10/nashorn/test/script/basic/es6/
H A Ddestructuring.js33 function check(code) { function
41 check("var { x: y } = obj;");
42 check("let { x: y } = obj;");
43 check("const { x: y } = obj;");
44 check("({ x: y }) = obj;");
45 check("for (var { x: y } of obj) ;");
46 check("for (let { x: y } of obj) ;");
47 check("var { x, y } = obj;");
48 check("let { x, y } = obj;");
49 check("cons
[all...]
H A Drestparam.js33 function check(code) { function
41 check("function func(...args) {}");
42 check("function func(x, y, ...args) {}");
43 check("({ meth(...args) {} })");
44 check("({ meth(x, y, ...args) {} })");
45 check("({ meth(x = 0, x) {} })");
H A Dspread.js32 function check(code) { function
40 check("var x = [...args]");
41 check("var x = [1, 2, ...args]");
42 check("var x = [...args, 3, 5]");
43 check("var r = func(...arr)");
H A Dsuper.js32 function check(code) { function
40 check("({ meth() { x = super.x } })");
41 check("({ meth() { x = super.x() } })");
42 check("({ meth() { x = super['x'] } })");
H A Dgenerator.js32 function check(code) { function
40 check("function* func() { yield 1; }");
41 check("({ * generatorMethod() { yield 1; } })");
42 check("var func = function*() { yield 1; }");
/openjdk10/nashorn/test/script/basic/
H A DNASHORN-103.js31 function check(obj) { function
37 check(Object(null));
38 check(Object(undefined));
39 check(Object());
H A DJDK-8019629.js31 function check(str) { function
38 check("void +this");
39 check("void +(void 0)");
40 check("(function f(){return void +(void 0)})()");
41 check("void function() {}");
H A DJDK-8019553.js31 function check(str) { function
40 check("++ +3");
41 check("++ -7");
42 check("-- +2");
43 check("-- -8");
H A DJDK-8011960.js31 function check(func) { function
46 check(null);
49 check(32);
50 check("foo");
51 check(false);
52 check({});
53 check([]);
H A DJDK-8010709.js31 function check(pkgName) { function
41 check("com");
42 check("edu");
43 check("java");
44 check("javafx");
45 check("javax");
46 check("org");
H A DNASHORN-404.js31 function check(name) { function
38 check("Error");
39 check("EvalError");
40 check("RangeError");
41 check("ReferenceError");
42 check("SyntaxError");
43 check("URIError");
H A DNASHORN-376.js31 function check(code) { function
42 check("this = 4;");
43 check("this++");
44 check("++this");
45 check("this--");
46 check("--this");
H A DNASHORN-221.js31 function check(name) { function
43 check("Error");
44 check("EvalError");
45 check("RangeError");
46 check("ReferenceError");
47 check("SyntaxError");
48 check("TypeError");
49 check("URIError");
H A DJDK-8032004.js31 function check(obj) { function
37 check(new Error("test"));
38 check(new EvalError("test"));
39 check(new RangeError("test"));
40 check(new ReferenceError("test"));
41 check(new SyntaxError("test"));
42 check(new TypeError("test"));
43 check(new URIError("test"));
H A DNASHORN-487.js31 function check(errorCons) { function
37 check(Error);
38 check(EvalError);
39 check(RangeError);
40 check(ReferenceError);
41 check(SyntaxError);
42 check(TypeError);
43 check(URIError);
H A DNASHORN-365.js31 function check(str) { function
42 check("34\t454");
43 check("34 55");
44 check("{ 'foo': 34 } 343");
45 check("[344, 55] 454");
H A DNASHORN-87.js31 function check(func, name) { function
37 check(Date.prototype.getUTCMonth, "getUTCMonth")
38 check(Date.prototype.getUTCDay, "getUTCDay");
39 check(Date.prototype.setMilliseconds, "setMilliseconds");
40 check(Date.prototype.setUTCMilliseconds, "setUTCMilliseconds");
H A DNASHORN-174.js37 function check(index, value) { function
43 check(0, '24');
44 check(1, '45');
45 check(2, '8');
46 check(3, '78');
H A DJDK-8025147.js31 function check(str) { function
40 check("{ \"a\": 333, }");
41 check("[ 4343, ]");
H A DNASHORN-375.js31 function check(code) { function
43 check("var str = '\\xzworld';");
46 check("var s = '\\uihello';");
49 check("var str = '\\xzworld';");
H A DJDK-8007132.js41 function check(obj) { function
47 // check primitive returning constructors
48 check(new (function() { return 22; }));
49 check(new (function() { return false }));
50 check(new (function() { return "hello" }));
52 // check null and undefined returning constructors
53 check(new (function() { return null; }));
54 check(new (function() { return undefined; }));
/openjdk10/langtools/test/tools/javac/implicitThis/
H A DWhichImplicitThis3.java35 void check() { method in class:WhichImplicitThis3
37 public void check() {
43 public void check() {
44 new I2().check(); // which outer does I2 get?
47 new I3().check();
50 new WhichImplicitThis3().check();
H A DWhichImplicitThis4.java35 void check() { method in class:WhichImplicitThis4
43 public void check() {
53 new I3().check();
56 new WhichImplicitThis4().check();
/openjdk10/jdk/test/sun/security/krb5/config/
H A DDuration.java38 check("123", 123);
39 check("1:1", 3660);
40 check("1:1:1", 3661);
41 check("1d", 86400);
42 check("1h", 3600);
43 check("1h1m", 3660);
44 check("1h 1m", 3660);
45 check("1d 1h 1m 1s", 90061);
46 check("1d1h1m1s", 90061);
48 check("",
61 static void check(String s, int ex) throws Exception { method in class:Duration
[all...]
H A DParseCAPaths.java41 check("ANL.GOV", "TEST.ANL.GOV", "ANL.GOV");
42 check("ANL.GOV", "ES.NET", "ANL.GOV");
43 check("ANL.GOV", "PNL.GOV", "ANL.GOV", "ES.NET");
44 check("ANL.GOV", "NERSC.GOV", "ANL.GOV", "ES.NET");
45 check("NERSC.GOV", "TEST.ANL.GOV", "NERSC.GOV", "ES.NET", "ANL.GOV");
49 check("AA.EXAMPLE.COM", "BB.EXAMPLE.COM",
51 check("SITE1.SALES.EXAMPLE.COM", "EVERYWHERE.EXAMPLE.COM",
54 check("DEVEL.EXAMPLE.COM", "PROD.EXAMPLE.ORG",
58 check("A.EXAMPLE.COM", "B.EXAMPLE.COM", "A.EXAMPLE.COM");
59 check("
113 static void check(String from, String to, String... paths) { method in class:ParseCAPaths
[all...]

Completed in 141 milliseconds

1234567891011>>