forked from worldiety/Swift-YouTube-Player
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marcel Tuchner
committed
Mar 4, 2021
1 parent
4948607
commit 14d5e7f
Showing
6 changed files
with
90 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
.DS_Store | ||
*/build/* | ||
build/* | ||
*/.build/* | ||
.build/* | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
|
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,30 @@ | ||
// swift-tools-version:5.3 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "YouTubePlayer", | ||
platforms: [.iOS(.v13)], | ||
products: [ | ||
.library(name: "YouTubePlayer", | ||
targets: ["YouTubePlayer"]) | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target( | ||
name: "YouTubePlayer", | ||
dependencies: [], | ||
path: "YouTubePlayer/YouTubePlayer", | ||
exclude: ["Info.plist"], | ||
resources: [ | ||
.process("YTPlayer.html") | ||
] | ||
), | ||
.testTarget( | ||
name: "YouTubePlayerTests", | ||
dependencies: ["YouTubePlayer"], | ||
path: "YouTubePlayer/Tests/YouTubePlayerTests" | ||
) | ||
] | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
YouTubePlayer/Tests/YouTubePlayerTests/YouTubePlayerTests.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,33 @@ | ||
// | ||
// YouTubePlayerTests.swift | ||
// YouTubePlayer | ||
// | ||
// Created by Marcel on 04.03.21. | ||
// Copyright © 2021 Giles Van Gruisen. All rights reserved. | ||
// | ||
|
||
import XCTest | ||
|
||
class YouTubePlayerTests: XCTestCase { | ||
|
||
override func setUpWithError() throws { | ||
// Put setup code here. This method is called before the invocation of each test method in the class. | ||
} | ||
|
||
override func tearDownWithError() throws { | ||
// Put teardown code here. This method is called after the invocation of each test method in the class. | ||
} | ||
|
||
func testExample() throws { | ||
// This is an example of a functional test case. | ||
// Use XCTAssert and related functions to verify your tests produce the correct results. | ||
} | ||
|
||
func testPerformanceExample() throws { | ||
// This is an example of a performance test case. | ||
self.measure { | ||
// Put the code you want to measure the time of here. | ||
} | ||
} | ||
|
||
} |
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
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