Skip to content

Update APIs to match some tweaking for Swift3 in Xcode's XCTest. #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/XCTest/XCTestSuite.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class XCTestSuite: XCTest {
setUp()
for test in tests {
test.run()
testRun.addTest(test.testRun!)
testRun.addTestRun(test.testRun!)
}
tearDown()
run.stop()
Expand All @@ -80,4 +80,4 @@ public class XCTestSuite: XCTest {
public func addTest(_ test: XCTest) {
tests.append(test)
}
}
}
2 changes: 1 addition & 1 deletion Sources/XCTest/XCTestSuiteRun.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class XCTestSuiteRun: XCTestRun {

/// Add a test run to the collection of `testRuns`.
/// - Note: It is rare to call this method outside of XCTest itself.
public func addTest(_ testRun: XCTestRun) {
public func addTestRun(_ testRun: XCTestRun) {
testRuns.append(testRun)
}

Expand Down