Sha256: 195394d25456c4bd875033b132dd0d6e64593cb7ccf6cf90f4bd66ee9221ed49

Contents?: true

Size: 1.21 KB

Versions: 4

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>script.aculo.us Unit 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="assets/scriptaculous.js?load=effects,dragdrop" type="text/javascript"></script>
  <script src="assets/unittest.js" type="text/javascript"></script>
  <link rel="stylesheet" href="../test.css" type="text/css" />
</head>
<body>
<h1>script.aculo.us Unit test file</h1>
<p>
  Test dynamic loading in scriptaculous.js
</p>

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

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

  new Test.Unit.Runner({
    
    testDynamicLoading: function() { with(this) {
      
      // not loaded: controls
      assertNull(Ajax.Autocompleter || null);
      assertNull(Form.Element.DelayedObserver || null);
      
      // we loading dragdrop
      assertNotNull(Draggable || null);
    }}
    
  }, "testlog");
// ]]>
</script>
</body>
</html>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
Fingertips-headless-squirrel-0.3.0 test/regression/scriptaculous/unit/loading_test.html
Fingertips-headless-squirrel-0.4.0 test/regression/scriptaculous/unit/loading_test.html
Fingertips-headless-squirrel-0.5.0 test/regression/scriptaculous/unit/loading_test.html
headless-squirrel-0.5.1 test/regression/scriptaculous/unit/loading_test.html