testIdsForAssetPaths method

List<String> testIdsForAssetPaths(
  1. Iterable<String> assetPaths
)

Returns selected case IDs whose source assets are assigned to a worker. Session definitions are included only when their source path is assigned.

Implementation

List<String> testIdsForAssetPaths(Iterable<String> assetPaths) {
  final paths = assetPaths.toSet();
  return definitionsById.values
      .where((definition) => paths.contains(definition.assetPath))
      .map((definition) => definition.testCase.id)
      .toList(growable: false);
}