Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
c2f9bed1
Commit
c2f9bed1
authored
1 year ago
by
Andreas Miko
Committed by
Android (Google) Code Review
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge "Disable old tests for when light reveal migration is active" into main
parents
8c4d65f5
3f3fe5b5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/SystemUI/tests/src/com/android/systemui/biometrics/AuthRippleControllerTest.kt
+6
-2
6 additions, 2 deletions
...m/android/systemui/biometrics/AuthRippleControllerTest.kt
with
6 additions
and
2 deletions
packages/SystemUI/tests/src/com/android/systemui/biometrics/AuthRippleControllerTest.kt
+
6
−
2
View file @
c2f9bed1
...
...
@@ -27,6 +27,7 @@ import com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession
import
com.android.keyguard.KeyguardUpdateMonitor
import
com.android.keyguard.KeyguardUpdateMonitorCallback
import
com.android.keyguard.logging.KeyguardLogger
import
com.android.systemui.Flags.FLAG_LIGHT_REVEAL_MIGRATION
import
com.android.systemui.SysuiTestCase
import
com.android.systemui.dump.logcatLogBuffer
import
com.android.systemui.flags.FeatureFlags
...
...
@@ -40,6 +41,7 @@ import com.android.systemui.statusbar.policy.ConfigurationController
import
com.android.systemui.statusbar.policy.KeyguardStateController
import
com.android.systemui.util.leak.RotationUtils
import
com.android.systemui.util.mockito.any
import
javax.inject.Provider
import
org.junit.After
import
org.junit.Assert.assertFalse
import
org.junit.Assert.assertTrue
...
...
@@ -51,14 +53,14 @@ import org.mockito.ArgumentMatchers
import
org.mockito.ArgumentMatchers.eq
import
org.mockito.Captor
import
org.mockito.Mock
import
org.mockito.Mockito.`when`
import
org.mockito.Mockito.never
import
org.mockito.Mockito.reset
import
org.mockito.Mockito.verify
import
org.mockito.Mockito.`when`
import
org.mockito.MockitoAnnotations
import
org.mockito.MockitoSession
import
org.mockito.quality.Strictness
import
javax.inject.Provider
@SmallTest
@RunWith
(
AndroidTestingRunner
::
class
)
...
...
@@ -246,6 +248,7 @@ class AuthRippleControllerTest : SysuiTestCase() {
@Test
@RunWithLooper
(
setAsMainLooper
=
true
)
fun
testAnimatorRunWhenWakeAndUnlock_fingerprint
()
{
mSetFlagsRule
.
disableFlags
(
FLAG_LIGHT_REVEAL_MIGRATION
)
val
fpsLocation
=
Point
(
5
,
5
)
`when`
(
authController
.
fingerprintSensorLocation
).
thenReturn
(
fpsLocation
)
controller
.
onViewAttached
()
...
...
@@ -266,6 +269,7 @@ class AuthRippleControllerTest : SysuiTestCase() {
@Test
@RunWithLooper
(
setAsMainLooper
=
true
)
fun
testAnimatorRunWhenWakeAndUnlock_faceUdfpsFingerDown
()
{
mSetFlagsRule
.
disableFlags
(
FLAG_LIGHT_REVEAL_MIGRATION
)
val
faceLocation
=
Point
(
5
,
5
)
`when`
(
authController
.
faceSensorLocation
).
thenReturn
(
faceLocation
)
controller
.
onViewAttached
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment