anchor.diff:    }
   
     @override
  -  void onDone(bool success) {
  -    // override to avoid a call to "_postMessage(String)"
  +  void onDoneHook(bool success) {
       _receivePort.close();
     }
   
  
positive.code:         hostname != null ? hostname : Platform.localHostname);
    }
  
    final StringSink _output;
    final DateTime _time;
    final String _hostname;
  
    ReceivePort _receivePort;
    Map<TestCase, List<String>> _stdout;
  
    JUnitConfiguration._internal(this._output, this._time, this._hostname) : super() {
      throwOnTestFailures = false;
      stopTestOnExpectFailure = false;
    }
  
    @override
    String get name => 'JUnit Test Configuration';
  
    @override
    void onInit() {
      // override to avoid a call to "_postMessage(String)"
      filterStacks = false;
      _receivePort = new ReceivePort();
      _stdout = new Map();
    }
  
    @override
    void onLogMessage(TestCase testCase, String message) {
      _stdout.putIfAbsent(testCase, () => new List()).add(message);
    }
  
    @override
    void onSummary(int passed, int failed, int errors, List<TestCase> results, String uncaughtError) {
      var totalTime = 0, skipped = 0;
      for (var testCase in results) {
        if (testCase.runningTime != null) {
  
negative.code: import 'dart:io';
  import 'dart:isolate';
  import 'package:unittest/unittest.dart';
  import 'package:unittest/vm_config.dart';
  
  /**
   * A test configuration that emits JUnit compatible XML output.
   */
  class JUnitConfiguration extends SimpleConfiguration with _BaseJUnitConfiguration {
    /**
     * Install this configuration with the testing framework.
     */
  