~bcsaller/juju-gui/charmFind

« back to all changes in this revision

Viewing changes to lib/yui/tests/io/tests/index.html

  • Committer: kapil.foss at gmail
  • Date: 2012-07-13 18:45:59 UTC
  • Revision ID: kapil.foss@gmail.com-20120713184559-2xl7be17egsrz0c9
reshape

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
 
<html>
3
 
<head>
4
 
<title>IO Tests</title>
5
 
</head>
6
 
<body class="yui3-skin-sam">
7
 
 
8
 
<div id="log"></div>
9
 
 
10
 
<script type="text/javascript" src="../../../build/yui/yui.js"></script>
11
 
<script type="text/javascript" src="modules.js"></script>
12
 
<script type="text/javascript" src="urls.js"></script>
13
 
<script>
14
 
(function() {
15
 
    var use = [], i;
16
 
 
17
 
    for (i in testModules) {
18
 
        use.push(i);
19
 
    }
20
 
    use.push('test-console'); //Attach all modules and the test-console module
21
 
 
22
 
    YUI({
23
 
        filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min',
24
 
        modules: testModules //From index.js (so they can be reused in Nodejs)
25
 
    }).use(use, function(Y) {
26
 
 
27
 
        (new Y.Test.Console()).render('#log');
28
 
 
29
 
        Y.Test.Runner.setName('io-base Test Suite');
30
 
        Y.Test.Runner.run();
31
 
    });
32
 
}());
33
 
</script>
34
 
</body>
35
 
</html>