0001 public protocol Reporter{ 0002 /// Create a new report 0003 func report
Global.swift:22 let reporter: ReporterGlobal.swift:35 @noreturn public func run(reporter: Reporter) {GlobalContext.swift:14 func run(reporter:Reporter) -> Bool {Reporters.swift:60 class CountReporter : Reporter, ContextReporter {(@noescape closure:ContextReporter -> ()) -> Bool 0004 } 0005 0006 public protocol ContextReporter
GlobalContext.swift:15 return reporter.report { reporter in{ 0007 func report
Case.swift:3 func run(reporter: ContextReporter)Case.swift:17 func run(reporter:ContextReporter) {Context.swift:92 func run(reporter: ContextReporter) {Reporter.swift:3 func report(@noescape closure:ContextReporter -> ()) -> BoolReporter.swift:7 func report(name:String, @noescape closure:ContextReporter -> ())Reporters.swift:60 class CountReporter : Reporter, ContextReporter {Reporters.swift:84 func report(@noescape closure: ContextReporter -> ()) -> Bool {Reporters.swift:90 func report(name: String, @noescape closure: ContextReporter -> ()) {Reporters.swift:114 override func report(name: String, @noescape closure: ContextReporter -> ()) {(name:String, @noescape closure:ContextReporter -> ()) 0008 0009 /// Add a passing test case 0010 func addSuccess
Context.swift:98 reporter.report(name) { reporter in(name:String) 0011 0012 /// Add a disabled test case 0013 func addDisabled
Case.swift:25 reporter.addSuccess(name)(name: String) 0014 0015 /// Adds a failing test case 0016 func addFailure
Case.swift:19 reporter.addDisabled(name)Context.swift:94 reporter.addDisabled(name)(name:String, failure: FailureType) 0017 } 0018
Case.swift:27 reporter.addFailure(name, failure: error)Case.swift:29 reporter.addFailure(name, failure: Failure(reason: "Unhandled error: \(error)"))