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:
Nataniel Borges
2020-12-02 17:13:01 +01:00
parent 80ff5c11e5
commit bd633232d3

View File

@@ -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()
}
}