(info: CompilerInfo)
| 298 | } |
| 299 | |
| 300 | async function testSplitMethodParameters(info: CompilerInfo) { |
| 301 | const compiler = new Dex2OatCompiler(info, env); |
| 302 | const parametersMap = { |
| 303 | I: ['I'], |
| 304 | II: ['I', 'I'], |
| 305 | IIZ: ['I', 'I', 'Z'], |
| 306 | 'Ljava/lang/String;': ['Ljava/lang/String;'], |
| 307 | 'IILjava/lang/String;': ['I', 'I', 'Ljava/lang/String;'], |
| 308 | '[JJ[Ljava/lang/String;Z': ['[J', 'J', '[Ljava/lang/String;', 'Z'], |
| 309 | }; |
| 310 | for (const input in parametersMap) { |
| 311 | expect(compiler.splitMethodParameters(input)).toEqual(parametersMap[input]); |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | async function testPrettyMethodSignature(info: CompilerInfo) { |
| 316 | const compiler = new Dex2OatCompiler(info, env); |
no test coverage detected