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

Commit dfe79703 authored by Ang Li's avatar Ang Li
Browse files

Simplify config using the new standarized configuration features in robolectric

Test: atest -c SpaRoboRNGTests (http://ab/I41900010219743473)
Bug: 304328861
Flag: NA
Change-Id: Ia963cd0a4e8f2b98b41522f3b29f136338bd22f4
parent 1bc3ef6e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13,3 +13,4 @@
# limitations under the License.
#
sdk=NEWEST_SDK
graphicsMode=NATIVE
+0 −20
Original line number Diff line number Diff line
/*
 * Copyright (C) 2023 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.
 */

@GraphicsMode(GraphicsMode.Mode.NATIVE)
package com.android.settingslib.spa.screenshot.widget.button;

import org.robolectric.annotation.GraphicsMode;
+0 −20
Original line number Diff line number Diff line
/*
 * Copyright (C) 2023 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.
 */

@GraphicsMode(GraphicsMode.Mode.NATIVE)
package com.android.settingslib.spa.screenshot.widget.chart;

import org.robolectric.annotation.GraphicsMode;
+0 −20
Original line number Diff line number Diff line
/*
 * Copyright (C) 2023 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.
 */

@GraphicsMode(GraphicsMode.Mode.NATIVE)
package com.android.settingslib.spa.screenshot.widget.illustration;

import org.robolectric.annotation.GraphicsMode;
+0 −20
Original line number Diff line number Diff line
/*
 * Copyright (C) 2023 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.
 */

@GraphicsMode(GraphicsMode.Mode.NATIVE)
package com.android.settingslib.spa.screenshot.widget.preference;

import org.robolectric.annotation.GraphicsMode;
Loading