fix can’t test :(

This commit is contained in:
shogo4405 2017-08-08 22:15:54 +09:00
parent dcaad07eb5
commit a38799de07
20 changed files with 22 additions and 20 deletions

View File

@ -2,6 +2,7 @@ import HaishinKit
import UIKit
import AVFoundation
import Photos
import VideoToolbox
let sampleRate:Double = 44_100
@ -53,6 +54,8 @@ final class LiveViewController: UIViewController {
rtmpStream.videoSettings = [
"width": 1280,
"height": 720,
"bitrate": 900 * 1024,
"profileLevel": kVTProfileLevel_H264_Baseline_AutoLevel,
]
rtmpStream.audioSettings = [
"sampleRate": sampleRate

View File

@ -1570,8 +1570,7 @@
files = (
);
inputPaths = (
"$(SRCROOT)/Carthage/Build/Mac/XCGLogger.framework",
"$(SRCROOT)/Carthage/Build/Mac/ObjcExceptionBridging.framework",
"$(SRCROOT)/Carthage/Build/Mac/Logboard.framework",
);
outputPaths = (
);

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class FoundationExtensionTest: XCTestCase {
func testNSURL() {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class SwiftCoreExtensionTests: XCTestCase {
func testInt32() {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class HTTPRequestTests: XCTestCase {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class MP4SamplerTests: XCTestCase {
func testMain() {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class PacketizedElementaryStreamTests: XCTestCase {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class ProgramSpecificTests: XCTestCase {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class TSTests: XCTestCase {
static let dataWithMetadata:Data = Data([71, 64, 17, 16, 0, 66, 240, 37, 0, 1, 193, 0, 0, 0, 1, 255, 0, 1, 252, 128, 20, 72, 18, 1, 6, 70, 70, 109, 112, 101, 103, 9, 83, 101, 114, 118, 105, 99, 101, 48, 49, 167, 121, 160, 3, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255])

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class AMF0SerializerTests: XCTestCase {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class ASClassTests: XCTestCase {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class RTMPChunkTests: XCTestCase {
func testChunkTwo() {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class RTMPConnectionTests: XCTestCase {
func publish() {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class RTMPReaderTests: XCTestCase {
func testReader() {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class SessionDescriptionTests: XCTestCase {
static let contents:String =

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class ByteArrayTests: XCTestCase {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class CRC32Tests: XCTestCase {
static let tableOfMpeg2:[UInt32] = [

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class EventDispatcherTest: XCTestCase {
func testMain() {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class MD5Tests: XCTestCase {

View File

@ -1,7 +1,7 @@
import Foundation
import XCTest
@testable import lf
@testable import HaishinKit
final class TimerDriverTests: XCTestCase {
}