<commit_before><!DOCTYPE html>

<!-- FIXME console reporter output does not include name of top-level describe -->
<!-- FIXME console reporter requires window.console_reporter. This is to be
     reported to phantom-jasmine -->


<!--

 Note: we assume that Plovr is available at <hostname>:9810, where
 <hostname> is the name of the host used for loading that page. This
 can be overriden by setting plovr_host in the query string. E.g.

     http://localhost/ol3/test/ol.html?plovr_host=192.168.1.2:9810
-->


<html>
<head>
  <title>OL Spec Runner</title>

  <link rel="shortcut icon" type="image/png" href="jasmine-1.2.0/jasmine_favicon.png">
  <link rel="stylesheet" type="text/css" href="jasmine-1.2.0/jasmine.css">
  <script type="text/javascript" src="jasmine-1.2.0/jasmine.js"></script>
  <script type="text/javascript" src="jasmine-1.2.0/jasmine-html.js"></script>
  <script type="text/javascript" src="phantom-jasmine/console-runner.js"></script>
  <script type="text/javascript" src="jasmine-extensions.js"></script>

  <script type="text/javascript">

    (function(doc, l) {

        var regexResult = /[\\?&]plovr_host=([^&#]*)/.exec(l.href);
        var plovrHost = (regexResult && regexResult[1]) ?
            decodeURIComponent(regexResult[1]) : l.hostname ?
                l.hostname + ':9810' : 'localhost:9810';

        // Create the script tag which includes the derived variables from above
        var script = '<sc' + 'ript type="text/javascript" '
            + 'src="http://' + plovrHost + '/compile?id=ol&mode=RAW">'
            + '</scr' + 'ipt>';

        // this function will fix the links of the result to also include
        // the once defined URL Parametrs passed to the testsuite.
        function fixLinks() {
            if (doc.getElementsByTagName) {
                var candidates = doc.getElementsByTagName('a'),
                    link,
                    hrefExpression = /\?spec/,
                    i = 0, len = candidates.length;
                for(; i < len; i++){
                    link = candidates[i];
                    if (hrefExpression.test(link.href)) {
                        link.href += '&plov_host=' + encodeURIComponent(plovrHost);
                    }
                }
            }
        }

        // write out the script-tag to load the compiled result
        doc.write(script);

        // overwrite jasmines finishCallback to fix the links
        jasmine.Runner.prototype.finishCallback = function() {
            jasmine.getEnv().reporter.reportRunnerResults(this);
            fixLinks();
        };
    })(document, location);

  </script>

  <!-- include spec files here... -->
  <script type="text/javascript" src="spec/ol/array.test.js"></script>
  <script type="text/javascript" src="spec/ol/collection.test.js"></script>
  <script type="text/javascript" src="spec/ol/extent.test.js"></script>
  <script type="text/javascript" src="spec/ol/object.test.js"></script>
  <script type="text/javascript" src="spec/ol/tilecoord.test.js"></script>
  <script type="text/javascript" src="spec/ol/tilegrid.test.js"></script>
  <script type="text/javascript" src="spec/ol/map.test.js"></script>
  <script type="text/javascript" src="spec/ol/projection.test.js"></script>
  <script type="text/javascript" src="spec/ol/rectangle.test.js"></script>
  <script type="text/javascript" src="spec/ol/tilerange.test.js"></script>
  <script type="text/javascript" src="spec/ol/tileurlfunction.test.js"></script>
  <script type="text/javascript" src="spec/ol/resolutionconstraint.test.js"></script>
  <script type="text/javascript" src="spec/ol/source/xyz.test.js"></script>

  <script type="text/javascript">

    (function() {
      var jasmineEnv = jasmine.getEnv();
      jasmineEnv.updateInterval = 1000;

      // HTML reporter

      var htmlReporter = new jasmine.HtmlReporter();
      jasmineEnv.addReporter(htmlReporter);
      jasmineEnv.specFilter = function(spec) {
        return htmlReporter.specFilter(spec);
      };<commit_msg>Sort specs<commit_after><!DOCTYPE html>

<!-- FIXME console reporter output does not include name of top-level describe -->
<!-- FIXME console reporter requires window.console_reporter. This is to be
     reported to phantom-jasmine -->


<!--

 Note: we assume that Plovr is available at <hostname>:9810, where
 <hostname> is the name of the host used for loading that page. This
 can be overriden by setting plovr_host in the query string. E.g.

     http://localhost/ol3/test/ol.html?plovr_host=192.168.1.2:9810
-->


<html>
<head>
  <title>OL Spec Runner</title>

  <link rel="shortcut icon" type="image/png" href="jasmine-1.2.0/jasmine_favicon.png">
  <link rel="stylesheet" type="text/css" href="jasmine-1.2.0/jasmine.css">
  <script type="text/javascript" src="jasmine-1.2.0/jasmine.js"></script>
  <script type="text/javascript" src="jasmine-1.2.0/jasmine-html.js"></script>
  <script type="text/javascript" src="phantom-jasmine/console-runner.js"></script>
  <script type="text/javascript" src="jasmine-extensions.js"></script>

  <script type="text/javascript">

    (function(doc, l) {

        var regexResult = /[\\?&]plovr_host=([^&#]*)/.exec(l.href);
        var plovrHost = (regexResult && regexResult[1]) ?
            decodeURIComponent(regexResult[1]) : l.hostname ?
                l.hostname + ':9810' : 'localhost:9810';

        // Create the script tag which includes the derived variables from above
        var script = '<sc' + 'ript type="text/javascript" '
            + 'src="http://' + plovrHost + '/compile?id=ol&mode=RAW">'
            + '</scr' + 'ipt>';

        // this function will fix the links of the result to also include
        // the once defined URL Parametrs passed to the testsuite.
        function fixLinks() {
            if (doc.getElementsByTagName) {
                var candidates = doc.getElementsByTagName('a'),
                    link,
                    hrefExpression = /\?spec/,
                    i = 0, len = candidates.length;
                for(; i < len; i++){
                    link = candidates[i];
                    if (hrefExpression.test(link.href)) {
                        link.href += '&plov_host=' + encodeURIComponent(plovrHost);
                    }
                }
            }
        }

        // write out the script-tag to load the compiled result
        doc.write(script);

        // overwrite jasmines finishCallback to fix the links
        jasmine.Runner.prototype.finishCallback = function() {
            jasmine.getEnv().reporter.reportRunnerResults(this);
            fixLinks();
        };
    })(document, location);

  </script>

  <!-- include spec files here... -->
  <script type="text/javascript" src="spec/ol/array.test.js"></script>
  <script type="text/javascript" src="spec/ol/collection.test.js"></script>
  <script type="text/javascript" src="spec/ol/extent.test.js"></script>
  <script type="text/javascript" src="spec/ol/map.test.js"></script>
  <script type="text/javascript" src="spec/ol/object.test.js"></script>
  <script type="text/javascript" src="spec/ol/projection.test.js"></script>
  <script type="text/javascript" src="spec/ol/rectangle.test.js"></script>
  <script type="text/javascript" src="spec/ol/resolutionconstraint.test.js"></script>
  <script type="text/javascript" src="spec/ol/source/xyz.test.js"></script>
  <script type="text/javascript" src="spec/ol/tilecoord.test.js"></script>
  <script type="text/javascript" src="spec/ol/tilegrid.test.js"></script>
  <script type="text/javascript" src="spec/ol/tilerange.test.js"></script>
  <script type="text/javascript" src="spec/ol/tileurlfunction.test.js"></script>

  <script type="text/javascript">

    (function() {
      var jasmineEnv = jasmine.getEnv();
      jasmineEnv.updateInterval = 1000;

      // HTML reporter

      var htmlReporter = new jasmine.HtmlReporter();
      jasmineEnv.addReporter(htmlReporter);
      jasmineEnv.specFilter = function(spec) {
        return htmlReporter.specFilter(spec);
      };
{'fraction_non_alphanumeric': 0.15597358913666376, 'fraction_numerical': 0.010962999875420456, 'mean_word_length': 2.8011363636363638, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5542723', 'n_tokens_mistral': 2543, 'n_tokens_neox': 2403, 'n_words': 511}