forked from egaga/openvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtests.html
85 lines (71 loc) · 3.72 KB
/
tests.html
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
<!doctype html>
<html lang='en' xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta charset='utf-8' />
<link rel="stylesheet" type="text/css" href="css/css.css?version={VERSION}" />
<link rel="stylesheet" type="text/css" href="css/test.css?version={VERSION}" />
<title>Interactive Vim tutorial - testing</title>
<!-- GENERAL (mostly) -->
<script type="text/Javascript" src="js/engine/messager.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/blinking.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/engine/generic.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/engine/document.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/comparison.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/context_help.js?version={VERSION}"></script>
<!-- VIM specific parts -->
<script type="text/Javascript" src="js/engine/executor.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/engine/interpreter.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/view.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/searchcommands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/visualcommands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/visualblockcommands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/timescommands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/commands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/event.js?version={VERSION}"></script>
<!-- TESTING -->
<script type="text/Javascript" src="js/testing/testsengine.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/testing/tests.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/testing/testview.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/testing/init_testing.js?version={VERSION}"></script>
<!--
<script type="text/Javascript" src="js/jquery.js"></script>
-->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.6.4");
google.setOnLoadCallback(function() {
init_testing();
$('.test_description').live('click', function() {
$(this).siblings().toggle();
})
});
</script>
</head>
<body>
<div class="testview">
<div class="test_statistics">
<div class="tests_run"></div>
<div class="tests_succeeded"></div>
<div class="tests_failed"></div>
</div>
<div class="tests_result">
<div class="tests_allpassed">
<h2>OK!</h2>
</div>
<div class="tests_problems">
<h2>FAIL!</h2>
</div>
</div>
<div class="test_introduction">
<p>This page contains unit tests for the Vim engine. Some of the commands are not implemented, and thus fail the test.</p>
<p>Click on the name of the test to see details.</p>
<p>Usually, a test consists of starting text, commands (key combination), expected result, and what actually engine reported after applying the commands.</p>
<p>A passing test has a green header, and a failing one has red.</p>
<input type="button" value="Show/Hide details of all tests" id="show_test_details" style="display: none;" />
</div>
<h3>Tests</h3>
<div id="appendtarget" style="clear: both;"></div>
<div class="text" style="display: none;"></div>
</div>
</body>
</html>