Skip to content
Permalink
Browse files

Guess not

  • Loading branch information...
pvzig committed Mar 6, 2019
1 parent 1ad14f0 commit 245d70912516d0ba7eed8f1c340bdbe6ebed8d40
Showing with 39 additions and 3 deletions.
  1. +8 −0 LinuxMain.swift
  2. +0 −2 SlackKit.xcodeproj/project.pbxproj
  3. +31 −0 SlackKitTests/XCTestManifests.swift
  4. +0 −1 azure-pipelines.yml
@@ -0,0 +1,8 @@
import XCTest

import SlackKitTests

var tests = [XCTestCaseEntry]()
tests += SlackKitTests.__allTests()

XCTMain(tests)
@@ -311,7 +311,6 @@
26D4E6292220731800A67B67 /* rtm.connect.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = rtm.connect.json; sourceTree = "<group>"; };
26D4E62A2220731800A67B67 /* file.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = file.json; sourceTree = "<group>"; };
26D4E6362220733F00A67B67 /* SKCoreTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SKCoreTests.swift; sourceTree = "<group>"; };
26D4E6372220733F00A67B67 /* XCTestManifests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = XCTestManifests.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
@@ -803,7 +802,6 @@
26D4E6112220719D00A67B67 /* SlackKitTests */ = {
isa = PBXGroup;
children = (
26D4E6372220733F00A67B67 /* XCTestManifests.swift */,
26D4E61A222072BC00A67B67 /* SlackKit */,
26D4E61B222072C600A67B67 /* SKClient */,
26D4E61C222072D100A67B67 /* SKCore */,
@@ -0,0 +1,31 @@
import XCTest

extension SKClientTests {
static let __allTests = [
("testMemberJoinedChannel", testMemberJoinedChannel),
("testMemberLeftChannel", testMemberLeftChannel),
]
}

extension SKCoreTests {
static let __allTests = [
("testChannel", testChannel),
("testConversation", testConversation),
("testEvents", testEvents),
("testFile", testFile),
("testGroup", testGroup),
("testIm", testIm),
("testMpim", testMpim),
("testUser", testUser),
("testUserGroup", testUserGroup),
]
}

#if !os(macOS)
public func __allTests() -> [XCTestCaseEntry] {
return [
testCase(SKClientTests.__allTests),
testCase(SKCoreTests.__allTests),
]
}
#endif
@@ -81,5 +81,4 @@ jobs:
# Swift build
$(Build.SourcesDirectory)/swift-4.2.1-RELEASE-ubuntu16.04/usr/bin/swift build
# Swift test
$(Build.SourcesDirectory)/swift-4.2.1-RELEASE-ubuntu16.04/usr/bin/swift test --generate-linuxmain
$(Build.SourcesDirectory)/swift-4.2.1-RELEASE-ubuntu16.04/usr/bin/swift test

0 comments on commit 245d709

Please sign in to comment.
You can’t perform that action at this time.