Sha256: d36f7346e73c973c6401926c4b74d9a1f39b4445388915f05fd107ff82cbb7c3

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

<!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>JavaScript unit test file</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <script src="../../dist/jsunittest.js" type="text/javascript"></script>
  <script src="../../src/message_template.js" type="text/javascript"></script>
  
  <link rel="stylesheet" href="../assets/unittest.css" type="text/css" />
</head>
<body>

<div id="content">

  <div id="header">
    <h1>JavaScript unit test file</h1>
    <p>
      This file tests <strong>message_template.js</strong>.
    </p>
  </div>

  <!-- Log output (one per Runner, via {testLog: "testlog"} option)-->
  <div id="testlog"></div>
  
  <!-- Put sample/test html here -->
  <div id="sample"></div>
</div>

<script type="text/javascript">
// <![CDATA[

  new Test.Unit.Runner({
    testBuildMessage:  function() {
      this.assertEqual("'foo' 'bar'", this.buildMessage('', '? ?', 'foo', 'bar'))
      // this.assertEqual("<'foo'> 'bar'", this.buildMessage('', '<?> ?', 'foo', 'bar'))
    },

    
  }); 
// ]]>
</script>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newjs-1.7.0 vendor/jsunittest/test/unit/message_template_test.html
newjs-1.7.1 vendor/jsunittest/test/unit/message_template_test.html
newjs-1.7.2 vendor/jsunittest/test/unit/message_template_test.html