Lines Matching refs:classFunc
44 function testWeakClass(classFunc) { argument
45 assertDoesNotThrow(function(){addProperty(classFunc())});
46 assertDoesNotThrow(function(){addProperty(classFunc().prototype)});
47 assertDoesNotThrow(function(){convertPropertyToData(classFunc())});
48 assertDoesNotThrow(function(){convertPropertyToData(classFunc().prototype)});
51 function testStrongClass(classFunc) { argument
52 assertThrows(function(){addProperty(classFunc())}, TypeError);
53 assertThrows(function(){addProperty(classFunc().prototype)}, TypeError);
54 assertThrows(function(){convertPropertyToData(classFunc())}, TypeError);
55 assertThrows(function(){convertPropertyToData(classFunc().prototype)},
69 let classFunc = function() { function
78 testStrongClass(classFunc);
87 let classFunc = function() { function
97 testWeakClass(classFunc);