MCPcopy Index your code
hub / github.com/compiler-explorer/compiler-explorer / testPrettyMethodSignature

Function testPrettyMethodSignature

test/android-tests.ts:315–325  ·  view source on GitHub ↗
(info: CompilerInfo)

Source from the content-addressed store, hash-verified

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});

Callers 1

android-tests.tsFile · 0.85

Calls 1

prettyMethodSignatureMethod · 0.95

Tested by

no test coverage detected