📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/ToolResults
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ANR.php
▶ Open 📄 View Source
🐘 AndroidAppInfo.php
▶ Open 📄 View Source
🐘 AndroidInstrumentationTest.php
▶ Open 📄 View Source
🐘 AndroidRoboTest.php
▶ Open 📄 View Source
🐘 AndroidTest.php
▶ Open 📄 View Source
🐘 AndroidTestLoop.php
▶ Open 📄 View Source
🐘 Any.php
▶ Open 📄 View Source
🐘 AppStartTime.php
▶ Open 📄 View Source
🐘 AssetIssue.php
▶ Open 📄 View Source
🐘 AvailableDeepLinks.php
▶ Open 📄 View Source
🐘 BasicPerfSampleSeries.php
▶ Open 📄 View Source
🐘 BatchCreatePerfSamplesRequest.php
▶ Open 📄 View Source
🐘 BatchCreatePerfSamplesResponse.php
▶ Open 📄 View Source
🐘 BlankScreen.php
▶ Open 📄 View Source
🐘 CPUInfo.php
▶ Open 📄 View Source
🐘 CrashDialogError.php
▶ Open 📄 View Source
🐘 DetectedAppSplashScreen.php
▶ Open 📄 View Source
🐘 DeviceOutOfMemory.php
▶ Open 📄 View Source
🐘 Duration.php
▶ Open 📄 View Source
🐘 EncounteredLoginScreen.php
▶ Open 📄 View Source
🐘 EncounteredNonAndroidUiWidgetScreen.php
▶ Open 📄 View Source
🐘 Environment.php
▶ Open 📄 View Source
🐘 EnvironmentDimensionValueEntry.php
▶ Open 📄 View Source
🐘 Execution.php
▶ Open 📄 View Source
🐘 FailedToInstall.php
▶ Open 📄 View Source
🐘 FailureDetail.php
▶ Open 📄 View Source
🐘 FatalException.php
▶ Open 📄 View Source
🐘 FileReference.php
▶ Open 📄 View Source
🐘 GraphicsStats.php
▶ Open 📄 View Source
🐘 GraphicsStatsBucket.php
▶ Open 📄 View Source
🐘 History.php
▶ Open 📄 View Source
🐘 Image.php
▶ Open 📄 View Source
🐘 InAppPurchasesFound.php
▶ Open 📄 View Source
🐘 InconclusiveDetail.php
▶ Open 📄 View Source
🐘 IndividualOutcome.php
▶ Open 📄 View Source
🐘 InsufficientCoverage.php
▶ Open 📄 View Source
🐘 IosAppCrashed.php
▶ Open 📄 View Source
🐘 IosAppInfo.php
▶ Open 📄 View Source
🐘 IosRoboTest.php
▶ Open 📄 View Source
🐘 IosTest.php
▶ Open 📄 View Source
🐘 IosTestLoop.php
▶ Open 📄 View Source
🐘 IosXcTest.php
▶ Open 📄 View Source
🐘 LauncherActivityNotFound.php
▶ Open 📄 View Source
🐘 ListEnvironmentsResponse.php
▶ Open 📄 View Source
🐘 ListExecutionsResponse.php
▶ Open 📄 View Source
🐘 ListHistoriesResponse.php
▶ Open 📄 View Source
🐘 ListPerfSampleSeriesResponse.php
▶ Open 📄 View Source
🐘 ListPerfSamplesResponse.php
▶ Open 📄 View Source
🐘 ListScreenshotClustersResponse.php
▶ Open 📄 View Source
🐘 ListStepAccessibilityClustersResponse.php
▶ Open 📄 View Source
🐘 ListStepThumbnailsResponse.php
▶ Open 📄 View Source
🐘 ListStepsResponse.php
▶ Open 📄 View Source
🐘 ListTestCasesResponse.php
▶ Open 📄 View Source
🐘 LogcatCollectionError.php
▶ Open 📄 View Source
🐘 MatrixDimensionDefinition.php
▶ Open 📄 View Source
🐘 MemoryInfo.php
▶ Open 📄 View Source
🐘 MergedResult.php
▶ Open 📄 View Source
🐘 MultiStep.php
▶ Open 📄 View Source
🐘 NativeCrash.php
▶ Open 📄 View Source
🐘 NonSdkApi.php
▶ Open 📄 View Source
🐘 NonSdkApiInsight.php
▶ Open 📄 View Source
🐘 NonSdkApiUsageViolation.php
▶ Open 📄 View Source
🐘 NonSdkApiUsageViolationReport.php
▶ Open 📄 View Source
🐘 Outcome.php
▶ Open 📄 View Source
🐘 OverlappingUIElements.php
▶ Open 📄 View Source
🐘 PendingGoogleUpdateInsight.php
▶ Open 📄 View Source
🐘 PerfEnvironment.php
▶ Open 📄 View Source
🐘 PerfMetricsSummary.php
▶ Open 📄 View Source
🐘 PerfSample.php
▶ Open 📄 View Source
🐘 PerfSampleSeries.php
▶ Open 📄 View Source
🐘 PerformedGoogleLogin.php
▶ Open 📄 View Source
🐘 PerformedMonkeyActions.php
▶ Open 📄 View Source
🐘 PrimaryStep.php
▶ Open 📄 View Source
🐘 ProjectSettings.php
▶ Open 📄 View Source
🐘 PublishXunitXmlFilesRequest.php
▶ Open 📄 View Source
🐘 RegionProto.php
▶ Open 📄 View Source
🐘 ResultsStorage.php
▶ Open 📄 View Source
🐘 RoboScriptExecution.php
▶ Open 📄 View Source
🐘 SafeHtmlProto.php
▶ Open 📄 View Source
🐘 Screen.php
▶ Open 📄 View Source
🐘 ScreenshotCluster.php
▶ Open 📄 View Source
🐘 ShardSummary.php
▶ Open 📄 View Source
🐘 SkippedDetail.php
▶ Open 📄 View Source
🐘 Specification.php
▶ Open 📄 View Source
🐘 StackTrace.php
▶ Open 📄 View Source
🐘 StartActivityNotFound.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Step.php
▶ Open 📄 View Source
🐘 StepDimensionValueEntry.php
▶ Open 📄 View Source
🐘 StepLabelsEntry.php
▶ Open 📄 View Source
🐘 StepSummary.php
▶ Open 📄 View Source
🐘 SuccessDetail.php
▶ Open 📄 View Source
🐘 SuggestionClusterProto.php
▶ Open 📄 View Source
🐘 SuggestionProto.php
▶ Open 📄 View Source
🐘 TestCase.php
▶ Open 📄 View Source
🐘 TestCaseReference.php
▶ Open 📄 View Source
🐘 TestExecutionStep.php
▶ Open 📄 View Source
🐘 TestIssue.php
▶ Open 📄 View Source
🐘 TestSuiteOverview.php
▶ Open 📄 View Source
🐘 TestTiming.php
▶ Open 📄 View Source
🐘 Thumbnail.php
▶ Open 📄 View Source
🐘 Timestamp.php
▶ Open 📄 View Source
🐘 ToolExecution.php
▶ Open 📄 View Source
🐘 ToolExecutionStep.php
▶ Open 📄 View Source
🐘 ToolExitCode.php
▶ Open 📄 View Source
🐘 ToolOutputReference.php
▶ Open 📄 View Source
🐘 UIElementTooDeep.php
▶ Open 📄 View Source
🐘 UnspecifiedWarning.php
▶ Open 📄 View Source
🐘 UnusedRoboDirective.php
▶ Open 📄 View Source
🐘 UpgradeInsight.php
▶ Open 📄 View Source
🐘 UsedRoboDirective.php
▶ Open 📄 View Source
🐘 UsedRoboIgnoreDirective.php
▶ Open 📄 View Source

