blob: 2e076d58fb906dbc786f5c082418948a8849c721 [file] [log] [blame]
// Copyright (c) 2017, 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.internal;
import com.android.tools.r8.CompilationException;
import com.android.tools.r8.CompilationMode;
import com.android.tools.r8.R8RunArtTestsTest.CompilerUnderTest;
import com.android.tools.r8.shaking.ProguardRuleParserException;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
import org.junit.Test;
public class D8GMSCoreV9DeployJarVerificationTest extends GMSCoreDeployJarVerificationTest {
@Test
public void buildDebugFromDeployJar()
throws ExecutionException, IOException, ProguardRuleParserException, CompilationException {
buildFromDeployJar(
CompilerUnderTest.D8, CompilationMode.DEBUG,
GMSCoreCompilationTestBase.GMSCORE_V9_DIR, true);
}
@Test
public void buildReleaseFromDeployJar()
throws ExecutionException, IOException, ProguardRuleParserException, CompilationException {
buildFromDeployJar(
CompilerUnderTest.D8, CompilationMode.RELEASE,
GMSCoreCompilationTestBase.GMSCORE_V9_DIR, true);
}
}