@@ -146,38 +146,12 @@ class DataserviceReadVersionedLayerClientTest : public ::testing::Test {
146146 olp::http::HttpStatusCode::OK),
147147 HTTP_RESPONSE_LOOKUP_QUERY));
148148
149- ON_CALL (*network_mock_,
150- Send (IsGetRequest (URL_QUERY_PARTITION_269), _, _, _, _))
151- .WillByDefault (
152- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
153- olp::http::HttpStatusCode::OK),
154- HTTP_RESPONSE_PARTITION_269));
155-
156149 ON_CALL (*network_mock_, Send (IsGetRequest (URL_LOOKUP_BLOB), _, _, _, _))
157150 .WillByDefault (
158151 ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
159152 olp::http::HttpStatusCode::OK),
160153 HTTP_RESPONSE_LOOKUP_BLOB));
161154
162- ON_CALL (*network_mock_, Send (IsGetRequest (URL_BLOB_DATA_269), _, _, _, _))
163- .WillByDefault (
164- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
165- olp::http::HttpStatusCode::OK),
166- HTTP_RESPONSE_BLOB_DATA_269));
167-
168- ON_CALL (*network_mock_, Send (IsGetRequest (URL_PARTITION_3), _, _, _, _))
169- .WillByDefault (
170- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
171- olp::http::HttpStatusCode::OK),
172- HTTP_RESPONSE_PARTITION_3));
173-
174- ON_CALL (*network_mock_,
175- Send (IsGetRequest (URL_LOOKUP_VOLATILE_BLOB), _, _, _, _))
176- .WillByDefault (
177- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
178- olp::http::HttpStatusCode::OK),
179- HTTP_RESPONSE_LOOKUP_VOLATILE_BLOB));
180-
181155 ON_CALL (*network_mock_,
182156 Send (IsGetRequest (URL_LAYER_VERSIONS_V2), _, _, _, _))
183157 .WillByDefault (
@@ -191,34 +165,6 @@ class DataserviceReadVersionedLayerClientTest : public ::testing::Test {
191165 olp::http::HttpStatusCode::OK),
192166 HTTP_RESPONSE_PARTITIONS_V2));
193167
194- ON_CALL (*network_mock_,
195- Send (IsGetRequest (URL_QUERY_PARTITION_269_V2), _, _, _, _))
196- .WillByDefault (
197- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
198- olp::http::HttpStatusCode::OK),
199- HTTP_RESPONSE_PARTITION_269_V2));
200-
201- ON_CALL (*network_mock_,
202- Send (IsGetRequest (URL_BLOB_DATA_269_V2), _, _, _, _))
203- .WillByDefault (
204- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
205- olp::http::HttpStatusCode::OK),
206- HTTP_RESPONSE_BLOB_DATA_269_V2));
207-
208- ON_CALL (*network_mock_,
209- Send (IsGetRequest (URL_QUERY_PARTITION_269_V10), _, _, _, _))
210- .WillByDefault (
211- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
212- olp::http::HttpStatusCode::BAD_REQUEST),
213- HTTP_RESPONSE_INVALID_VERSION_V10));
214-
215- ON_CALL (*network_mock_,
216- Send (IsGetRequest (URL_QUERY_PARTITION_269_VN1), _, _, _, _))
217- .WillByDefault (
218- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
219- olp::http::HttpStatusCode::BAD_REQUEST),
220- HTTP_RESPONSE_INVALID_VERSION_VN1));
221-
222168 ON_CALL (*network_mock_,
223169 Send (IsGetRequest (URL_LAYER_VERSIONS_V10), _, _, _, _))
224170 .WillByDefault (
@@ -233,19 +179,6 @@ class DataserviceReadVersionedLayerClientTest : public ::testing::Test {
233179 olp::http::HttpStatusCode::BAD_REQUEST),
234180 HTTP_RESPONSE_INVALID_VERSION_VN1));
235181
236- ON_CALL (*network_mock_, Send (IsGetRequest (URL_CONFIG_V2), _, _, _, _))
237- .WillByDefault (
238- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
239- olp::http::HttpStatusCode::OK),
240- HTTP_RESPONSE_CONFIG_V2));
241-
242- ON_CALL (*network_mock_,
243- Send (IsGetRequest (URL_QUADKEYS_23618364), _, _, _, _))
244- .WillByDefault (
245- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
246- olp::http::HttpStatusCode::OK),
247- HTTP_RESPONSE_QUADKEYS_23618364));
248-
249182 ON_CALL (*network_mock_,
250183 Send (IsGetRequest (URL_QUADKEYS_1476147), _, _, _, _))
251184 .WillByDefault (
@@ -260,12 +193,6 @@ class DataserviceReadVersionedLayerClientTest : public ::testing::Test {
260193 olp::http::HttpStatusCode::OK),
261194 HTTP_RESPONSE_QUADKEYS_5904591));
262195
263- ON_CALL (*network_mock_, Send (IsGetRequest (URL_QUADKEYS_369036), _, _, _, _))
264- .WillByDefault (
265- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
266- olp::http::HttpStatusCode::OK),
267- HTTP_RESPONSE_QUADKEYS_369036));
268-
269196 ON_CALL (*network_mock_,
270197 Send (IsGetRequest (URL_BLOB_DATA_PREFETCH_1), _, _, _, _))
271198 .WillByDefault (
@@ -280,13 +207,6 @@ class DataserviceReadVersionedLayerClientTest : public ::testing::Test {
280207 olp::http::HttpStatusCode::OK),
281208 HTTP_RESPONSE_BLOB_DATA_PREFETCH_2));
282209
283- ON_CALL (*network_mock_,
284- Send (IsGetRequest (URL_BLOB_DATA_PREFETCH_3), _, _, _, _))
285- .WillByDefault (
286- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
287- olp::http::HttpStatusCode::OK),
288- HTTP_RESPONSE_BLOB_DATA_PREFETCH_3));
289-
290210 ON_CALL (*network_mock_,
291211 Send (IsGetRequest (URL_BLOB_DATA_PREFETCH_4), _, _, _, _))
292212 .WillByDefault (
@@ -308,13 +228,6 @@ class DataserviceReadVersionedLayerClientTest : public ::testing::Test {
308228 olp::http::HttpStatusCode::OK),
309229 HTTP_RESPONSE_BLOB_DATA_PREFETCH_6));
310230
311- ON_CALL (*network_mock_,
312- Send (IsGetRequest (URL_BLOB_DATA_PREFETCH_7), _, _, _, _))
313- .WillByDefault (
314- ReturnHttpResponse (olp::http::NetworkResponse ().WithStatus (
315- olp::http::HttpStatusCode::OK),
316- HTTP_RESPONSE_BLOB_DATA_PREFETCH_7));
317-
318231 // Catch any non-interesting network calls that don't need to be verified
319232 EXPECT_CALL (*network_mock_, Send (_, _, _, _, _)).Times (testing::AtLeast (0 ));
320233 }
0 commit comments