| 219 | }; |
| 220 | |
| 221 | const testStaticMethod = (clazz) => { |
| 222 | clazz.testStaticVoidMethod(52); |
| 223 | assert.strictEqual(clazz.testStaticGetter, 52); |
| 224 | clazz[clazz.kTestStaticVoidMethodInternal](94); |
| 225 | assert.strictEqual(clazz.testStaticGetter, 94); |
| 226 | assert.strictEqual(clazz.testStaticMethod('method'), 'method static'); |
| 227 | assert.strictEqual(clazz[clazz.kTestStaticMethodInternal]('method'), 'method static internal'); |
| 228 | clazz.testStaticVoidMethodT('static method<>(const char*)'); |
| 229 | assert.strictEqual(clazz.testStaticMethodT(), 'static method<>(const char*)'); |
| 230 | clazz[clazz.kTestStaticVoidMethodTInternal]('static method<>(Symbol)'); |
| 231 | assert.strictEqual(clazz[clazz.kTestStaticMethodTInternal](), 'static method<>(Symbol)'); |
| 232 | }; |
| 233 | |
| 234 | const testStaticEnumerables = (clazz) => { |
| 235 | // Object.keys |