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

Function testPrettyDescriptorsPrimitive

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

Source from the content-addressed store, hash-verified

255 }
256
257 async function testPrettyDescriptorsPrimitive(info: CompilerInfo) {
258 const compiler = new Dex2OatCompiler(info, env);
259 const primitiveMap = {
260 V: 'void',
261 Z: 'boolean',
262 B: 'byte',
263 S: 'short',
264 C: 'char',
265 I: 'int',
266 J: 'long',
267 F: 'float',
268 D: 'double',
269 };
270 for (const input in primitiveMap) {
271 expect(compiler.prettyDescriptor(input)).toEqual(primitiveMap[input]);
272 }
273 }
274
275 async function testPrettyDescriptorsReference(info: CompilerInfo) {
276 const compiler = new Dex2OatCompiler(info, env);

Callers 1

android-tests.tsFile · 0.85

Calls 1

prettyDescriptorMethod · 0.95

Tested by

no test coverage detected