setUpAll static method

Future<Set<String>> setUpAll()

Initializes the approval test by building a database of project classes.

Typically called from within flutter_tests function 'setUpAll'

Implementation

static Future<Set<String>> setUpAll() async {
  final completer = Completer<Set<String>>();
  await getWidgetNames().then((value) {
    _widgetNames = value;
    completer.complete(value);
  });
  return completer.future;
}