test_Qunit.html 4.54 KB
Newer Older
1 2 3 4 5
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>QUnit - The Vidjil Project</title>
Marc Duez's avatar
Marc Duez committed
6

7
    <link rel="stylesheet" href="../../css/qunit-1.15.0.css">
Marc Duez's avatar
Marc Duez committed
8
    <style>
9
        .flash_container, .log_container, .popup_container, .data-container, .info-container, .dataMenu, .tagSelector{
Marc Duez's avatar
Marc Duez committed
10 11 12
            display:none !important;
        }
    </style>
Marc Duez's avatar
Marc Duez committed
13

14 15 16 17 18 19 20 21 22 23 24 25 26 27
    <script type="text/javascript" src='../../js/lib/d3.v3.js'></script>
    <script type="text/javascript" src="../../js/lib/jquery-2.1.1.min.js"></script>
    <script type="text/javascript" src="../../js/lib/jquery.form.js"></script>
    <script type="text/javascript" src='../../js/lib/StackBlur.js'></script>
    <script type="text/javascript" src='../../js/lib/jspdf.js'></script>
    <script type="text/javascript" src='../../js/lib/jspdf.plugin.addimage.js'></script>
    <script type="text/javascript" src='../../js/lib/jspdf.plugin.svgToPdf.js'></script>
    <script type="text/javascript" src='../../js/lib/jspdf.plugin.split_text_to_size.js'></script>
    <script type="text/javascript" src='../../js/lib/jspdf.plugin.standard_fonts_metrics.js'></script>
    <script type="text/javascript" src='../../js/lib/underscore.js'></script>
    <script type="text/javascript" src='../../js/lib/rgbcolor.js'></script>
    <script type="text/javascript" src='../../js/lib/file.js'></script>
    <script type="text/javascript" src='../../js/lib/jquery.zclip.js'></script>

Marc Duez's avatar
Marc Duez committed
28
    <script type="text/javascript" src='../../js/view.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
29
    <script type="text/javascript" src='../../js/compare.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
30 31 32 33 34 35
    <script type="text/javascript" src='../../js/menu.js' data-cover></script>
    <script type="text/javascript" src='../../js/dbscan.js' data-cover></script>
    <script type="text/javascript" src='../../js/germline.js' ></script>
    <script type="text/javascript" src='../../../germline/germlines.data' ></script>
    <script type="text/javascript" src='../../js/germline_builder.js' data-cover></script>
    <script type="text/javascript" src='../../js/segmenter.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
36 37 38
    <script type="text/javascript" src='../../js/model_loader.js' data-cover></script>
    <script type="text/javascript" src='../../js/model.js' data-cover></script>
    <script type="text/javascript" src='../../js/clone.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
39
    <script type="text/javascript" src='../../js/list.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
40 41 42
    <script type="text/javascript" src="../../js/axis.js" data-cover> </script>
    <script type="text/javascript" src="../../js/graph.js" data-cover> </script>
    <script type="text/javascript" src="../../js/scatterPlot.js" data-cover> </script>
Marc Duez's avatar
Marc Duez committed
43 44 45 46
    <script type="text/javascript" src='../../js/builder.js' data-cover></script>
    <script type="text/javascript" src='../../js/com.js' data-cover></script>
    <script type="text/javascript" src='../../js/vidjil-style.js' data-cover></script>
    <script type="text/javascript" src='../../js/crossDomain.js' data-cover></script>
47
    <script type="text/javascript" src='../../js/pdf.js'></script>
Marc Duez's avatar
Marc Duez committed
48 49
    <script type="text/javascript" src='../../js/database.js' data-cover></script>
    <script type="text/javascript" src='../../js/stats.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
50 51

    <script type="text/javascript" src="./testFiles/data_test.js"></script>
52 53
</head>
<body>
54 55

    <div style="opacity:0%; position:absolute; z-index:-5">
56
        <div id="data-container" ></div>
57
        <div id="visu" style="width:800px; height:500px;"></div>
58 59
    </div>

60 61 62
    <div id="qunit"></div>
    <div id="qunit-fixture"></div>
    <script src="../../js/lib/qunit-1.14.0.js"></script>
63
    <script type="text/javascript" src="../../js/lib/qunit-tap.js"></script>
Marc Duez's avatar
Marc Duez committed
64
    <script src="../../js/lib/blanket.min.js"></script>
65
    <script>
66 67


68 69 70 71 72 73
    var tap_output;
    qunitTap(QUnit, function() { 
            if (typeof arguments != "undefined"){
                tap_output+=arguments[0]+"\n" 
            }
        });
74 75 76 77 78 79 80 81 82

    jQuery.fn.d3Click = function () {
        this.each(function (i, e) {
            var evt = document.createEvent("MouseEvents");
            evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
            e.dispatchEvent(evt);
        });
    };

83
    </script>
84
    <script src="./testFiles/dbscan_test.js"></script>
85
    <script src="./testFiles/model_test.js"></script>
Marc Duez's avatar
Marc Duez committed
86
    <script src="./testFiles/clone_test.js"></script>
87
    <script src="./testFiles/scatterPlot_test.js"></script>
88
    <script src="./testFiles/axis_test.js"></script>
89
    <script src="./testFiles/graph_test.js"></script>
Marc Duez's avatar
Marc Duez committed
90
    <script src="./testFiles/com_test.js"></script>
91 92
</body>
</html>