blob: b2a7fbfc8b7429a2c4b74c27839cdba0cd0193eb [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 YouTubeDexVerificationTest extends YouTubeCompilationBase {
@Test
public void buildDebugFromDex() throws Exception {
runAndCheckVerification(
CompilerUnderTest.R8, CompilationMode.DEBUG, BASE + APK, null, BASE + APK);
}
@Test
public void buildReleaseFromDex() throws Exception {
runAndCheckVerification(
CompilerUnderTest.R8, CompilationMode.RELEASE, BASE + APK, null, BASE + APK);
}
}