All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.testing.model.IosXcTest Maven / Gradle / Ivy

/*
 * Copyright 2010 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.
 */
/*
 * This code was generated by https://github.com/google/apis-client-generator/
 * (build: 2018-10-08 17:45:39 UTC)
 * on 2019-04-09 at 00:25:22 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.testing.model;

/**
 * A test of an iOS application that uses the XCTest framework. Xcode supports the option to "build
 * for testing", which generates an .xctestrun file that contains a test specification (arguments,
 * test methods, etc). This test type accepts a zip file containing the .xctestrun file and the
 * corresponding contents of the Build/Products directory that contains all the binaries needed to
 * run the tests.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Testing API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class IosXcTest extends com.google.api.client.json.GenericJson { /** * Output only. The bundle id for the application under test. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String appBundleId; /** * Required. The .zip containing the .xctestrun file and the contents of the * DerivedData/Build/Products directory. The .xctestrun file in this zip is ignored if the * xctestrun field is specified. * The value may be {@code null}. */ @com.google.api.client.util.Key private FileReference testsZip; /** * The Xcode version that should be used for the test. Use the TestEnvironmentDiscoveryService to * get supported options. Defaults to the latest Xcode version Firebase Test Lab supports. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String xcodeVersion; /** * An .xctestrun file that will override the .xctestrun file in the tests zip. Because the * .xctestrun file contains environment variables along with test methods to run and/or ignore, * this can be useful for sharding tests. Default is taken from the tests zip. * The value may be {@code null}. */ @com.google.api.client.util.Key private FileReference xctestrun; /** * Output only. The bundle id for the application under test. * @return value or {@code null} for none */ public java.lang.String getAppBundleId() { return appBundleId; } /** * Output only. The bundle id for the application under test. * @param appBundleId appBundleId or {@code null} for none */ public IosXcTest setAppBundleId(java.lang.String appBundleId) { this.appBundleId = appBundleId; return this; } /** * Required. The .zip containing the .xctestrun file and the contents of the * DerivedData/Build/Products directory. The .xctestrun file in this zip is ignored if the * xctestrun field is specified. * @return value or {@code null} for none */ public FileReference getTestsZip() { return testsZip; } /** * Required. The .zip containing the .xctestrun file and the contents of the * DerivedData/Build/Products directory. The .xctestrun file in this zip is ignored if the * xctestrun field is specified. * @param testsZip testsZip or {@code null} for none */ public IosXcTest setTestsZip(FileReference testsZip) { this.testsZip = testsZip; return this; } /** * The Xcode version that should be used for the test. Use the TestEnvironmentDiscoveryService to * get supported options. Defaults to the latest Xcode version Firebase Test Lab supports. * @return value or {@code null} for none */ public java.lang.String getXcodeVersion() { return xcodeVersion; } /** * The Xcode version that should be used for the test. Use the TestEnvironmentDiscoveryService to * get supported options. Defaults to the latest Xcode version Firebase Test Lab supports. * @param xcodeVersion xcodeVersion or {@code null} for none */ public IosXcTest setXcodeVersion(java.lang.String xcodeVersion) { this.xcodeVersion = xcodeVersion; return this; } /** * An .xctestrun file that will override the .xctestrun file in the tests zip. Because the * .xctestrun file contains environment variables along with test methods to run and/or ignore, * this can be useful for sharding tests. Default is taken from the tests zip. * @return value or {@code null} for none */ public FileReference getXctestrun() { return xctestrun; } /** * An .xctestrun file that will override the .xctestrun file in the tests zip. Because the * .xctestrun file contains environment variables along with test methods to run and/or ignore, * this can be useful for sharding tests. Default is taken from the tests zip. * @param xctestrun xctestrun or {@code null} for none */ public IosXcTest setXctestrun(FileReference xctestrun) { this.xctestrun = xctestrun; return this; } @Override public IosXcTest set(String fieldName, Object value) { return (IosXcTest) super.set(fieldName, value); } @Override public IosXcTest clone() { return (IosXcTest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy