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 |
|
---|
18 | namespace Google\Service\Testing;
|
---|
19 |
|
---|
20 | class 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 $iosRoboTestType = IosRoboTest::class;
|
---|
37 | protected $iosRoboTestDataType = '';
|
---|
38 | protected $iosTestLoopType = IosTestLoop::class;
|
---|
39 | protected $iosTestLoopDataType = '';
|
---|
40 | protected $iosTestSetupType = IosTestSetup::class;
|
---|
41 | protected $iosTestSetupDataType = '';
|
---|
42 | protected $iosXcTestType = IosXcTest::class;
|
---|
43 | protected $iosXcTestDataType = '';
|
---|
44 | protected $testSetupType = TestSetup::class;
|
---|
45 | protected $testSetupDataType = '';
|
---|
46 | /**
|
---|
47 | * @var string
|
---|
48 | */
|
---|
49 | public $testTimeout;
|
---|
50 |
|
---|
51 | /**
|
---|
52 | * @param AndroidInstrumentationTest
|
---|
53 | */
|
---|
54 | public function setAndroidInstrumentationTest(AndroidInstrumentationTest $androidInstrumentationTest)
|
---|
55 | {
|
---|
56 | $this->androidInstrumentationTest = $androidInstrumentationTest;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @return AndroidInstrumentationTest
|
---|
60 | */
|
---|
61 | public function getAndroidInstrumentationTest()
|
---|
62 | {
|
---|
63 | return $this->androidInstrumentationTest;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @param AndroidRoboTest
|
---|
67 | */
|
---|
68 | public function setAndroidRoboTest(AndroidRoboTest $androidRoboTest)
|
---|
69 | {
|
---|
70 | $this->androidRoboTest = $androidRoboTest;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return AndroidRoboTest
|
---|
74 | */
|
---|
75 | public function getAndroidRoboTest()
|
---|
76 | {
|
---|
77 | return $this->androidRoboTest;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param AndroidTestLoop
|
---|
81 | */
|
---|
82 | public function setAndroidTestLoop(AndroidTestLoop $androidTestLoop)
|
---|
83 | {
|
---|
84 | $this->androidTestLoop = $androidTestLoop;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return AndroidTestLoop
|
---|
88 | */
|
---|
89 | public function getAndroidTestLoop()
|
---|
90 | {
|
---|
91 | return $this->androidTestLoop;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param bool
|
---|
95 | */
|
---|
96 | public function setDisablePerformanceMetrics($disablePerformanceMetrics)
|
---|
97 | {
|
---|
98 | $this->disablePerformanceMetrics = $disablePerformanceMetrics;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return bool
|
---|
102 | */
|
---|
103 | public function getDisablePerformanceMetrics()
|
---|
104 | {
|
---|
105 | return $this->disablePerformanceMetrics;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param bool
|
---|
109 | */
|
---|
110 | public function setDisableVideoRecording($disableVideoRecording)
|
---|
111 | {
|
---|
112 | $this->disableVideoRecording = $disableVideoRecording;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return bool
|
---|
116 | */
|
---|
117 | public function getDisableVideoRecording()
|
---|
118 | {
|
---|
119 | return $this->disableVideoRecording;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @param IosRoboTest
|
---|
123 | */
|
---|
124 | public function setIosRoboTest(IosRoboTest $iosRoboTest)
|
---|
125 | {
|
---|
126 | $this->iosRoboTest = $iosRoboTest;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @return IosRoboTest
|
---|
130 | */
|
---|
131 | public function getIosRoboTest()
|
---|
132 | {
|
---|
133 | return $this->iosRoboTest;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @param IosTestLoop
|
---|
137 | */
|
---|
138 | public function setIosTestLoop(IosTestLoop $iosTestLoop)
|
---|
139 | {
|
---|
140 | $this->iosTestLoop = $iosTestLoop;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @return IosTestLoop
|
---|
144 | */
|
---|
145 | public function getIosTestLoop()
|
---|
146 | {
|
---|
147 | return $this->iosTestLoop;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @param IosTestSetup
|
---|
151 | */
|
---|
152 | public function setIosTestSetup(IosTestSetup $iosTestSetup)
|
---|
153 | {
|
---|
154 | $this->iosTestSetup = $iosTestSetup;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @return IosTestSetup
|
---|
158 | */
|
---|
159 | public function getIosTestSetup()
|
---|
160 | {
|
---|
161 | return $this->iosTestSetup;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @param IosXcTest
|
---|
165 | */
|
---|
166 | public function setIosXcTest(IosXcTest $iosXcTest)
|
---|
167 | {
|
---|
168 | $this->iosXcTest = $iosXcTest;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @return IosXcTest
|
---|
172 | */
|
---|
173 | public function getIosXcTest()
|
---|
174 | {
|
---|
175 | return $this->iosXcTest;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @param TestSetup
|
---|
179 | */
|
---|
180 | public function setTestSetup(TestSetup $testSetup)
|
---|
181 | {
|
---|
182 | $this->testSetup = $testSetup;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @return TestSetup
|
---|
186 | */
|
---|
187 | public function getTestSetup()
|
---|
188 | {
|
---|
189 | return $this->testSetup;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @param string
|
---|
193 | */
|
---|
194 | public function setTestTimeout($testTimeout)
|
---|
195 | {
|
---|
196 | $this->testTimeout = $testTimeout;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @return string
|
---|
200 | */
|
---|
201 | public function getTestTimeout()
|
---|
202 | {
|
---|
203 | return $this->testTimeout;
|
---|
204 | }
|
---|
205 | }
|
---|
206 |
|
---|
207 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
208 | class_alias(TestSpecification::class, 'Google_Service_Testing_TestSpecification');
|
---|