Loading quickstep/Android.bp +13 −5 Original line number Diff line number Diff line Loading @@ -23,15 +23,23 @@ filegroup { } filegroup { name: "launcher3-quickstep-robolectric-src", path: "robolectric_tests", srcs: ["robolectric_tests/src/**/*.java"], name: "launcher3-quickstep-robo-src", path: "tests/multivalentTests", srcs: [ "tests/multivalentTests/src/**/*.java", "tests/multivalentTests/src/**/*.kt", ], } filegroup { name: "launcher3-quickstep-tests-src", path: "tests", srcs: ["tests/src/**/*.java", "tests/src/**/*.kt"], srcs: [ "tests/multivalentTests/src/**/*.java", "tests/multivalentTests/src/**/*.kt", "tests/src/**/*.java", "tests/src/**/*.kt", ], } filegroup { Loading @@ -44,5 +52,5 @@ filegroup { "tests/src/com/android/quickstep/TaplOverviewIconTest.java", "tests/src/com/android/quickstep/TaplTestsQuickstep.java", "tests/src/com/android/quickstep/TaplTestsSplitscreen.java", ] ], } quickstep/tests/multivalentTests/src/com/android/quickstep/RobolectricTest.kt 0 → 100644 +31 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.quickstep import androidx.test.ext.junit.runners.AndroidJUnit4 import com.google.common.truth.Truth.assertThat import org.junit.Test import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) class RobolectricTest { @Test fun test1() { val actual = 1 + 1 assertThat(actual).isEqualTo(2) } } quickstep/tests/multivalentTestsForDevice 0 → 120000 +1 −0 Original line number Diff line number Diff line ./multivalentTests No newline at end of file quickstep/tests/multivalentTestsForDeviceless 0 → 120000 +1 −0 Original line number Diff line number Diff line ./multivalentTests No newline at end of file Loading
quickstep/Android.bp +13 −5 Original line number Diff line number Diff line Loading @@ -23,15 +23,23 @@ filegroup { } filegroup { name: "launcher3-quickstep-robolectric-src", path: "robolectric_tests", srcs: ["robolectric_tests/src/**/*.java"], name: "launcher3-quickstep-robo-src", path: "tests/multivalentTests", srcs: [ "tests/multivalentTests/src/**/*.java", "tests/multivalentTests/src/**/*.kt", ], } filegroup { name: "launcher3-quickstep-tests-src", path: "tests", srcs: ["tests/src/**/*.java", "tests/src/**/*.kt"], srcs: [ "tests/multivalentTests/src/**/*.java", "tests/multivalentTests/src/**/*.kt", "tests/src/**/*.java", "tests/src/**/*.kt", ], } filegroup { Loading @@ -44,5 +52,5 @@ filegroup { "tests/src/com/android/quickstep/TaplOverviewIconTest.java", "tests/src/com/android/quickstep/TaplTestsQuickstep.java", "tests/src/com/android/quickstep/TaplTestsSplitscreen.java", ] ], }
quickstep/tests/multivalentTests/src/com/android/quickstep/RobolectricTest.kt 0 → 100644 +31 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.quickstep import androidx.test.ext.junit.runners.AndroidJUnit4 import com.google.common.truth.Truth.assertThat import org.junit.Test import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) class RobolectricTest { @Test fun test1() { val actual = 1 + 1 assertThat(actual).isEqualTo(2) } }
quickstep/tests/multivalentTestsForDevice 0 → 120000 +1 −0 Original line number Diff line number Diff line ./multivalentTests No newline at end of file
quickstep/tests/multivalentTestsForDeviceless 0 → 120000 +1 −0 Original line number Diff line number Diff line ./multivalentTests No newline at end of file