<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Original PrototypeJS UnitTest test file</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <!-- <script src="../assets/prototype.js" type="text/javascript"></script> -->
  <script src="../../dist/jsunittest.js" type="text/javascript"></script>
  <link rel="stylesheet" href="../assets/unittest.css" type="text/css" />
  <style type="text/css" media="screen">
  /* <![CDATA[ */
    #testcss1 { font-size:11px; color: #f00; }
    #testcss2 { font-size:12px; color: #0f0; display: none; }
  /* ]]> */
  </style>
</head>
<body>
<h1>Original PrototypeJS UnitTest test file</h1>
<p>
  Test the unit testing library (unittest.js)
</p>

<!-- Log output -->
<div id="testlog"> </div>
<div id="testlog_2"> </div>

<!-- Test elements follow -->
<div id="test_1" class="a bbbbbbbbbbbb cccccccccc dddd"> </div>

<div id="test_2"> <span> </span> 



<div><div></div> </div><span> </span>
</div>

<ul id="tlist"><li id="tlist_1">x1</li><li id="tlist_2">x2</li></ul>
<ul id="tlist2"><li class="a" id="tlist2_1">x1</li><li id="tlist2_2">x2</li></ul>

<div id="testmoveby" style="background-color:#333;width:100px;">XXXX</div>

<div id="testcss1">testcss1<span id="testcss1_span" style="display:none;">blah</span></div><div id="testcss2">testcss1</div>

<!-- Tests follow -->
<script type="text/javascript" language="javascript" charset="utf-8">
// <![CDATA[

  var testObj = {
    isNice: function() {
      return true;
    },
    isBroken: function() {
      return false;
    }
  }

  new Test.Unit.Runner({
    setup: function() {
      var testcss1      = document.getElementById('testcss1');
      var testcss1_span = document.getElementById('testcss1_span');
      var tlist         = document.getElementById('tlist');
    },
    
    testIsRunningFromRake:  function() { with(this) {
      if (window.location.toString().startsWith('http')) {
        assert(isRunningFromRake);
        info('These tests are running from rake.')
      } else {
        assert(!isRunningFromRake);
        info('These tests are *not* running from rake.')
      }
    }},

    testBuildMessage:  function() {
      this.assertEqual("'foo' 'bar'", this.buildMessage('', '? ?', 'foo', 'bar'))
    },
    
    testAssertEqual: function() { with(this) {
      assertEqual(0, 0);
      assertEqual(0, 0, "test");<commit_msg>updating new namespace for functional test<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Original PrototypeJS UnitTest test file</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <!-- <script src="../assets/prototype.js" type="text/javascript"></script> -->
  <script src="../../dist/jsunittest.js" type="text/javascript"></script>
  <link rel="stylesheet" href="../assets/unittest.css" type="text/css" />
  <style type="text/css" media="screen">
  /* <![CDATA[ */
    #testcss1 { font-size:11px; color: #f00; }
    #testcss2 { font-size:12px; color: #0f0; display: none; }
  /* ]]> */
  </style>
</head>
<body>
<h1>Original PrototypeJS UnitTest test file</h1>
<p>
  Test the unit testing library (unittest.js)
</p>

<!-- Log output -->
<div id="testlog"> </div>
<div id="testlog_2"> </div>

<!-- Test elements follow -->
<div id="test_1" class="a bbbbbbbbbbbb cccccccccc dddd"> </div>

<div id="test_2"> <span> </span> 



<div><div></div> </div><span> </span>
</div>

<ul id="tlist"><li id="tlist_1">x1</li><li id="tlist_2">x2</li></ul>
<ul id="tlist2"><li class="a" id="tlist2_1">x1</li><li id="tlist2_2">x2</li></ul>

<div id="testmoveby" style="background-color:#333;width:100px;">XXXX</div>

<div id="testcss1">testcss1<span id="testcss1_span" style="display:none;">blah</span></div><div id="testcss2">testcss1</div>

<!-- Tests follow -->
<script type="text/javascript" language="javascript" charset="utf-8">
// <![CDATA[

  var testObj = {
    isNice: function() {
      return true;
    },
    isBroken: function() {
      return false;
    }
  }

  new DrNicTest.Unit.Runner({
    setup: function() {
      var testcss1      = document.getElementById('testcss1');
      var testcss1_span = document.getElementById('testcss1_span');
      var tlist         = document.getElementById('tlist');
    },
    
    testIsRunningFromRake:  function() { with(this) {
      if (window.location.toString().startsWith('http')) {
        assert(isRunningFromRake);
        info('These tests are running from rake.')
      } else {
        assert(!isRunningFromRake);
        info('These tests are *not* running from rake.')
      }
    }},

    testBuildMessage:  function() {
      this.assertEqual("'foo' 'bar'", this.buildMessage('', '? ?', 'foo', 'bar'))
    },
    
    testAssertEqual: function() { with(this) {
      assertEqual(0, 0);
      assertEqual(0, 0, "test");
{'fraction_non_alphanumeric': 0.20638629283489096, 'fraction_numerical': 0.022585669781931463, 'mean_word_length': 3.6030465949820787, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 4, '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': '2348336', 'n_tokens_mistral': 1888, 'n_tokens_neox': 1806, 'n_words': 346}