test_Qunit.html 6.04 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

Mathieu Giraud's avatar
Mathieu Giraud committed
7
    <link rel="stylesheet" href="../../css/qunit-2.9.1.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
            display:none !important;
        }
Marc Duez's avatar
Marc Duez committed
12 13 14
        .list_focus{
            background : rgb(204, 204, 204);
        }
Marc Duez's avatar
Marc Duez committed
15
    </style>
Marc Duez's avatar
Marc Duez committed
16

17
    <script type="text/javascript" src='../../js/lib/d3.v3.js'></script>
Mathieu Giraud's avatar
Mathieu Giraud committed
18
    <script type="text/javascript" src="../../js/lib/jquery-3.3.1.min.js"></script>
19 20 21 22
    <script type="text/javascript" src="../../js/lib/jquery.form.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
23
    <script type="text/javascript" src='../../js/view.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
24
    <script type="text/javascript" src='../../js/compare.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
25 26 27 28 29 30
    <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
31 32 33
    <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>
34
    <script type="text/javascript" src='../../js/info.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
35
    <script type="text/javascript" src='../../js/list.js' data-cover></script>
36 37
    <script type="text/javascript" src="../../js/generic_axis.js" data-cover> </script>
    <script type="text/javascript" src="../../js/germline_axis.js" data-cover> </script>
38
    <script type="text/javascript" src="../../js/numerical_axis.js" data-cover> </script>
39
    <script type="text/javascript" src='../../js/axes.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
40 41
    <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
42 43 44 45
    <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>
46
    <script type="text/javascript" src='../../js/pdf.js'></script>
Marc Duez's avatar
Marc Duez committed
47
    <script type="text/javascript" src='../../js/database.js' data-cover></script>
Francois Dubiez's avatar
Francois Dubiez committed
48
    <script type="text/javascript" src='../../js/tools.js' data-cover></script>
aurelBZH's avatar
aurelBZH committed
49
    <script type="text/javascript" src='../../js/url.js' data-cover></script>
Mathieu Giraud's avatar
Mathieu Giraud committed
50
    <script type="text/javascript" src='../../js/shortcut.js' data-cover></script>
51
    <script type="text/javascript" src='../../js/speed_test.js' data-cover></script>
52
    <script type="text/javascript" src='../../js/closeable.js' data-cover></script>
Ryan Herbert's avatar
Ryan Herbert committed
53
    <script type="text/javascript" src='../../js/tokeniser.js' data-cover></script>
54
    <script type="text/javascript" src='../../js/form_builder.js' data-cover></script>
Marc Duez's avatar
Marc Duez committed
55 56

    <script type="text/javascript" src="./testFiles/data_test.js"></script>
57
    <script type="text/javascript" src="./testFiles/test2.analysis"></script>
Francois Dubiez's avatar
Francois Dubiez committed
58 59
    <!-- needed to load form with jQuery -->
    <script>QUnit.config.autostart=false;</script>
60 61
</head>
<body>
62

63
    <div style="opacity:0% !important; position:absolute; z-index:-5">
64
        <div id="data-container" ></div>
65
        <div id="visu" style="width:800px; height:500px;"></div>
Marc Duez's avatar
Marc Duez committed
66
        <div id="segment" style="width:800px; height:500px;"></div>
67 68 69 70
        <div id="info-row" style="width:800px; height:500px;"><div id="info"> </div></div>
        <div id="list-row" style="width:800px; height:500px;"><div id="list"> </div></div>
        <div id="data-row" style="width:800px; height:500px;"><div id="data"> </div></div>
        <div id="test_div"></div>
71 72
    </div>

73 74
    <div id="qunit"></div>
    <div id="qunit-fixture"></div>
75 76

    <!-- Load QUnit -->
Mathieu Giraud's avatar
Mathieu Giraud committed
77
    <script type="text/javascript" src="../../js/lib/qunit-2.9.1.js"></script>
78
    <script type="text/javascript" src="./qunit-vidjil.js"></script>
Francois Dubiez's avatar
Francois Dubiez committed
79 80
    <script type="text/javascript" src="../../js/lib/qunit-tap.1.5.0.js"></script>
    <script src="../../js/lib/blanket.1.1.9.js"></script>
81
    <script>
82 83


84 85 86 87 88 89
    var tap_output;
    qunitTap(QUnit, function() { 
            if (typeof arguments != "undefined"){
                tap_output+=arguments[0]+"\n" 
            }
        });
90 91 92 93 94 95 96 97 98

    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);
        });
    };

99
    </script>
100
    <script src="./testFiles/dbscan_test.js"></script>
101
    <script src="./testFiles/model_test.js"></script>
102
    <script src="./testFiles/model_loader_test.js"></script>
Marc Duez's avatar
Marc Duez committed
103
    <script src="./testFiles/clone_test.js"></script>
104
    <script src="./testFiles/scatterPlot_test.js"></script>
105
    <script src="./testFiles/axis_test.js"></script>
106
    <script src="./testFiles/graph_test.js"></script>
Marc Duez's avatar
Marc Duez committed
107
    <script src="./testFiles/com_test.js"></script>
108
    <script src="./testFiles/info_test.js"></script>
109
    <script src="./testFiles/list_test.js"></script>
Marc Duez's avatar
Marc Duez committed
110
    <script src="./testFiles/segmenter_test.js"></script>
Francois Dubiez's avatar
Francois Dubiez committed
111
    <script src="./testFiles/tools_test.js"></script>
112
    <script src="./testFiles/germline_test.js"></script>
aurelBZH's avatar
aurelBZH committed
113
    <script src="./testFiles/url_test.js"></script>
Mathieu Giraud's avatar
Mathieu Giraud committed
114
    <script src="./testFiles/shortcut_test.js"></script>
115
    <script src="./testFiles/speed_test.js"></script>
Ryan Herbert's avatar
Ryan Herbert committed
116
    <script src="./testFiles/tokeniser_test.js"></script>
117
    <script src="./testFiles/compare_test.js"></script>
118 119
</body>
</html>