Lines Matching defs:Test
24 description("Test to ensure that we handle caching of prototype chains containing dictionaries.");
26 var Test = function(){};
31 Test.prototype['myMethod' + i] = function(){};
34 var test1 = new Test();
38 Test.prototype.myAdditionalMethod = function(){};
39 var test2 = new Test();
47 var Test = function(){};
49 Test.prototype['myMethod' + i] = function(){};
51 var test1 = new Test();
55 delete (Test.prototype)[k]
56 var test2 = new Test();
64 var Test = function(){};
66 Test.prototype['myMethod' + i] = function(){};
69 function update(test) {
70 test.newProperty = true;
72 var test1 = new Test();
75 var test2 = new Test();
78 var test3 = new Test();
81 Test.prototype.__defineSetter__("newProperty", function(){ calledNewPrototypeSetter = true; });
82 var test4 = new Test();