blob: 48a536924475a5e42b1649c4afa5394c612b6de1 [file] [log] [blame]
Valentin Iftime6239e532018-08-24 17:17:26 +02001/*
2 * Copyright (C) 2018 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
17package com.android.systemui;
18
Valentin Iftime6239e532018-08-24 17:17:26 +020019import android.test.suitebuilder.annotation.SmallTest;
Valentin Iftime6239e532018-08-24 17:17:26 +020020
Brett Chabot84151d92019-02-27 15:37:59 -080021import androidx.test.runner.AndroidJUnit4;
22
Valentin Iftime6239e532018-08-24 17:17:26 +020023import org.junit.Before;
24import org.junit.Test;
25import org.junit.runner.RunWith;
Valentin Iftime6239e532018-08-24 17:17:26 +020026import org.mockito.MockitoAnnotations;
27
28import java.util.concurrent.CountDownLatch;
29
30@SmallTest
31@RunWith(AndroidJUnit4.class)
32public class ImageWallpaperTest extends SysuiTestCase {
33
Ahan Wu723a80e2018-11-07 20:39:32 +080034 private CountDownLatch mEventCountdown;
35 private CountDownLatch mAmbientEventCountdown;
Valentin Iftime6239e532018-08-24 17:17:26 +020036
37 @Before
38 public void setUp() throws Exception {
39 MockitoAnnotations.initMocks(this);
Valentin Iftime6239e532018-08-24 17:17:26 +020040 mEventCountdown = new CountDownLatch(1);
Ahan Wu723a80e2018-11-07 20:39:32 +080041 mAmbientEventCountdown = new CountDownLatch(2);
Valentin Iftime6239e532018-08-24 17:17:26 +020042 }
43
Ahan Wu723a80e2018-11-07 20:39:32 +080044 @Test
45 public void testDeliversAmbientModeChanged() {
Ahan Wub4924522019-02-20 19:15:04 +080046 //TODO: We need add tests for GLEngine.
Ahan Wu723a80e2018-11-07 20:39:32 +080047 }
Ahan Wub4924522019-02-20 19:15:04 +080048
49 // TODO: Add more test cases for GLEngine, tracing in b/124838911.
Valentin Iftime6239e532018-08-24 17:17:26 +020050}