flutter/packages/flutter_tools/test
Martin Kustermann a44f745180
Allow integration test helpers to work on substrings instead of whole strings (#160437)
The integration test framework that waits for transitions and
(optionally) takes actions on transitions allows to match patterns.

If one uses a RegExp pattern than the framework only checks whether a
line contains the given RegExp pattern.

If one uses a String pattern it matches it exactly.

=> We add a `Barrier.contains()` and `Multiple.contains()` that allow
matching a line with if it contains the String (just like in RegExp)

=> This makes tests simpler as they don't have to know about the exact
padding of progres bar etc. Those may be irrelevant for the purpose of
the integration test and only complicate it.
2024-12-20 17:27:33 +00:00
..
android_java11_integration.shard Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
android_preview_integration.shard Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
commands.shard Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
data make asset_test.dart tests not dependent on context (#141331) 2024-01-11 18:08:07 +00:00
general.shard Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
host_cross_arch.shard Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
integration.shard Allow integration test helpers to work on substrings instead of whole strings (#160437) 2024-12-20 17:27:33 +00:00
src Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
web.shard Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00