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

Function testPrettyDescriptorsReference

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

Source from the content-addressed store, hash-verified

273 }
274
275 async function testPrettyDescriptorsReference(info: CompilerInfo) {
276 const compiler = new Dex2OatCompiler(info, env);
277 const referenceMap = {
278 'Ljava/lang/String;': 'java.lang.String',
279 'Landroid/util/Log;': 'android.util.Log',
280 'Landroidx/annotation/DoNotInline;': 'androidx.annotation.DoNotInline',
281 };
282 for (const input in referenceMap) {
283 expect(compiler.prettyDescriptor(input)).toEqual(referenceMap[input]);
284 }
285 }
286
287 async function testPrettyDescriptorsDimensions(info: CompilerInfo) {
288 const compiler = new Dex2OatCompiler(info, env);

Callers 1

android-tests.tsFile · 0.85

Calls 1

prettyDescriptorMethod · 0.95

Tested by

no test coverage detected