summaryrefslogtreecommitdiff
path: root/js/test/Common/index.html
blob: fb26feb2447d004e4e6fb2c97afa37571ae4e6c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!doctype html>
<html class="no-js" lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Test Suite | Ice for JavaScript</title>
    <link rel="icon" type="image/x-icon" href="/assets/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="/assets/common.css"/>

    <script src="/assets/common.min.js"></script>
    <script src="/lib/Ice.js"></script>
    <script src="/test/Common/Controller.js"></script>
    <script src="/test/Common/TestSuite.js"></script>
  </head>
  <body>
    <div id="header">
        <nav class="top-bar" data-topbar>
            <ul class="title-area">
                <li class="name">
                    <h1><a href="#">Ice for JavaScript</a></h1>
                </li>
                <li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>
            </ul>
            <section class="top-bar-section">
                <!-- Right Nav Section -->
                <ul class="right">
                    <li class="divider"></li>
                    <li><a href="#" id="viewReadme">Readme</a></li>
                </ul>
            </section>
        </nav>
        <ul class="breadcrumbs">
            <li>Ice</li>
            <li class="current"><a href="#">Test</a></li>
        </ul>
    </div>
    <section role="main" id="body">
        <div class="row">
            <div class="large-12 medium-12 columns">
                <form>
                    <div class="row">
                        <div class="small-3 columns">
                            <label class="right inline">Test:</label>
                        </div>
                        <div class="small-9 columns">
                            <select id="test">
                            </select>
                        </div>
                    </div>
                    <div class="row">
                        <div class="small-3 columns">
                            <label class="right inline">Server:</label>
                        </div>
                        <div class="small-9 columns">
                            <select id="language">
                            </select>
                        </div>
                    </div>
                    <div class="row">
                        <div class="small-3 columns">
                            <label class="right inline">Protocol:</label>
                        </div>
                        <div class="small-9 columns">
                            <select id="protocol">
                                <option value="ws">WS</option>
                                <option value="wss">WSS</option>
                            </select>
                        </div>
                    </div>
                    <div class="row">
                        <div class="small-3 columns">
                            <label class="right inline" for="loop">Loop:</label>
                        </div>
                        <div class="small-9 columns">
                            <input id="loop" type="checkbox"/>
                        </div>
                    </div>
                    <a href="#" class="button" id="run">Run</a>
                    <textarea id="console" class="disabled" readonly></textarea>
                </form>
            </div>
        </div>
    </section>
    <!-- Modal dialog to show the client README -->
    <div id="readme-modal" class="reveal-modal" data-reveal>
        <a class="close-reveal-modal">&#215;</a>
        <h4>Test Suite Readme</h4>
        <hr/>
        <p>For instructions on how to run this test suite, please refer to the Ice for JavaScript
            <a href="https://github.com/zeroc-ice/ice/blob/master/js/BuildInstructions.md#running-the-javascript-tests">Build Instructions</a>.</p>
    </div>
    <!-- Modal dialog with setup instructions -->
    <div id="setup-modal" class="reveal-modal" data-reveal>
        <h3>The Ice for JavaScript tests require a web server. Please follow these steps to run the test suite:</h3>
        <hr/>
        <ul>
            <li>To run the browser tests, you will need to run the test HTTP server with the
                test/Common/run.py script. This script requires Ice for Python and the IceWS transport.
                Follow the instructions from your Ice distribution to setup the environment for
                Ice for Python.<br/>
                Run the following to start the HTTP server:
                <pre>python test/Common/run.py</pre></li>
            <li>Now you can run the test by navigating to <a class="go" href=""></a></li>
        </ul>
    </div>
    <div id="footer" class="show-for-medium-up">
        <div class="logo">
            <h4><strong>ZeroC</strong></h4>
        </div>
        <div class="copyright">
            <h6>© 2003-2015 ZeroC, Inc. All rights reserved.</h6>
        </div>
    </div>
  </body>
</html>