blob: f6de3f994d6cecc0ac5eae31469bcdc8205d4b6c [file] [log] [blame]
// Copyright (c) 2016, 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.CompilationMode;
import com.android.tools.r8.R8RunArtTestsTest.CompilerUnderTest;
import org.junit.Test;
public class D8YouTubeDeployJarVerificationTest extends YouTubeCompilationTestBase {
public D8YouTubeDeployJarVerificationTest() {
super(12, 17);
}
@Test
public void buildDebugFromDeployJar() throws Exception {
runAndCheckVerification(
CompilerUnderTest.D8, CompilationMode.DEBUG, base + APK, null, base + DEPLOY_JAR);
}
@Test
public void buildReleaseFromDeployJar() throws Exception {
runAndCheckVerification(
CompilerUnderTest.D8, CompilationMode.RELEASE, base + APK, null, base + DEPLOY_JAR);
}
}