/**
  * RequestDetailsHtmlSnippet constructor.
  * @param TestInfo $testInfo
  * @param TestStepResult $stepResult
  * @param bool $useLinks
  */
 public function __construct($testInfo, $stepResult, $useLinks)
 {
     $this->testInfo = $testInfo;
     $this->stepResult = $stepResult;
     $this->requests = $stepResult->getRequestsWithInfo(true, true);
     $this->useLinks = $useLinks;
 }
 /**
  * WaterfallViewHtmlSnippet constructor.
  * @param TestInfo $testInfo
  * @param TestStepResult $stepResult
  * @param bool $enableCsi True if CSI data should be enabled
  */
 public function __construct($testInfo, $stepResult, $enableCsi)
 {
     $this->testInfo = $testInfo;
     $this->stepResult = $stepResult;
     $this->requests = $stepResult->getRequestsWithInfo(true, true);
     $this->hasCsi = $enableCsi;
 }
 /**
  * ConnectionViewHtmlSnippet constructor.
  * @param TestInfo $testInfo
  * @param TestStepResult $stepResult
  */
 public function __construct($testInfo, $stepResult)
 {
     $this->testInfo = $testInfo;
     $this->stepResult = $stepResult;
     $this->requests = $stepResult->getRequestsWithInfo(true, true);
     $cached = $this->stepResult->isCachedRun() ? "rv_" : "fv_";
     $this->mapName = "#connection_map_" . $cached . $this->stepResult->getStepNumber();
     $this->imageId = "connectionView_" . $cached . $this->stepResult->getStepNumber();
 }