blob: c11f4984c470616e47c7f0f0ef307645751bc872 [file] [log] [blame]
// Copyright (c) 2022, 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.desugar.desugaredlibrary.jdktests;
import com.android.tools.r8.TestParameters;
import com.android.tools.r8.desugar.desugaredlibrary.test.CompilationSpecification;
import com.android.tools.r8.desugar.desugaredlibrary.test.LibraryDesugaringSpecification;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
@RunWith(Parameterized.class)
public class Jdk11Stream1Tests extends Jdk11StreamAbstractTests {
public Jdk11Stream1Tests(
TestParameters parameters,
LibraryDesugaringSpecification libraryDesugaringSpecification,
CompilationSpecification compilationSpecification) {
super(parameters, libraryDesugaringSpecification, compilationSpecification);
}
@Test
public void testStream() throws Throwable {
testStream(firstHalf(getSuccessfulTests()), firstHalf(getFailingTests()));
}
}