anchor.diff:          // this suite.
           if (!testCache.containsKey(suiteName)) {
             cachedTests = testCache[suiteName] = [];
  -          if (configuration['shards'] > 1) {
  -	    // If we are sharding tests, we do not enqueue them as they are
  -            // found in the directory listing.  We add all the tests to the
  -            // testCache, then delete all but this shard's tests from the
  -            // cache.  The doDone function then enqueues the tests from the
  -            // cache, and other configurations also use the shard from the
  -            // cache.
  -            Function oldDone = doDone;
  -            doDone = () {
  -              testCache[suiteName] = shardTests();
  -              for (var info in testCache[suiteName]) {
  -                enqueueTestCaseFromTestInformation(info);
  -              }
  -              oldDone();
  -            };
  -          }            
             processDirectory();
           } else {
             // We rely on enqueueing completing asynchronously so use a
  
positive.code:                                      hasRuntimeErrors,
                                       multitestOutcome);
        cachedTests.add(info);
        if (configuration['shards'] == 1) {
          // If we are not sharding, we queue the tests as we find them.
          enqueueTestCaseFromTestInformation(info);
        }
      };
    }
  
  
negative.code:              bool hasFatalTypeErrors = false,
               bool hasRuntimeErrors = false,
               Set<String> multitestOutcome = null]) {
        int shards = configuration['shards'];
        if (shards > 1) {
          int shard = configuration['shard'];
          if (filename.hashCode() % shards != shard -1) {
            return;
          }
        }
  
        // Cache the test information for each test case.
        var info = new TestInformation(filename,
                                       optionsFromFile,
  