Lines Matching refs:TestClass
32 function TestClass(a, b, c) { class
36 TestClass.prototype.method = function() { class
40 assertInstanceof(new TestClass(...[1, 2, 3]), TestClass);
41 assertEquals([1, 2, 3], (new TestClass(...[1, 2, 3])).method());
42 assertEquals([1, 2, 3], (new TestClass(...[1, 2, 3])).args);
43 assertTrue((new TestClass(...[1, 2, 3])).wasCalled);
48 function TestClass(a, b, c) { class
52 TestClass.prototype.method = function() {
56 assertInstanceof(new TestClass(...[1, 2, 3]), TestClass);
57 assertEquals([1, 2, 3], (new TestClass(...[1, 2, 3])).method());
58 assertEquals([1, 2, 3], (new TestClass(...[1, 2, 3])).args);
59 assertTrue((new TestClass(...[1, 2, 3])).wasCalled);