PageRenderTime 123ms CodeModel.GetById 60ms app.highlight 6ms RepoModel.GetById 54ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-try.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 66 lines | 65 code | 0 blank | 1 comment | 3 complexity | 2b17850600c65a64ea5e9cd0039bd738 MD5 | raw file
 1/* automatically generated by JSCoverage - do not edit */
 2if (! top._$jscoverage) {
 3  top._$jscoverage = {};
 4}
 5var _$jscoverage = top._$jscoverage;
 6if (! _$jscoverage['javascript-try.js']) {
 7  _$jscoverage['javascript-try.js'] = [];
 8  _$jscoverage['javascript-try.js'][1] = 0;
 9  _$jscoverage['javascript-try.js'][3] = 0;
10  _$jscoverage['javascript-try.js'][4] = 0;
11  _$jscoverage['javascript-try.js'][7] = 0;
12  _$jscoverage['javascript-try.js'][10] = 0;
13  _$jscoverage['javascript-try.js'][11] = 0;
14  _$jscoverage['javascript-try.js'][14] = 0;
15  _$jscoverage['javascript-try.js'][17] = 0;
16  _$jscoverage['javascript-try.js'][18] = 0;
17  _$jscoverage['javascript-try.js'][21] = 0;
18  _$jscoverage['javascript-try.js'][24] = 0;
19  _$jscoverage['javascript-try.js'][25] = 0;
20  _$jscoverage['javascript-try.js'][28] = 0;
21  _$jscoverage['javascript-try.js'][31] = 0;
22}
23_$jscoverage['javascript-try.js'][1]++;
24function f() {
25}
26_$jscoverage['javascript-try.js'][3]++;
27try {
28  _$jscoverage['javascript-try.js'][4]++;
29  f();
30}
31catch (e) {
32  _$jscoverage['javascript-try.js'][7]++;
33  f();
34}
35_$jscoverage['javascript-try.js'][10]++;
36try {
37  _$jscoverage['javascript-try.js'][11]++;
38  f();
39}
40catch (e if e instanceof E) {
41  _$jscoverage['javascript-try.js'][14]++;
42  f();
43}
44_$jscoverage['javascript-try.js'][17]++;
45try {
46  _$jscoverage['javascript-try.js'][18]++;
47  f();
48}
49finally {
50  _$jscoverage['javascript-try.js'][21]++;
51  f();
52}
53_$jscoverage['javascript-try.js'][24]++;
54try {
55  _$jscoverage['javascript-try.js'][25]++;
56  f();
57}
58catch (e) {
59  _$jscoverage['javascript-try.js'][28]++;
60  f();
61}
62finally {
63  _$jscoverage['javascript-try.js'][31]++;
64  f();
65}
66_$jscoverage['javascript-try.js'].source = ["<span class=\"k\">function</span> f<span class=\"k\">()</span> <span class=\"k\">{}</span>","","<span class=\"k\">try</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>","<span class=\"k\">catch</span> <span class=\"k\">(</span>e<span class=\"k\">)</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>","","<span class=\"k\">try</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>","<span class=\"k\">catch</span> <span class=\"k\">(</span>e <span class=\"k\">if</span> e <span class=\"k\">instanceof</span> E<span class=\"k\">)</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>","","<span class=\"k\">try</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>","<span class=\"k\">finally</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>","","<span class=\"k\">try</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>","<span class=\"k\">catch</span> <span class=\"k\">(</span>e<span class=\"k\">)</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>","<span class=\"k\">finally</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>"];