(info: CompilerInfo)
| 313 | } |
| 314 | |
| 315 | async function testPrettyMethodSignature(info: CompilerInfo) { |
| 316 | const compiler = new Dex2OatCompiler(info, env); |
| 317 | const methodMap = { |
| 318 | 'square(I)I': 'int square(int)', |
| 319 | 'stringAppend(Ljava/lang/String;)Ljava/lang/String;': 'java.lang.String stringAppend(java.lang.String)', |
| 320 | 'push([II)[I': 'int[] push(int[], int)', |
| 321 | }; |
| 322 | for (const input in methodMap) { |
| 323 | expect(compiler.prettyMethodSignature(input)).toEqual(methodMap[input]); |
| 324 | } |
| 325 | } |
| 326 | }); |
no test coverage detected