@@ -4914,9 +4914,9 @@ final class WorkspaceTests: XCTestCase {
4914
4914
do {
4915
4915
let contents : String
4916
4916
switch request. url. lastPathComponent {
4917
- case " a1.ari " :
4917
+ case " a1.artifactbundleindex " :
4918
4918
contents = ariFiles [ 0 ]
4919
- case " a2.ari " :
4919
+ case " a2.artifactbundleindex " :
4920
4920
contents = ariFiles [ 1 ]
4921
4921
default :
4922
4922
throw StringError ( " unexpected url \( request. url) " )
@@ -4959,11 +4959,11 @@ final class WorkspaceTests: XCTestCase {
4959
4959
let name : String
4960
4960
switch archivePath. basename {
4961
4961
case " a1.zip " :
4962
- name = " A1.arar "
4962
+ name = " A1.artifactbundle "
4963
4963
case " a2.zip " :
4964
- name = " A2.arar "
4964
+ name = " A2.artifactbundle "
4965
4965
case " b.zip " :
4966
- name = " B.arar "
4966
+ name = " B.artifactbundle "
4967
4967
default :
4968
4968
throw StringError ( " unexpected archivePath \( archivePath) " )
4969
4969
}
@@ -5005,13 +5005,13 @@ final class WorkspaceTests: XCTestCase {
5005
5005
MockTarget (
5006
5006
name: " A1 " ,
5007
5007
type: . binary,
5008
- url: " https://a.com/a1.ari " ,
5008
+ url: " https://a.com/a1.artifactbundleindex " ,
5009
5009
checksum: ariFilesChecksums [ 0 ]
5010
5010
) ,
5011
5011
MockTarget (
5012
5012
name: " A2 " ,
5013
5013
type: . binary,
5014
- url: " https://a.com/a2.ari " ,
5014
+ url: " https://a.com/a2.artifactbundleindex " ,
5015
5015
checksum: ariFilesChecksums [ 1 ]
5016
5016
)
5017
5017
] ,
@@ -5077,23 +5077,23 @@ final class WorkspaceTests: XCTestCase {
5077
5077
url: " https://a.com/a1.zip " ,
5078
5078
checksum: " a1 "
5079
5079
) ,
5080
- path: workspace. artifactsDir. appending ( components: " A " , " A1.arar " )
5080
+ path: workspace. artifactsDir. appending ( components: " A " , " A1.artifactbundle " )
5081
5081
)
5082
5082
result. check ( packageName: " A " ,
5083
5083
targetName: " A2 " ,
5084
5084
source: . remote(
5085
5085
url: " https://a.com/a2/a2.zip " ,
5086
5086
checksum: " a2 "
5087
5087
) ,
5088
- path: workspace. artifactsDir. appending ( components: " A " , " A2.arar " )
5088
+ path: workspace. artifactsDir. appending ( components: " A " , " A2.artifactbundle " )
5089
5089
)
5090
5090
result. check ( packageName: " B " ,
5091
5091
targetName: " B " ,
5092
5092
source: . remote(
5093
5093
url: " https://b.com/b.zip " ,
5094
5094
checksum: " b0 "
5095
5095
) ,
5096
- path: workspace. artifactsDir. appending ( components: " B " , " B.arar " )
5096
+ path: workspace. artifactsDir. appending ( components: " B " , " B.artifactbundle " )
5097
5097
)
5098
5098
}
5099
5099
}
@@ -5127,7 +5127,7 @@ final class WorkspaceTests: XCTestCase {
5127
5127
MockPackage (
5128
5128
name: " A " ,
5129
5129
targets: [
5130
- MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.ari " , checksum: " does-not-matter " ) ,
5130
+ MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.artifactbundleindex " , checksum: " does-not-matter " ) ,
5131
5131
] ,
5132
5132
products: [
5133
5133
MockProduct ( name: " A " , targets: [ " A " ] ) ,
@@ -5139,7 +5139,7 @@ final class WorkspaceTests: XCTestCase {
5139
5139
5140
5140
workspace. checkPackageGraphFailure ( roots: [ " Foo " ] ) { diagnostics in
5141
5141
DiagnosticsEngineTester ( diagnostics) { result in
5142
- result. check ( diagnostic: . contains( " failed retrieving 'https://a.com/a.ari ': badResponseStatusCode(500) " ) , behavior: . error)
5142
+ result. check ( diagnostic: . contains( " failed retrieving 'https://a.com/a.artifactbundleindex ': badResponseStatusCode(500) " ) , behavior: . error)
5143
5143
}
5144
5144
}
5145
5145
}
@@ -5169,7 +5169,7 @@ final class WorkspaceTests: XCTestCase {
5169
5169
do {
5170
5170
let contents : String
5171
5171
switch request. url. lastPathComponent {
5172
- case " a.ari " :
5172
+ case " a.artifactbundleindex " :
5173
5173
contents = ari
5174
5174
default :
5175
5175
throw StringError ( " unexpected url \( request. url) " )
@@ -5200,7 +5200,7 @@ final class WorkspaceTests: XCTestCase {
5200
5200
MockPackage (
5201
5201
name: " A " ,
5202
5202
targets: [
5203
- MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.ari " , checksum: " incorrect " ) ,
5203
+ MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.artifactbundleindex " , checksum: " incorrect " ) ,
5204
5204
] ,
5205
5205
products: [
5206
5206
MockProduct ( name: " A " , targets: [ " A " ] ) ,
@@ -5212,7 +5212,7 @@ final class WorkspaceTests: XCTestCase {
5212
5212
5213
5213
workspace. checkPackageGraphFailure ( roots: [ " Foo " ] ) { diagnostics in
5214
5214
DiagnosticsEngineTester ( diagnostics) { result in
5215
- result. check ( diagnostic: . contains( " failed retrieving 'https://a.com/a.ari ': checksum of downloaded artifact of binary target 'A' ( \( ariChecksums) ) does not match checksum specified by the manifest (incorrect) " ) , behavior: . error)
5215
+ result. check ( diagnostic: . contains( " failed retrieving 'https://a.com/a.artifactbundleindex ': checksum of downloaded artifact of binary target 'A' ( \( ariChecksums) ) does not match checksum specified by the manifest (incorrect) " ) , behavior: . error)
5216
5216
}
5217
5217
}
5218
5218
}
@@ -5240,7 +5240,7 @@ final class WorkspaceTests: XCTestCase {
5240
5240
MockPackage (
5241
5241
name: " A " ,
5242
5242
targets: [
5243
- MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.ari " , checksum: " a " ) ,
5243
+ MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.artifactbundleindex " , checksum: " a " ) ,
5244
5244
] ,
5245
5245
products: [
5246
5246
MockProduct ( name: " A " , targets: [ " A " ] ) ,
@@ -5266,7 +5266,7 @@ final class WorkspaceTests: XCTestCase {
5266
5266
packageRef: aRef,
5267
5267
targetName: " A " ,
5268
5268
source: . remote(
5269
- url: " https://a.com/a.ari " ,
5269
+ url: " https://a.com/a.artifactbundleindex " ,
5270
5270
checksum: " old-checksum "
5271
5271
) ,
5272
5272
path: workspace. packagesDir. appending ( components: " A " , " A.xcframework " )
@@ -5308,7 +5308,7 @@ final class WorkspaceTests: XCTestCase {
5308
5308
do {
5309
5309
let contents : String
5310
5310
switch request. url. lastPathComponent {
5311
- case " a.ari " :
5311
+ case " a.artifactbundleindex " :
5312
5312
contents = ari
5313
5313
default :
5314
5314
throw StringError ( " unexpected url \( request. url) " )
@@ -5346,7 +5346,7 @@ final class WorkspaceTests: XCTestCase {
5346
5346
let name : String
5347
5347
switch archivePath. basename {
5348
5348
case " a.zip " :
5349
- name = " A.arar "
5349
+ name = " A.artifactbundle "
5350
5350
default :
5351
5351
throw StringError ( " unexpected archivePath \( archivePath) " )
5352
5352
}
@@ -5380,7 +5380,7 @@ final class WorkspaceTests: XCTestCase {
5380
5380
MockPackage (
5381
5381
name: " A " ,
5382
5382
targets: [
5383
- MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.ari " , checksum: ariChecksums) ,
5383
+ MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.artifactbundleindex " , checksum: ariChecksums) ,
5384
5384
] ,
5385
5385
products: [
5386
5386
MockProduct ( name: " A " , targets: [ " A " ] ) ,
@@ -5424,7 +5424,7 @@ final class WorkspaceTests: XCTestCase {
5424
5424
do {
5425
5425
let contents : String
5426
5426
switch request. url. lastPathComponent {
5427
- case " a.ari " :
5427
+ case " a.artifactbundleindex " :
5428
5428
contents = ari
5429
5429
default :
5430
5430
throw StringError ( " unexpected url \( request. url) " )
@@ -5458,7 +5458,7 @@ final class WorkspaceTests: XCTestCase {
5458
5458
MockPackage (
5459
5459
name: " A " ,
5460
5460
targets: [
5461
- MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.ari " , checksum: ariChecksums) ,
5461
+ MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.artifactbundleindex " , checksum: ariChecksums) ,
5462
5462
] ,
5463
5463
products: [
5464
5464
MockProduct ( name: " A " , targets: [ " A " ] ) ,
@@ -5503,7 +5503,7 @@ final class WorkspaceTests: XCTestCase {
5503
5503
do {
5504
5504
let contents : String
5505
5505
switch request. url. lastPathComponent {
5506
- case " a.ari " :
5506
+ case " a.artifactbundleindex " :
5507
5507
contents = ari
5508
5508
default :
5509
5509
throw StringError ( " unexpected url \( request. url) " )
@@ -5534,7 +5534,7 @@ final class WorkspaceTests: XCTestCase {
5534
5534
MockPackage (
5535
5535
name: " A " ,
5536
5536
targets: [
5537
- MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.ari " , checksum: ariChecksum) ,
5537
+ MockTarget ( name: " A " , type: . binary, url: " https://a.com/a.artifactbundleindex " , checksum: ariChecksum) ,
5538
5538
] ,
5539
5539
products: [
5540
5540
MockProduct ( name: " A " , targets: [ " A " ] ) ,
@@ -5546,7 +5546,7 @@ final class WorkspaceTests: XCTestCase {
5546
5546
5547
5547
workspace. checkPackageGraphFailure ( roots: [ " Foo " ] ) { diagnostics in
5548
5548
DiagnosticsEngineTester ( diagnostics) { result in
5549
- result. check ( diagnostic: . contains( " failed retrieving 'https://a.com/a.ari ': No supported archive was found for ' \( hostToolchain. triple. tripleString) ' " ) , behavior: . error)
5549
+ result. check ( diagnostic: . contains( " failed retrieving 'https://a.com/a.artifactbundleindex ': No supported archive was found for ' \( hostToolchain. triple. tripleString) ' " ) , behavior: . error)
5550
5550
}
5551
5551
}
5552
5552
}
0 commit comments