Add name to focusChange assertions
This name is shown in the list of executed tests Test: atest FlickerTests Change-Id: I78bcc4d112f3cc1ee0a9f116537fb32c17e44493
This commit is contained in:
@@ -239,7 +239,7 @@ fun EventLogAssertion.focusChanges(
|
||||
bugId: Int = 0,
|
||||
enabled: Boolean = bugId == 0
|
||||
) {
|
||||
all(enabled = enabled, bugId = bugId) {
|
||||
all("focusChanges", bugId, enabled) {
|
||||
this.focusChanges(windows)
|
||||
}
|
||||
}
|
||||
@@ -248,7 +248,7 @@ fun EventLogAssertion.focusDoesNotChange(
|
||||
bugId: Int = 0,
|
||||
enabled: Boolean = bugId == 0
|
||||
) {
|
||||
all(enabled = enabled, bugId = bugId) {
|
||||
all("focusDoesNotChange", bugId, enabled) {
|
||||
this.focusDoesNotChange()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user