matchesProfileSelection static method
Implementation
static bool matchesProfileSelection(
EnsembleTestCase test,
EnsembleTestSelection selection,
) {
if (selection.profiles.isEmpty) return true;
final profile = test.profile;
if (profile != null && selection.profiles.contains(profile)) return true;
return test.profiles.any((name) => selection.profiles.contains(name));
}