source: vendor/google/apiclient-services/src/ToolResults/TestCase.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.7 KB
Line 
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\ToolResults;
19
20class TestCase extends \Google\Collection
21{
22 protected $collection_key = 'toolOutputs';
23 protected $elapsedTimeType = Duration::class;
24 protected $elapsedTimeDataType = '';
25 protected $endTimeType = Timestamp::class;
26 protected $endTimeDataType = '';
27 /**
28 * @var string
29 */
30 public $skippedMessage;
31 protected $stackTracesType = StackTrace::class;
32 protected $stackTracesDataType = 'array';
33 protected $startTimeType = Timestamp::class;
34 protected $startTimeDataType = '';
35 /**
36 * @var string
37 */
38 public $status;
39 /**
40 * @var string
41 */
42 public $testCaseId;
43 protected $testCaseReferenceType = TestCaseReference::class;
44 protected $testCaseReferenceDataType = '';
45 protected $toolOutputsType = ToolOutputReference::class;
46 protected $toolOutputsDataType = 'array';
47
48 /**
49 * @param Duration
50 */
51 public function setElapsedTime(Duration $elapsedTime)
52 {
53 $this->elapsedTime = $elapsedTime;
54 }
55 /**
56 * @return Duration
57 */
58 public function getElapsedTime()
59 {
60 return $this->elapsedTime;
61 }
62 /**
63 * @param Timestamp
64 */
65 public function setEndTime(Timestamp $endTime)
66 {
67 $this->endTime = $endTime;
68 }
69 /**
70 * @return Timestamp
71 */
72 public function getEndTime()
73 {
74 return $this->endTime;
75 }
76 /**
77 * @param string
78 */
79 public function setSkippedMessage($skippedMessage)
80 {
81 $this->skippedMessage = $skippedMessage;
82 }
83 /**
84 * @return string
85 */
86 public function getSkippedMessage()
87 {
88 return $this->skippedMessage;
89 }
90 /**
91 * @param StackTrace[]
92 */
93 public function setStackTraces($stackTraces)
94 {
95 $this->stackTraces = $stackTraces;
96 }
97 /**
98 * @return StackTrace[]
99 */
100 public function getStackTraces()
101 {
102 return $this->stackTraces;
103 }
104 /**
105 * @param Timestamp
106 */
107 public function setStartTime(Timestamp $startTime)
108 {
109 $this->startTime = $startTime;
110 }
111 /**
112 * @return Timestamp
113 */
114 public function getStartTime()
115 {
116 return $this->startTime;
117 }
118 /**
119 * @param string
120 */
121 public function setStatus($status)
122 {
123 $this->status = $status;
124 }
125 /**
126 * @return string
127 */
128 public function getStatus()
129 {
130 return $this->status;
131 }
132 /**
133 * @param string
134 */
135 public function setTestCaseId($testCaseId)
136 {
137 $this->testCaseId = $testCaseId;
138 }
139 /**
140 * @return string
141 */
142 public function getTestCaseId()
143 {
144 return $this->testCaseId;
145 }
146 /**
147 * @param TestCaseReference
148 */
149 public function setTestCaseReference(TestCaseReference $testCaseReference)
150 {
151 $this->testCaseReference = $testCaseReference;
152 }
153 /**
154 * @return TestCaseReference
155 */
156 public function getTestCaseReference()
157 {
158 return $this->testCaseReference;
159 }
160 /**
161 * @param ToolOutputReference[]
162 */
163 public function setToolOutputs($toolOutputs)
164 {
165 $this->toolOutputs = $toolOutputs;
166 }
167 /**
168 * @return ToolOutputReference[]
169 */
170 public function getToolOutputs()
171 {
172 return $this->toolOutputs;
173 }
174}
175
176// Adding a class alias for backwards compatibility with the previous class name.
177class_alias(TestCase::class, 'Google_Service_ToolResults_TestCase');
Note: See TracBrowser for help on using the repository browser.