-
-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test support for swift package manager
Signed-off-by: Keshav Priyadarshi <[email protected]>
- Loading branch information
1 parent
12ee23b
commit 0ebd22b
Showing
14 changed files
with
1,850 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
323 changes: 323 additions & 0 deletions
323
tests/packagedcode/data/swift/packages/mapboxmaps_manifest/Package.swift.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,323 @@ | ||
{ | ||
"cLanguageStandard" : null, | ||
"cxxLanguageStandard" : null, | ||
"dependencies" : [ | ||
{ | ||
"sourceControl" : [ | ||
{ | ||
"identity" : "turf-swift", | ||
"location" : { | ||
"remote" : [ | ||
{ | ||
"urlString" : "https://github.com/mapbox/turf-swift.git" | ||
} | ||
] | ||
}, | ||
"productFilter" : null, | ||
"requirement" : { | ||
"range" : [ | ||
{ | ||
"lowerBound" : "2.8.0", | ||
"upperBound" : "3.0.0" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"sourceControl" : [ | ||
{ | ||
"identity" : "mapbox-core-maps-ios", | ||
"location" : { | ||
"remote" : [ | ||
{ | ||
"urlString" : "https://github.com/mapbox/mapbox-core-maps-ios.git" | ||
} | ||
] | ||
}, | ||
"productFilter" : null, | ||
"requirement" : { | ||
"exact" : [ | ||
"11.4.0-rc.2" | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"sourceControl" : [ | ||
{ | ||
"identity" : "mapbox-common-ios", | ||
"location" : { | ||
"remote" : [ | ||
{ | ||
"urlString" : "https://github.com/mapbox/mapbox-common-ios.git" | ||
} | ||
] | ||
}, | ||
"productFilter" : null, | ||
"requirement" : { | ||
"exact" : [ | ||
"24.4.0-rc.2" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"name" : "MapboxMaps", | ||
"packageKind" : { | ||
"root" : [ | ||
"/workspace" | ||
] | ||
}, | ||
"pkgConfig" : null, | ||
"platforms" : [ | ||
{ | ||
"options" : [ | ||
|
||
], | ||
"platformName" : "ios", | ||
"version" : "12.0" | ||
}, | ||
{ | ||
"options" : [ | ||
|
||
], | ||
"platformName" : "macos", | ||
"version" : "10.15" | ||
}, | ||
{ | ||
"options" : [ | ||
|
||
], | ||
"platformName" : "visionos", | ||
"version" : "1.0" | ||
} | ||
], | ||
"products" : [ | ||
{ | ||
"name" : "MapboxMaps", | ||
"targets" : [ | ||
"MapboxMaps" | ||
], | ||
"type" : { | ||
"library" : [ | ||
"automatic" | ||
] | ||
} | ||
} | ||
], | ||
"providers" : null, | ||
"swiftLanguageVersions" : null, | ||
"targets" : [ | ||
{ | ||
"dependencies" : [ | ||
{ | ||
"product" : [ | ||
"MapboxCoreMaps", | ||
"mapbox-core-maps-ios", | ||
null, | ||
null | ||
] | ||
}, | ||
{ | ||
"product" : [ | ||
"MapboxCommon", | ||
"mapbox-common-ios", | ||
null, | ||
null | ||
] | ||
}, | ||
{ | ||
"product" : [ | ||
"Turf", | ||
"turf-swift", | ||
null, | ||
null | ||
] | ||
} | ||
], | ||
"exclude" : [ | ||
"Info.plist" | ||
], | ||
"name" : "MapboxMaps", | ||
"packageAccess" : true, | ||
"resources" : [ | ||
{ | ||
"path" : "MapboxMaps.json", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "PrivacyInfo.xcprivacy", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
} | ||
], | ||
"settings" : [ | ||
|
||
], | ||
"type" : "regular" | ||
}, | ||
{ | ||
"dependencies" : [ | ||
{ | ||
"byName" : [ | ||
"MapboxMaps", | ||
null | ||
] | ||
} | ||
], | ||
"exclude" : [ | ||
|
||
], | ||
"name" : "MapboxMapsTests", | ||
"packageAccess" : true, | ||
"resources" : [ | ||
{ | ||
"path" : "MigrationGuide/Fixtures/polygon.geojson", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Helpers/MapboxAccessToken", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Resources/empty-style-chicago.json", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testDoesNotShowAttribution().png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testDoesNotShowLogo().png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testDoesNotShowLogoAndAttribution().png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testShowsLogoAndAttribution().png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testSnapshotAttribution-100.png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testSnapshotAttribution-150.png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testSnapshotAttribution-200.png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testSnapshotAttribution-250.png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testSnapshotAttribution-300.png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testSnapshotAttribution-50.png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testSnapshotLogoVisibility.png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Snapshot/testSnapshotOverlay.png", | ||
"rule" : { | ||
"copy" : { | ||
|
||
} | ||
} | ||
}, | ||
{ | ||
"path" : "Resources/MapInitOptionsTests.xib", | ||
"rule" : { | ||
"process" : { | ||
|
||
} | ||
} | ||
} | ||
], | ||
"settings" : [ | ||
|
||
], | ||
"type" : "test" | ||
} | ||
], | ||
"toolsVersion" : { | ||
"_version" : "5.9.0" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
tests/packagedcode/data/swift/packages/mapboxmaps_manifest/src/mapbox.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Test file for swift package. |
32 changes: 32 additions & 0 deletions
32
tests/packagedcode/data/swift/packages/mapboxmaps_manifest_and_resolved/Package.resolved
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "mapbox-common-ios", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/mapbox/mapbox-common-ios.git", | ||
"state" : { | ||
"revision" : "9c04997ed32c5b2506eb704f9f7a16367b5dcc64", | ||
"version" : "24.4.0" | ||
} | ||
}, | ||
{ | ||
"identity" : "mapbox-core-maps-ios", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/mapbox/mapbox-core-maps-ios.git", | ||
"state" : { | ||
"revision" : "c7897628028afb2c008d50c5d5d4054768c99340", | ||
"version" : "11.4.0" | ||
} | ||
}, | ||
{ | ||
"identity" : "turf-swift", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/mapbox/turf-swift.git", | ||
"state" : { | ||
"revision" : "213050191cfcb3d5aa76e1fa90c6ff1e182a42ca", | ||
"version" : "2.8.0" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
Oops, something went wrong.