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