summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Almaz Mingaleev <mingaleev@google.com> 2024-09-06 10:21:10 +0000
committer Almaz Mingaleev <mingaleev@google.com> 2024-09-06 10:21:53 +0000
commit5cb09c531797b23aeebf6e1f7e711cad3ef1d3ad (patch)
treef8499161f7d37fab1d56f46060e3dc180cd88152
parent03c81cdc754ba027aa50f3e1944b44c9d8b0ff20 (diff)
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
-rw-r--r--apct-tests/perftests/core/src/android/libcore/regression/ByteBufferPerfTest.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/apct-tests/perftests/core/src/android/libcore/regression/ByteBufferPerfTest.java b/apct-tests/perftests/core/src/android/libcore/regression/ByteBufferPerfTest.java
index 4cf46e5364ea..f01ac0247908 100644
--- a/apct-tests/perftests/core/src/android/libcore/regression/ByteBufferPerfTest.java
+++ b/apct-tests/perftests/core/src/android/libcore/regression/ByteBufferPerfTest.java
@@ -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()) {