📄 Source: TestIssue.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\ToolResults;

class TestIssue extends \Google\Model
{
  /**
   * Default unspecified category. Do not use. For versioning only.
   */
  public const CATEGORY_unspecifiedCategory = 'unspecifiedCategory';
  /**
   * Issue is not specific to a particular test kind (e.g., a native crash).
   */
  public const CATEGORY_common = 'common';
  /**
   * Issue is specific to Robo run.
   */
  public const CATEGORY_robo = 'robo';
  /**
   * Default unspecified severity. Do not use. For versioning only.
   */
  public const SEVERITY_unspecifiedSeverity = 'unspecifiedSeverity';
  /**
   * Non critical issue, providing users with some info about the test run.
   */
  public const SEVERITY_info = 'info';
  /**
   * Non critical issue, providing users with some hints on improving their
   * testing experience, e.g., suggesting to use Game Loops.
   */
  public const SEVERITY_suggestion = 'suggestion';
  /**
   * Potentially critical issue.
   */
  public const SEVERITY_warning = 'warning';
  /**
   * Critical issue.
   */
  public const SEVERITY_severe = 'severe';
  /**
   * Default unspecified type. Do not use. For versioning only.
   */
  public const TYPE_unspecifiedType = 'unspecifiedType';
  /**
   * Issue is a fatal exception.
   */
  public const TYPE_fatalException = 'fatalException';
  /**
   * Issue is a native crash.
   */
  public const TYPE_nativeCrash = 'nativeCrash';
  /**
   * Issue is an ANR crash.
   */
  public const TYPE_anr = 'anr';
  /**
   * Issue is an unused robo directive.
   */
  public const TYPE_unusedRoboDirective = 'unusedRoboDirective';
  /**
   * Issue is a suggestion to use orchestrator.
   */
  public const TYPE_compatibleWithOrchestrator = 'compatibleWithOrchestrator';
  /**
   * Issue with finding a launcher activity
   */
  public const TYPE_launcherActivityNotFound = 'launcherActivityNotFound';
  /**
   * Issue with resolving a user-provided intent to start an activity
   */
  public const TYPE_startActivityNotFound = 'startActivityNotFound';
  /**
   * A Robo script was not fully executed.
   */
  public const TYPE_incompleteRoboScriptExecution = 'incompleteRoboScriptExecution';
  /**
   * A Robo script was fully and successfully executed.
   */
  public const TYPE_completeRoboScriptExecution = 'completeRoboScriptExecution';
  /**
   * The APK failed to install.
   */
  public const TYPE_failedToInstall = 'failedToInstall';
  /**
   * The app-under-test has deep links, but none were provided to Robo.
   */
  public const TYPE_availableDeepLinks = 'availableDeepLinks';
  /**
   * App accessed a non-sdk Api.
   */
  public const TYPE_nonSdkApiUsageViolation = 'nonSdkApiUsageViolation';
  /**
   * App accessed a non-sdk Api (new detailed report)
   */
  public const TYPE_nonSdkApiUsageReport = 'nonSdkApiUsageReport';
  /**
   * Robo crawl encountered at least one screen with elements that are not
   * Android UI widgets.
   */
  public const TYPE_encounteredNonAndroidUiWidgetScreen = 'encounteredNonAndroidUiWidgetScreen';
  /**
   * Robo crawl encountered at least one probable login screen.
   */
  public const TYPE_encounteredLoginScreen = 'encounteredLoginScreen';
  /**
   * Robo signed in with Google.
   */
  public const TYPE_performedGoogleLogin = 'performedGoogleLogin';
  /**
   * iOS App crashed with an exception.
   */
  public const TYPE_iosException = 'iosException';
  /**
   * iOS App crashed without an exception (e.g. killed).
   */
  public const TYPE_iosCrash = 'iosCrash';
  /**
   * Robo crawl involved performing some monkey actions.
   */
  public const TYPE_performedMonkeyActions = 'performedMonkeyActions';
  /**
   * Robo crawl used a Robo directive.
   */
  public const TYPE_usedRoboDirective = 'usedRoboDirective';
  /**
   * Robo crawl used a Robo directive to ignore an UI element.
   */
  public const TYPE_usedRoboIgnoreDirective = 'usedRoboIgnoreDirective';
  /**
   * Robo did not crawl some potentially important parts of the app.
   */
  public const TYPE_insufficientCoverage = 'insufficientCoverage';
  /**
   * Robo crawl involved some in-app purchases.
   */
  public const TYPE_inAppPurchases = 'inAppPurchases';
  /**
   * Crash dialog was detected during the test execution
   */
  public const TYPE_crashDialogError = 'crashDialogError';
  /**
   * UI element depth is greater than the threshold
   */
  public const TYPE_uiElementsTooDeep = 'uiElementsTooDeep';
  /**
   * Blank screen is found in the Robo crawl
   */
  public const TYPE_blankScreen = 'blankScreen';
  /**
   * Overlapping UI elements are found in the Robo crawl
   */
  public const TYPE_overlappingUiElements = 'overlappingUiElements';
  /**
   * An uncaught Unity exception was detected (these don't crash apps).
   */
  public const TYPE_unityException = 'unityException';
  /**
   * Device running out of memory was detected
   */
  public const TYPE_deviceOutOfMemory = 'deviceOutOfMemory';
  /**
   * Problems detected while collecting logcat
   */
  public const TYPE_logcatCollectionError = 'logcatCollectionError';
  /**
   * Robo detected a splash screen provided by app (vs. Android OS splash
   * screen).
   */
  public const TYPE_detectedAppSplashScreen = 'detectedAppSplashScreen';
  /**
   * There was an issue with the assets in this test.
   */
  public const TYPE_assetIssue = 'assetIssue';
  protected $internal_gapi_mappings = [
        "warningMigration" => "warning_migration",
  ];
  /**
   * Category of issue. Required.
   *
   * @var string
   */
  public $category;
  /**
   * A brief human-readable message describing the issue. Required.
   *
   * @var string
   */
  public $errorMessage;
  /**
   * Severity of issue. Required.
   *
   * @var string
   */
  public $severity;
  protected $stackTraceType = StackTrace::class;
  protected $stackTraceDataType = '';
  /**
   * Type of issue. Required.
   *
   * @var string
   */
  public $type;
  protected $warningMigrationType = Any::class;
  protected $warningMigrationDataType = '';

