 
                 var result = "passed"
                 for failure in failures {
-                    failure.emit(fullName)
+                    failure.emit(testCase.name)
                     totalFailures += 1
                     if !failure.expected {
                         unexpectedFailures += 1

                    result = failures.count > 0 ? "failed" : "passed"
                }

                XCTPrint("Test Case '\(fullName)' \(result) (\(printableStringForTimeInterval(duration)) seconds).")
                XCTAllRuns.append(XCTRun(duration: duration, method: fullName, passed: failures.count == 0, failures: failures))
                XCTFailureHandler = nil
            }
        }


public class XCTestCase {

    /// The name of the test case, consisting of its class name and the method name it will run.
    /// - Note: FIXME: This property should be readonly, but currently has to be publicly settable due to a
    ///         toolchain bug on Linux. To ensure compatibility of tests between
    ///         swift-corelibs-xctest and Apple XCTest, this property should not be modified.
    public var name: String

    public required init() {
        name = "\(self.dynamicType).<unknown>"
    }

    public func setUp() {
