0001    // This source file is part of the Swift.org open source project
0002    //
0003    // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
0004    // Licensed under Apache License v2.0 with Runtime Library Exception
0005    //
0006    // See http://swift.org/LICENSE.txt for license information
0007    // See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
0008    //
0009    //
0010    //  XCTestCaseProvider.swift
0011    //  Protocol for classes that can provide test cases
0012    //
0013    
0014    public protocol XCTestCaseProvider
XCTestCase.swift:14
public protocol XCTestCase : XCTestCaseProvider {
{ 0015 // In the Objective-C version of XCTest, it is possible to discover all tests when the test is executed by asking the runtime for all methods and looking for the string "test". In Swift, we ask test providers to tell us the list of tests by implementing this property. 0016 var allTests
XCTestCase.swift:31
        let tests = self.allTests
: [(String, () throws -> Void)] { get } 0017 } 0018 0019