blob: 2de0a67968d3e19db82b7a8fd0b5eb758d4e4f97 [file] [log] [blame]
// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8;
import com.android.tools.r8.TestBase.Backend;
import com.android.tools.r8.ToolHelper.ProcessResult;
import com.android.tools.r8.utils.AndroidApp;
public class DXTestCompileResult extends TestCompileResult<DXTestCompileResult, DXTestRunResult> {
DXTestCompileResult(TestState state, AndroidApp app) {
super(state, app);
}
@Override
public DXTestCompileResult self() {
return this;
}
@Override
public Backend getBackend() {
return Backend.DEX;
}
@Override
public DXTestRunResult createRunResult(ProcessResult result) {
return new DXTestRunResult(app, result);
}
}