Skip to content

Commit f724e2a

Browse files
rm: unused functions
1 parent 83163b9 commit f724e2a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

maestro-client/src/main/java/maestro/Filters.kt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ object Filters {
5454
nodes.filter { this(it) }
5555
}
5656

57-
fun nonClickable(): ElementFilter {
58-
return { nodes -> nodes.filter { it.clickable == false } }
59-
}
60-
6157
fun textMatches(regex: Regex): ElementFilter {
6258
return { nodes ->
6359
val textMatches = nodes.filter {
@@ -185,14 +181,6 @@ object Filters {
185181
}
186182
}
187183

188-
fun containsChild(other: UiElement): ElementLookupPredicate {
189-
val otherNode = other.treeNode
190-
return {
191-
it.children
192-
.any { child -> child == otherNode }
193-
}
194-
}
195-
196184
fun containsChild(childFilter: ElementFilter): ElementFilter {
197185
return { nodes ->
198186
val matchingChildren = childFilter(nodes).toSet()

0 commit comments

Comments
 (0)