forked from filmaj/mobile-spec
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
45 lines (45 loc) · 2.16 KB
/
index.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<!--
This file is a fully-functioning example test case. Try opening this file in Firefox, Safari,
or Internet Explorer to see what a running test looks like.
This file demonstrates the components involved in writing a simple test, such as:
* The necessary HTML to run a test (with the required <script> and <link rel="stylesheet"> tags),
* A "custom matcher" (i.e., a custom assertion) to make your tests more readable,
* And, a simple test with the necessary boiler-plate code to get you up and running.
Typically, these components are separated out into multiple files. To see what a more typical suite
of tests look like, look at the larger example in the examples/ directory.
-->
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>JSSpec results for PhoneGap JS API</title>
<!-- These are all of the necessary javascript and css files required to run your tests -->
<link rel="stylesheet" type="text/css" href="JSSpec.css" />
<script type="text/javascript" src="diff_match_patch.js"></script>
<script type="text/javascript" src="JSSpec.js"></script>
<script src="phonegap.js"></script>
<script src="tests/accelerometer.tests.js"></script>
<script src="tests/addressbook.tests.js"></script>
<script src="tests/camera.tests.js"></script>
<script src="tests/device.tests.js"></script>
<script src="tests/file.tests.js"></script>
<script src="tests/geolocation.tests.js"></script>
<script src="tests/network.tests.js"></script>
<script src="tests/notification.tests.js"></script>
<script src="tests/sms.tests.js"></script>
<script src="tests/telephony.tests.js"></script>
<script type="text/javascript">
/**
* Not sure whether this is necessary or whether it should be part of a mobile device API. Need to get more input on it.
**
describe('Utility functionality (navigator.utility)', {
'Should have a exit function': function() {
value_of(navigator.utility).should_include("exit");
}
})
*/
</script>
</head>
<body>
</body>
</html>