func toString()

in Legacy/PlaygroundLogger/PlaygroundLogger/TestInfrastructure.swift [25:34]


    func toString() -> String {
        switch self {
        case .ExpectedSuccess: return "Expected Success"
        case .ExpectedFailure(let str): return "Expected Failure (\(str))"
        case .Skip(let str): return "Skip (\(str))"
        case .FailOnNonApplePlatform(let str): return "Fail on non-Apple platforms (\(str))"
        case .FailOnApplePlatform(let str): return "Fail on Apple platforms (\(str))"
        case .Custom(let pred): return "Custom (\(pred))"
        }
    }