blob: 3cf9b734eab770635144fa6d7fb91ba02af7c438 [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.ToolHelper.ProcessResult;
import com.android.tools.r8.utils.AndroidApp;
public class DXTestCompileResult extends TestCompileResult<DXTestCompileResult, DXTestRunResult> {
DXTestCompileResult(TestState state, AndroidApp app) {
super(state, app, OutputMode.DexIndexed);
}
@Override
public DXTestCompileResult self() {
return this;
}
@Override
public TestDiagnosticMessages getDiagnosticMessages() {
throw new UnsupportedOperationException("No diagnostics messages from dx");
}
@Override
public DXTestRunResult createRunResult(TestRuntime runtime, ProcessResult result) {
return new DXTestRunResult(app, runtime, result);
}
}