@@ -178,11 +178,11 @@ TEST(Interface, FetchResources)
178
178
179
179
// Check it was downloaded to `1`
180
180
EXPECT_EQ (path, common::cwd () + " /test_cache/fuel.ignitionrobotics.org/"
181
- " openrobotics/worlds/Test world/1 " );
181
+ " openrobotics/worlds/Test world/2 " );
182
182
EXPECT_TRUE (common::exists (" test_cache/fuel.ignitionrobotics.org/"
183
- " openrobotics/worlds/Test world/1 " ));
183
+ " openrobotics/worlds/Test world/2 " ));
184
184
EXPECT_TRUE (common::exists (" test_cache/fuel.ignitionrobotics.org/"
185
- " openrobotics/worlds/Test world/1 /test.world" ));
185
+ " openrobotics/worlds/Test world/2 /test.world" ));
186
186
187
187
// Check it is cached
188
188
{
@@ -191,17 +191,17 @@ TEST(Interface, FetchResources)
191
191
EXPECT_EQ (Result (ResultType::FETCH_ALREADY_EXISTS), res);
192
192
EXPECT_EQ (common::cwd () +
193
193
" /test_cache/fuel.ignitionrobotics.org/openrobotics/worlds/"
194
- " Test world/1 " , cachedPath);
194
+ " Test world/2 " , cachedPath);
195
195
}
196
196
}
197
197
198
198
// World file
199
199
{
200
200
// Check neither file nor its world are cached
201
201
common::URI worldUrl{
202
- " https://fuel.ignitionrobotics.org/1.0/chapulina/worlds/Test world/1 /" };
202
+ " https://fuel.ignitionrobotics.org/1.0/chapulina/worlds/Test world/2 /" };
203
203
common::URI worldFileUrl{
204
- " https://fuel.ignitionrobotics.org/1.0/chapulina/worlds/Test world/1 /"
204
+ " https://fuel.ignitionrobotics.org/1.0/chapulina/worlds/Test world/2 /"
205
205
" files/thumbnails/1.png" };
206
206
207
207
{
@@ -220,12 +220,12 @@ TEST(Interface, FetchResources)
220
220
221
221
// Check entire world was downloaded to `1`
222
222
EXPECT_TRUE (common::exists (
223
- " test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/1 " ));
223
+ " test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/2 " ));
224
224
EXPECT_EQ (path, common::cwd () +
225
- " /test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/1 /"
225
+ " /test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/2 /"
226
226
" thumbnails/1.png" );
227
227
EXPECT_TRUE (common::exists (
228
- " test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/1 /"
228
+ " test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/2 /"
229
229
" test.world" ));
230
230
231
231
// Check world is cached
@@ -234,7 +234,7 @@ TEST(Interface, FetchResources)
234
234
EXPECT_TRUE (res);
235
235
EXPECT_EQ (Result (ResultType::FETCH_ALREADY_EXISTS), res);
236
236
EXPECT_EQ (common::cwd () +
237
- " /test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/1 " ,
237
+ " /test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/2 " ,
238
238
cachedPath);
239
239
}
240
240
@@ -244,7 +244,7 @@ TEST(Interface, FetchResources)
244
244
EXPECT_TRUE (res);
245
245
EXPECT_EQ (Result (ResultType::FETCH_ALREADY_EXISTS), res);
246
246
EXPECT_EQ (common::cwd () +
247
- " /test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/1 "
247
+ " /test_cache/fuel.ignitionrobotics.org/chapulina/worlds/Test world/2 "
248
248
" /thumbnails/1.png" ,
249
249
cachedPath);
250
250
}
0 commit comments