received property

  1. @override
String get received
override

A getter named received that returns the string 'file_name.test_name.received.txt'.

Implementation

@override
String get received {
  if (options != null) {
    return options!.received;
  }

  if (description != null) {
    return addTestName
        ? '$filePath.$currentTestName.$_updatedDescription.$receivedExtension'
        : '$filePath.$_updatedDescription.$receivedExtension';
  }
  return addTestName
      ? '$filePath.$currentTestName.$receivedExtension'
      : '$filePath.$receivedExtension';
}