Merge pull request #564 from danvk/range-selector-example
[dygraphs.git] / auto_tests / misc / local.html
CommitLineData
7165f97b 1<!-- A local source file that allows dygraph developers to test locally. -->
644eff8b
RK
2<html>
3<head>
7165f97b 4 <!-- Standard Dygraph scripts -->
8d3d15af 5 <script type="text/javascript" src="../../dygraph-dev.js"></script>
c36a62c2 6 <script type="text/javascript" src="../../extras/smooth-plotter.js"></script>
7165f97b 7
6c8003d8 8 <!-- Scripts for library support -->
7165f97b
RK
9 <script type="text/javascript" src="../lib/jquery-1.4.2.js"></script>
10 <script type="text/javascript" src="../lib/Asserts.js"></script>
11 <script type="text/javascript" src="fake-jstestdriver.js"></script>
12 <script type="text/javascript" src="../tests/Proxy.js"></script>
13 <script type="text/javascript" src="../tests/CanvasAssertions.js"></script>
72a74f04 14 <script type="text/javascript" src="../tests/DygraphOps.js"></script>
9f636500 15 <script type="text/javascript" src="../tests/PixelSampler.js"></script>
fa607ffb 16 <script type="text/javascript" src="../tests/Util.js"></script>
243eecfb 17 <script type="text/javascript" src="local.js"></script>
6c8003d8 18
fcf37b29
DV
19 <!-- Test data -->
20 <script type="text/javascript" src="../data/data.js"></script>
21
6c8003d8 22 <!-- Scripts for automated tests -->
6a4587ac 23 <script type="text/javascript" src="../tests/annotations.js"></script>
6d6c60b6 24 <script type="text/javascript" src="../tests/axis_labels.js"></script>
3d3001cf 25 <script type="text/javascript" src="../tests/axis_labels-deprecated.js"></script>
6a4587ac 26 <script type="text/javascript" src="../tests/callback.js"></script>
d413f791 27 <script type="text/javascript" src="../tests/connect_separated_points.js"></script>
6a4587ac
RK
28 <script type="text/javascript" src="../tests/css.js"></script>
29 <script type="text/javascript" src="../tests/custom_bars.js"></script>
30 <script type="text/javascript" src="../tests/date_formats.js"></script>
872a6a00 31 <script type="text/javascript" src="../tests/date_ticker.js"></script>
cd872296 32 <script type="text/javascript" src="../tests/dygraph-options-tests.js"></script>
6a4587ac 33 <script type="text/javascript" src="../tests/error_bars.js"></script>
8c31c7db 34 <script type="text/javascript" src="../tests/fill_step_plot.js"></script>
6a4587ac 35 <script type="text/javascript" src="../tests/formats.js"></script>
4a0567da 36 <script type="text/javascript" src="../tests/grid_per_axis.js"></script>
9c831431 37 <script type="text/javascript" src="../tests/interaction_model.js"></script>
cea0fb70 38 <script type="text/javascript" src="../tests/missing_points.js"></script>
6a4587ac 39 <script type="text/javascript" src="../tests/multi_csv.js"></script>
71e72c82 40 <script type="text/javascript" src="../tests/multiple_axes.js"></script>
6a4587ac 41 <script type="text/javascript" src="../tests/no_hours.js"></script>
9146b6c0 42 <script type="text/javascript" src="../tests/numeric_ticker.js"></script>
6c8003d8 43 <script type="text/javascript" src="../tests/parser.js"></script>
6a4587ac 44 <script type="text/javascript" src="../tests/pathological_cases.js"></script>
7f6a7190 45 <script type="text/javascript" src="../tests/per_axis.js"></script>
f112135d 46 <script type="text/javascript" src="../tests/per_series.js"></script>
63623c70 47 <script type="text/javascript" src="../tests/plugins.js"></script>
6c8003d8 48 <script type="text/javascript" src="../tests/range_selector.js"></script>
6a4587ac
RK
49 <script type="text/javascript" src="../tests/range_tests.js"></script>
50 <script type="text/javascript" src="../tests/rolling_average.js"></script>
51 <script type="text/javascript" src="../tests/sanity.js"></script>
6a4587ac
RK
52 <script type="text/javascript" src="../tests/scientific_notation.js"></script>
53 <script type="text/javascript" src="../tests/scrolling_div.js"></script>
6c8003d8 54 <script type="text/javascript" src="../tests/selection.js"></script>
6a4587ac 55 <script type="text/javascript" src="../tests/simple_drawing.js"></script>
5546c2e3 56 <script type="text/javascript" src="../tests/step_plot_per_series.js"></script>
6c8003d8 57 <script type="text/javascript" src="../tests/stacked.js"></script>
6a4587ac 58 <script type="text/javascript" src="../tests/to_dom_coords.js"></script>
24f7710b 59 <script type="text/javascript" src="../tests/resize.js"></script>
8b38c21f 60 <script type="text/javascript" src="../tests/plugins_legend.js"></script>
1bf53f5b 61 <script type="text/javascript" src="../tests/two_digit_years.js"></script>
cb8bb6a6 62 <script type="text/javascript" src="../tests/hidpi.js"></script>
c36a62c2 63 <script type="text/javascript" src="../tests/smooth_plotter.js"></script>
20b87d28 64 <script type="text/javascript" src="../tests/fast_canvas_proxy.js"></script>
fcf37b29 65 <script type="text/javascript" src="../tests/data_api.js"></script>
9ca829f2 66 <script type="text/javascript" src="../tests/update_options.js"></script>
6c8003d8 67 <script type="text/javascript" src="../tests/update_while_panning.js"></script>
48e614ac 68 <script type="text/javascript" src="../tests/utils_test.js"></script>
1f0f434a 69 <script type="text/javascript" src="../tests/visibility.js"></script>
87bbdb4d 70
5cfed8c5
RK
71<style type="text/css">
72 .pass .outcome {
73 color: green;
74 }
75
76 .fail .outcome {
77 color: red;
78 }
87bbdb4d 79
02b1c284
RK
80 /* Broken: the active anchor isn't gray. Why not? */
81 #results .activeAnchor {
82 color: grey;
83 }
84
85 #results a {
86 text-decoration: none;
87 }
88
89 #results a:visited {
90 color: blue;
5cfed8c5
RK
91 text-decoration: none;
92 }
b99970f8 93
02b1c284
RK
94 #results a:hover {
95 color: blue;
96 text-decoration: underline;
b99970f8 97 }
5cfed8c5 98</style>
644eff8b
RK
99</head>
100<body>
101 <div id='graph'></div>
33933283 102 <div id="selector"></div>
3914c8e1 103 <p>This file is really nothing more than all the tests coalesced into a single
33933283
RK
104 HTML file. To run a test, use the selector above, or
105 open a Javascript console and execute, for instance,</p>
3914c8e1 106 <code>testDrawSimpleRangePlusOne()</code>
6788e30b
RK
107
108 <p>Alternatively you can use query args: <ul>
33933283
RK
109 <li>testCase - for the name of the test case prototype
110 <li>testCaseName - for the name of the test case
6788e30b
RK
111 <li>test - for the name of the test (use command=runTest)
112 <li>command - either runTest or runAllTests.
113 </ul>
114 Example: <code>local.html?testCase=ScrollingDivTestCase&test=testNestedDiv_Scrolled&command=runTest</code>
357f7a8a 115 <p/>
644eff8b 116</body>
243eecfb 117<script type="text/javascript">
11c21001
RK
118 var tester = new DygraphsLocalTester();
119 // tester.overrideWarn(); // uncomment if you want warnings to be errors.
120 tester.processVariables();
243eecfb 121 addGlobalTestSymbols();
11c21001 122 tester.run();
6788e30b 123</script>
644eff8b 124</html>