Sha256: 74d20aa0ad2d6eb76696f6b9a30ab463a5ea2c6a13eb603912e66b4fbb20759b

Contents?: true

Size: 1.57 KB

Versions: 84

Compression:

Stored size: 1.57 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>Calendar Date Select Test Cases</title>
  <script src="../prototype.js" type="text/javascript"></script>
  <script src="../unittest.js" type="text/javascript"></script>
  <!-- other JavaScript includes -->
  <script src="../../public/javascripts/calendar_date_select/calendar_date_select.js" type="text/javascript"></script>
  
  <link rel="stylesheet" href="../../public/stylesheets/calendar_date_select/red.css" type="text/css" />
  <link rel="stylesheet" href="../test.css" type="text/css" />
</head>
<body>

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

<!-- here go any elements you do the testing on -->
<input type="text" id="cds_test" />

<!-- Tests -->
<script type="text/javascript" language="javascript">
// <![CDATA[
  new Test.Unit.Runner({
    setup: function() { with(this){
      $("cds_test").value="";
      $("cds_test").disabled = false;
      $("cds_test").readOnly = false;
    }},
    test_math_floor_to_interval: function() { with(this) {
      assertEqual(5, Math.floor_to_interval(9,5));
      assertEqual(5, Math.floor_to_interval(5,5));
      assertEqual(0, Math.floor_to_interval(1,5));
    }},
    test_padded2__should_pad_properly_and_interpret_base_10: function() {with(this) {
      assertEqual("11", Date.padded2("011"));
      assertEqual("09", Date.padded2("09"));
      assertEqual("09", Date.padded2("9"));
    }}
  });
// ]]>
</script>
</body>
</html>

Version data entries

84 entries across 84 versions & 19 rubygems

Version Path
DavidWhite-calendar_date_select-1.15.5 js_test/unit/cds_helper_methods.html
DavidWhite-calendar_date_select-1.15.6 js_test/unit/cds_helper_methods.html
artmotion-calendar_date_select-1.10.5 js_test/unit/cds_helper_methods.html
artmotion-calendar_date_select-1.10.6 js_test/unit/cds_helper_methods.html
artmotion-calendar_date_select-1.10.7 js_test/unit/cds_helper_methods.html
artmotion-calendar_date_select-1.10.8 js_test/unit/cds_helper_methods.html
artmotion-calendar_date_select-1.10.9 js_test/unit/cds_helper_methods.html
atd-calendar_date_select-1.11.20090108 js_test/unit/cds_helper_methods.html
atd-calendar_date_select-1.11.20090109 js_test/unit/cds_helper_methods.html
atd-calendar_date_select-1.11.20090110 js_test/unit/cds_helper_methods.html
atd-calendar_date_select-1.11.20090216 js_test/unit/cds_helper_methods.html
atd-calendar_date_select-1.15 js_test/unit/cds_helper_methods.html
batasrki-calendar_date_select-1.11.1 js_test/unit/cds_helper_methods.html
batasrki-calendar_date_select-1.13.1 js_test/unit/cds_helper_methods.html
batasrki-calendar_date_select-1.13.2 js_test/unit/cds_helper_methods.html
batasrki-calendar_date_select-1.13.3 js_test/unit/cds_helper_methods.html
batasrki-calendar_date_select-1.13 js_test/unit/cds_helper_methods.html
edwinmoss-calendar_date_select-1.11.1 js_test/unit/cds_helper_methods.html
gbdev-calendar_date_select-1.11.20080824 js_test/unit/cds_helper_methods.html
gbdev-calendar_date_select-1.11.20080825 js_test/unit/cds_helper_methods.html