Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / karma / static / debug.html
1 <!doctype html>
2 <!--
3 This file is almost the same as context.html - loads all source files,
4 but its purpose is to be loaded in the main frame (not within an iframe),
5 just for immediate execution, without reporting to Karma server.
6 -->
7 <html>
8 <head>
9 %X_UA_COMPATIBLE%
10   <title>Karma DEBUG RUNNER</title>
11   <link href="favicon.ico" rel="icon" type="image/x-icon" />
12   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
13 </head>
14 <body>
15   <!-- The scripts need to be at the end of body, so that some test running frameworks
16    (Angular Scenario, for example) need the body to be loaded so that it can insert its magic
17    into it. If it is before body, then it fails to find the body and crashes and burns in an epic
18    manner. -->
19   <script type="text/javascript">
20     window.__karma__ = {
21       info: function(info) {
22         if (info.dump && window.console) window.console.log(info.dump);
23       },
24       complete: function() {
25         if (window.console) window.console.log('Skipped ' + this.skipped + ' tests');
26       },
27       store: function() {},
28       skipped: 0,
29       result: window.console ? function(result) {
30         if (result.skipped) {
31           this.skipped++;
32           return;
33         }
34         var msg = result.success ? 'SUCCESS ' : 'FAILED ';
35         window.console.log(msg + result.suite.join(' ') + ' ' + result.description);
36
37         for (var i = 0; i < result.log.length; i++) {
38           window.console.error(result.log[i]);
39         }
40       } : function() {},
41       loaded: function() {
42         this.start();
43       }
44     };
45
46     %CLIENT_CONFIG%
47
48     // All served files with the latest timestamps
49     %MAPPINGS%
50   </script>
51   <!-- Dynamically replaced with <script> tags -->
52   %SCRIPTS%
53   <script type="text/javascript">
54     window.__karma__.loaded();
55   </script>
56 </body>
57 </html>