  /**
   * Category of issue. Required.
   *
   * Accepted values: unspecifiedCategory, common, robo
   *
   * @param self::CATEGORY_* $category
   */
  public function setCategory($category)
  {
    $this->category = $category;
  }
  /**
   * @return self::CATEGORY_*
   */
  public function getCategory()
  {
    return $this->category;
  }
  /**
   * A brief human-readable message describing the issue. Required.
   *
   * @param string $errorMessage
   */
  public function setErrorMessage($errorMessage)
  {
    $this->errorMessage = $errorMessage;
  }
  /**
   * @return string
   */
  public function getErrorMessage()
  {
    return $this->errorMessage;
  }
  /**
   * Severity of issue. Required.
   *
   * Accepted values: unspecifiedSeverity, info, suggestion, warning, severe
   *
   * @param self::SEVERITY_* $severity
   */
  public function setSeverity($severity)
  {
    $this->severity = $severity;
  }
  /**
   * @return self::SEVERITY_*
   */
  public function getSeverity()
  {
    return $this->severity;
  }
  /**
   * Deprecated in favor of stack trace fields inside specific warnings.
   *
   * @deprecated
   * @param StackTrace $stackTrace
   */
  public function setStackTrace(StackTrace $stackTrace)
  {
    $this->stackTrace = $stackTrace;
  }
  /**
   * @deprecated
   * @return StackTrace
   */
  public function getStackTrace()
  {
    return $this->stackTrace;
  }
  /**
   * Type of issue. Required.
   *
   * Accepted values: unspecifiedType, fatalException, nativeCrash, anr,
   * unusedRoboDirective, compatibleWithOrchestrator, launcherActivityNotFound,
   * startActivityNotFound, incompleteRoboScriptExecution,
   * completeRoboScriptExecution, failedToInstall, availableDeepLinks,
   * nonSdkApiUsageViolation, nonSdkApiUsageReport,
   * encounteredNonAndroidUiWidgetScreen, encounteredLoginScreen,
   * performedGoogleLogin, iosException, iosCrash, performedMonkeyActions,
   * usedRoboDirective, usedRoboIgnoreDirective, insufficientCoverage,
   * inAppPurchases, crashDialogError, uiElementsTooDeep, blankScreen,
   * overlappingUiElements, unityException, deviceOutOfMemory,
   * logcatCollectionError, detectedAppSplashScreen, assetIssue
   *
   * @param self::TYPE_* $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return self::TYPE_*
   */
  public function getType()
  {
    return $this->type;
  }
  /**
   * Warning message with additional details of the issue. Should always be a
   * message from com.google.devtools.toolresults.v1.warnings
   *
   * @param Any $warningMigration
   */
  public function setWarningMigration(Any $warningMigration)
  {
    $this->warningMigration = $warningMigration;
  }
  /**
   * @return Any
   */
  public function getWarningMigration()
  {
    return $this->warningMigration;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIssue::class, 'Google_Service_ToolResults_TestIssue');
← Back