blob: 6ec98700178c45a1fa40ecdd84fb0272009254e2 [file] [log] [blame]
Rahul Ravikumar112427d2022-08-25 15:24:31 -07001/*
2 * Copyright 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Rahul Ravikumard7d4fec2022-09-12 10:30:24 -070017package androidx.benchmark.darwin.samples
18
19import androidx.benchmark.darwin.TestCase
Rahul Ravikumar112427d2022-08-25 15:24:31 -070020
21/**
22 * Returns a [List] of [TestCase]s to run for benchmarks.
23 */
Rahul Ravikumarfdd67f22022-08-30 11:04:03 -070024object TestCases {
Rahul Ravikumarfdd67f22022-08-30 11:04:03 -070025 fun benchmarkTests(): List<TestCase> {
Rahul Ravikumard7d4fec2022-09-12 10:30:24 -070026 return listOf(
27 ArrayListAllocationBenchmark()
28 )
Rahul Ravikumarfdd67f22022-08-30 11:04:03 -070029 }
Rahul Ravikumar112427d2022-08-25 15:24:31 -070030}