This repository has been archived by the owner on Dec 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from pvzig/tests
Add testing
- Loading branch information
Showing
20 changed files
with
1,985 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import XCTest | ||
|
||
import SlackKitTests | ||
|
||
var tests = [XCTestCaseEntry]() | ||
tests += SlackKitTests.__allTests() | ||
|
||
XCTMain(tests) |
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
Large diffs are not rendered by default.
Oops, something went wrong.
61 changes: 61 additions & 0 deletions
61
SlackKit.xcodeproj/xcshareddata/xcschemes/SlackKitTests.xcscheme
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,61 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1010" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<Testables> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "2601B6C0222085AB00F197AB" | ||
BuildableName = "SlackKitTests.xctest" | ||
BlueprintName = "SlackKitTests" | ||
ReferencedContainer = "container:SlackKit.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</Testables> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
<CommandLineArguments> | ||
<CommandLineArgument | ||
isEnabled = "YES"> | ||
</CommandLineArgument> | ||
</CommandLineArguments> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
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,53 @@ | ||
{ | ||
"ok": true, | ||
"channel": { | ||
"id": "C1H9RESGL", | ||
"name": "busting", | ||
"is_channel": true, | ||
"created": 1466025154, | ||
"creator": "U0G9QF9C6", | ||
"is_archived": false, | ||
"is_general": false, | ||
"name_normalized": "busting", | ||
"is_shared": false, | ||
"is_org_shared": false, | ||
"is_member": true, | ||
"is_private": false, | ||
"is_mpim": false, | ||
"last_read": "1503435939.000101", | ||
"latest": { | ||
"text": "Containment unit is 98% full", | ||
"username": "ecto1138", | ||
"bot_id": "B19LU7CSY", | ||
"attachments": [ | ||
{ | ||
"text": "Don't get too attached", | ||
"id": 1, | ||
"fallback": "This is an attachment fallback" | ||
} | ||
], | ||
"type": "message", | ||
"subtype": "bot_message", | ||
"ts": "1503435956.000247" | ||
}, | ||
"unread_count": 1, | ||
"unread_count_display": 1, | ||
"members": [ | ||
"U0G9QF9C6", | ||
"U1QNSQB9U" | ||
], | ||
"topic": { | ||
"value": "Spiritual containment strategies", | ||
"creator": "U0G9QF9C6", | ||
"last_set": 1503435128 | ||
}, | ||
"purpose": { | ||
"value": "Discuss busting ghosts", | ||
"creator": "U0G9QF9C6", | ||
"last_set": 1503435128 | ||
}, | ||
"previous_names": [ | ||
"dusting" | ||
] | ||
} | ||
} |
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,39 @@ | ||
{ | ||
"ok": true, | ||
"channel": { | ||
"id": "C012AB3CD", | ||
"name": "general", | ||
"is_channel": true, | ||
"is_group": false, | ||
"is_im": false, | ||
"created": 1449252889, | ||
"creator": "W012A3BCD", | ||
"is_archived": false, | ||
"is_general": true, | ||
"unlinked": 0, | ||
"name_normalized": "general", | ||
"is_read_only": false, | ||
"is_shared": false, | ||
"is_ext_shared": false, | ||
"is_org_shared": false, | ||
"pending_shared": [], | ||
"is_pending_ext_shared": false, | ||
"is_member": true, | ||
"is_private": false, | ||
"is_mpim": false, | ||
"last_read": "1502126650.228446", | ||
"topic": { | ||
"value": "For public discussion of generalities", | ||
"creator": "W012A3BCD", | ||
"last_set": 1449709364 | ||
}, | ||
"purpose": { | ||
"value": "This part of the workspace is for fun. Make fun here.", | ||
"creator": "W012A3BCD", | ||
"last_set": 1449709364 | ||
}, | ||
"previous_names": [ "specifics", "abstractions", "etc" ], | ||
"num_members": 23, | ||
"locale": "en-US" | ||
} | ||
} |
Oops, something went wrong.