toTestGridSessionArtifactType method

TestGridSessionArtifactType toTestGridSessionArtifactType()

Implementation

TestGridSessionArtifactType toTestGridSessionArtifactType() {
  switch (this) {
    case 'UNKNOWN':
      return TestGridSessionArtifactType.unknown;
    case 'VIDEO':
      return TestGridSessionArtifactType.video;
    case 'SELENIUM_LOG':
      return TestGridSessionArtifactType.seleniumLog;
  }
  throw Exception('$this is not known in enum TestGridSessionArtifactType');
}