1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Testing;
19
20class TestSpecification extends \Google\Model
21{
22  protected $androidInstrumentationTestType = AndroidInstrumentationTest::class;
23  protected $androidInstrumentationTestDataType = '';
24  protected $androidRoboTestType = AndroidRoboTest::class;
25  protected $androidRoboTestDataType = '';
26  protected $androidTestLoopType = AndroidTestLoop::class;
27  protected $androidTestLoopDataType = '';
28  /**
29   * @var bool
30   */
31  public $disablePerformanceMetrics;
32  /**
33   * @var bool
34   */
35  public $disableVideoRecording;
36  protected $iosTestLoopType = IosTestLoop::class;
37  protected $iosTestLoopDataType = '';
38  protected $iosTestSetupType = IosTestSetup::class;
39  protected $iosTestSetupDataType = '';
40  protected $iosXcTestType = IosXcTest::class;
41  protected $iosXcTestDataType = '';
42  protected $testSetupType = TestSetup::class;
43  protected $testSetupDataType = '';
44  /**
45   * @var string
46   */
47  public $testTimeout;
48
49  /**
50   * @param AndroidInstrumentationTest
51   */
52  public function setAndroidInstrumentationTest(AndroidInstrumentationTest $androidInstrumentationTest)
53  {
54    $this->androidInstrumentationTest = $androidInstrumentationTest;
55  }
56  /**
57   * @return AndroidInstrumentationTest
58   */
59  public function getAndroidInstrumentationTest()
60  {
61    return $this->androidInstrumentationTest;
62  }
63  /**
64   * @param AndroidRoboTest
65   */
66  public function setAndroidRoboTest(AndroidRoboTest $androidRoboTest)
67  {
68    $this->androidRoboTest = $androidRoboTest;
69  }
70  /**
71   * @return AndroidRoboTest
72   */
73  public function getAndroidRoboTest()
74  {
75    return $this->androidRoboTest;
76  }
77  /**
78   * @param AndroidTestLoop
79   */
80  public function setAndroidTestLoop(AndroidTestLoop $androidTestLoop)
81  {
82    $this->androidTestLoop = $androidTestLoop;
83  }
84  /**
85   * @return AndroidTestLoop
86   */
87  public function getAndroidTestLoop()
88  {
89    return $this->androidTestLoop;
90  }
91  /**
92   * @param bool
93   */
94  public function setDisablePerformanceMetrics($disablePerformanceMetrics)
95  {
96    $this->disablePerformanceMetrics = $disablePerformanceMetrics;
97  }
98  /**
99   * @return bool
100   */
101  public function getDisablePerformanceMetrics()
102  {
103    return $this->disablePerformanceMetrics;
104  }
105  /**
106   * @param bool
107   */
108  public function setDisableVideoRecording($disableVideoRecording)
109  {
110    $this->disableVideoRecording = $disableVideoRecording;
111  }
112  /**
113   * @return bool
114   */
115  public function getDisableVideoRecording()
116  {
117    return $this->disableVideoRecording;
118  }
119  /**
120   * @param IosTestLoop
121   */
122  public function setIosTestLoop(IosTestLoop $iosTestLoop)
123  {
124    $this->iosTestLoop = $iosTestLoop;
125  }
126  /**
127   * @return IosTestLoop
128   */
129  public function getIosTestLoop()
130  {
131    return $this->iosTestLoop;
132  }
133  /**
134   * @param IosTestSetup
135   */
136  public function setIosTestSetup(IosTestSetup $iosTestSetup)
137  {
138    $this->iosTestSetup = $iosTestSetup;
139  }
140  /**
141   * @return IosTestSetup
142   */
143  public function getIosTestSetup()
144  {
145    return $this->iosTestSetup;
146  }
147  /**
148   * @param IosXcTest
149   */
150  public function setIosXcTest(IosXcTest $iosXcTest)
151  {
152    $this->iosXcTest = $iosXcTest;
153  }
154  /**
155   * @return IosXcTest
156   */
157  public function getIosXcTest()
158  {
159    return $this->iosXcTest;
160  }
161  /**
162   * @param TestSetup
163   */
164  public function setTestSetup(TestSetup $testSetup)
165  {
166    $this->testSetup = $testSetup;
167  }
168  /**
169   * @return TestSetup
170   */
171  public function getTestSetup()
172  {
173    return $this->testSetup;
174  }
175  /**
176   * @param string
177   */
178  public function setTestTimeout($testTimeout)
179  {
180    $this->testTimeout = $testTimeout;
181  }
182  /**
183   * @return string
184   */
185  public function getTestTimeout()
186  {
187    return $this->testTimeout;
188  }
189}
190
191// Adding a class alias for backwards compatibility with the previous class name.
192class_alias(TestSpecification::class, 'Google_Service_Testing_TestSpecification');
193