(info: CompilerInfo)
| 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); |
no test coverage detected