Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cb09c53 authored by Almaz Mingaleev's avatar Almaz Mingaleev
Browse files

Remove @Parameters for tests that don't use them.

Locally "atest android.libcore.regression.ByteBufferPerfTest#time_ByteBuffer_allocate"
was crashing with ArrayIndexOutOfBoundsException. With annotation
removed it works fine.

Bug: n/a
Test: atest android.libcore.regression.ByteBufferPerfTest#time_ByteBuffer_allocate

Change-Id: Ib81529b553bd7169d18ba6b99eff38386ad0f9e1
parent 03c81cdc
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -565,7 +565,6 @@ public class ByteBufferPerfTest {
    }

    @Test
    @Parameters(method = "getData")
    public void time_new_byteArray() throws Exception {
        final BenchmarkState state = mBenchmarkRule.getState();
        while (state.keepRunning()) {
@@ -574,7 +573,6 @@ public class ByteBufferPerfTest {
    }

    @Test
    @Parameters(method = "getData")
    public void time_ByteBuffer_allocate() throws Exception {
        final BenchmarkState state = mBenchmarkRule.getState();
        while (state.keepRunning()) {