-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tests to verify karma-junit-reporter 0.2.x still works
- Loading branch information
Showing
41 changed files
with
2,257 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,6 @@ | |
*.iws | ||
|
||
# other | ||
data | ||
|
||
.travis.yml | ||
.jshintrc | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(function () { | ||
'use strict'; | ||
|
||
angular.module('karma02x', []); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
(function() { | ||
'use strict'; | ||
|
||
/** | ||
* @ngdoc function | ||
* @name karma02x.controller:OtherController | ||
* @description | ||
* # OtherController | ||
* Controller of the karma02x | ||
*/ | ||
function OtherController(some) { | ||
var vm = this; | ||
|
||
vm.whoIsAwesome = some.whoIsAwesome(); | ||
} | ||
|
||
OtherController.$inject = ['other']; | ||
|
||
angular.module('karma02x').controller('OtherController', OtherController); | ||
|
||
})(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
(function () { | ||
'use strict'; | ||
|
||
/** | ||
* @ngdoc service | ||
* @name karma02x.other | ||
* @description | ||
* # other | ||
* Factory in the karma02x. | ||
*/ | ||
angular.module('karma02x') | ||
.factory('other', function () { | ||
var awesome = 'You are :)'; | ||
|
||
return { | ||
whoIsAwesome: function () { | ||
return awesome; | ||
} | ||
} | ||
}); | ||
|
||
})(); | ||
|
182 changes: 182 additions & 0 deletions
182
data/karma02x/results/karma/coverage/PhantomJS 1.9.8 (Mac OS X)/base.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
body, html { | ||
margin:0; padding: 0; | ||
} | ||
body { | ||
font-family: Helvetica Neue, Helvetica,Arial; | ||
font-size: 10pt; | ||
} | ||
div.header, div.footer { | ||
background: #eee; | ||
padding: 1em; | ||
} | ||
div.header { | ||
z-index: 100; | ||
position: fixed; | ||
top: 0; | ||
border-bottom: 1px solid #666; | ||
width: 100%; | ||
} | ||
div.footer { | ||
border-top: 1px solid #666; | ||
} | ||
div.body { | ||
margin-top: 10em; | ||
} | ||
div.meta { | ||
font-size: 90%; | ||
text-align: center; | ||
} | ||
h1, h2, h3 { | ||
font-weight: normal; | ||
} | ||
h1 { | ||
font-size: 12pt; | ||
} | ||
h2 { | ||
font-size: 10pt; | ||
} | ||
pre { | ||
font-family: Consolas, Menlo, Monaco, monospace; | ||
margin: 0; | ||
padding: 0; | ||
line-height: 14px; | ||
font-size: 14px; | ||
-moz-tab-size: 2; | ||
-o-tab-size: 2; | ||
tab-size: 2; | ||
} | ||
|
||
div.path { font-size: 110%; } | ||
div.path a:link, div.path a:visited { color: #000; } | ||
table.coverage { border-collapse: collapse; margin:0; padding: 0 } | ||
|
||
table.coverage td { | ||
margin: 0; | ||
padding: 0; | ||
color: #111; | ||
vertical-align: top; | ||
} | ||
table.coverage td.line-count { | ||
width: 50px; | ||
text-align: right; | ||
padding-right: 5px; | ||
} | ||
table.coverage td.line-coverage { | ||
color: #777 !important; | ||
text-align: right; | ||
border-left: 1px solid #666; | ||
border-right: 1px solid #666; | ||
} | ||
|
||
table.coverage td.text { | ||
} | ||
|
||
table.coverage td span.cline-any { | ||
display: inline-block; | ||
padding: 0 5px; | ||
width: 40px; | ||
} | ||
table.coverage td span.cline-neutral { | ||
background: #eee; | ||
} | ||
table.coverage td span.cline-yes { | ||
background: #b5d592; | ||
color: #999; | ||
} | ||
table.coverage td span.cline-no { | ||
background: #fc8c84; | ||
} | ||
|
||
.cstat-yes { color: #111; } | ||
.cstat-no { background: #fc8c84; color: #111; } | ||
.fstat-no { background: #ffc520; color: #111 !important; } | ||
.cbranch-no { background: yellow !important; color: #111; } | ||
|
||
.cstat-skip { background: #ddd; color: #111; } | ||
.fstat-skip { background: #ddd; color: #111 !important; } | ||
.cbranch-skip { background: #ddd !important; color: #111; } | ||
|
||
.missing-if-branch { | ||
display: inline-block; | ||
margin-right: 10px; | ||
position: relative; | ||
padding: 0 4px; | ||
background: black; | ||
color: yellow; | ||
} | ||
|
||
.skip-if-branch { | ||
display: none; | ||
margin-right: 10px; | ||
position: relative; | ||
padding: 0 4px; | ||
background: #ccc; | ||
color: white; | ||
} | ||
|
||
.missing-if-branch .typ, .skip-if-branch .typ { | ||
color: inherit !important; | ||
} | ||
|
||
.entity, .metric { font-weight: bold; } | ||
.metric { display: inline-block; border: 1px solid #333; padding: 0.3em; background: white; } | ||
.metric small { font-size: 80%; font-weight: normal; color: #666; } | ||
|
||
div.coverage-summary table { border-collapse: collapse; margin: 3em; font-size: 110%; } | ||
div.coverage-summary td, div.coverage-summary table th { margin: 0; padding: 0.25em 1em; border-top: 1px solid #666; border-bottom: 1px solid #666; } | ||
div.coverage-summary th { text-align: left; border: 1px solid #666; background: #eee; font-weight: normal; } | ||
div.coverage-summary th.file { border-right: none !important; } | ||
div.coverage-summary th.pic { border-left: none !important; text-align: right; } | ||
div.coverage-summary th.pct { border-right: none !important; } | ||
div.coverage-summary th.abs { border-left: none !important; text-align: right; } | ||
div.coverage-summary td.pct { text-align: right; border-left: 1px solid #666; } | ||
div.coverage-summary td.abs { text-align: right; font-size: 90%; color: #444; border-right: 1px solid #666; } | ||
div.coverage-summary td.file { text-align: right; border-left: 1px solid #666; white-space: nowrap; } | ||
div.coverage-summary td.pic { min-width: 120px !important; } | ||
div.coverage-summary a:link { text-decoration: none; color: #000; } | ||
div.coverage-summary a:visited { text-decoration: none; color: #333; } | ||
div.coverage-summary a:hover { text-decoration: underline; } | ||
div.coverage-summary tfoot td { border-top: 1px solid #666; } | ||
|
||
div.coverage-summary .sorter { | ||
height: 10px; | ||
width: 7px; | ||
display: inline-block; | ||
margin-left: 0.5em; | ||
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent; | ||
} | ||
div.coverage-summary .sorted .sorter { | ||
background-position: 0 -20px; | ||
} | ||
div.coverage-summary .sorted-desc .sorter { | ||
background-position: 0 -10px; | ||
} | ||
|
||
.high { background: #b5d592 !important; } | ||
.medium { background: #ffe87c !important; } | ||
.low { background: #fc8c84 !important; } | ||
|
||
span.cover-fill, span.cover-empty { | ||
display:inline-block; | ||
border:1px solid #444; | ||
background: white; | ||
height: 12px; | ||
} | ||
span.cover-fill { | ||
background: #ccc; | ||
border-right: 1px solid #444; | ||
} | ||
span.cover-empty { | ||
background: white; | ||
border-left: none; | ||
} | ||
span.cover-full { | ||
border-right: none !important; | ||
} | ||
pre.prettyprint { | ||
border: none !important; | ||
padding: 0 !important; | ||
margin: 0 !important; | ||
} | ||
.com { color: #999 !important; } | ||
.ignore-none { color: #999; font-weight: normal; } |
4 changes: 4 additions & 0 deletions
4
data/karma02x/results/karma/coverage/PhantomJS 1.9.8 (Mac OS X)/coverage-final.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"./karma02x/src/js/karma02x.js":{"path":"./karma02x/src/js/karma02x.js","s":{"1":1,"2":1},"b":{},"f":{"1":1},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":13}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":5,"column":5}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":35}}},"branchMap":{},"l":{"1":1,"4":1}}, | ||
"./karma02x/src/js/other/other.controller.js":{"path":"./karma02x/src/js/other/other.controller.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"b":{},"f":{"1":1,"2":1},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":12}}},"2":{"name":"OtherController","line":11,"loc":{"start":{"line":11,"column":2},"end":{"line":11,"column":33}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":21,"column":5}},"2":{"start":{"line":11,"column":2},"end":{"line":15,"column":3}},"3":{"start":{"line":12,"column":6},"end":{"line":12,"column":20}},"4":{"start":{"line":14,"column":6},"end":{"line":14,"column":44}},"5":{"start":{"line":17,"column":4},"end":{"line":17,"column":40}},"6":{"start":{"line":19,"column":2},"end":{"line":19,"column":76}}},"branchMap":{},"l":{"1":1,"11":1,"12":1,"14":1,"17":1,"19":1}}, | ||
"./karma02x/src/js/other/other.service.js":{"path":"./karma02x/src/js/other/other.service.js","s":{"1":1,"2":1,"3":2,"4":2,"5":1},"b":{},"f":{"1":1,"2":2,"3":1},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":13}}},"2":{"name":"(anonymous_2)","line":12,"loc":{"start":{"line":12,"column":26},"end":{"line":12,"column":38}}},"3":{"name":"(anonymous_3)","line":16,"loc":{"start":{"line":16,"column":30},"end":{"line":16,"column":42}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":22,"column":5}},"2":{"start":{"line":11,"column":4},"end":{"line":20,"column":11}},"3":{"start":{"line":13,"column":12},"end":{"line":13,"column":39}},"4":{"start":{"line":15,"column":12},"end":{"line":19,"column":13}},"5":{"start":{"line":17,"column":20},"end":{"line":17,"column":35}}},"branchMap":{},"l":{"1":1,"11":1,"13":2,"15":2,"17":1}}} |
98 changes: 98 additions & 0 deletions
98
data/karma02x/results/karma/coverage/PhantomJS 1.9.8 (Mac OS X)/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<title>Code coverage report for All files</title> | ||
<meta charset="utf-8"> | ||
|
||
<link rel="stylesheet" href="prettify.css"> | ||
|
||
<link rel="stylesheet" href="base.css"> | ||
<style type='text/css'> | ||
div.coverage-summary .sorter { | ||
background-image: url(sort-arrow-sprite.png); | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="header high"> | ||
<h1>Code coverage report for <span class="entity">All files</span></h1> | ||
<h2> | ||
|
||
Statements: <span class="metric">100% <small>(13 / 13)</small></span> | ||
|
||
|
||
Branches: <span class="metric">100% <small>(0 / 0)</small></span> | ||
|
||
|
||
Functions: <span class="metric">100% <small>(6 / 6)</small></span> | ||
|
||
|
||
Lines: <span class="metric">100% <small>(13 / 13)</small></span> | ||
|
||
Ignored: <span class="metric"><span class="ignore-none">none</span></span> | ||
</h2> | ||
<div class="path"></div> | ||
</div> | ||
<div class="body"> | ||
<div class="coverage-summary"> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th> | ||
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th> | ||
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th> | ||
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th> | ||
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th> | ||
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th> | ||
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th> | ||
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th> | ||
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th> | ||
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th> | ||
</tr> | ||
</thead> | ||
<tbody><tr> | ||
<td class="file high" data-value="js/"><a href="js/index.html">js/</a></td> | ||
<td data-value="100" class="pic high"><span class="cover-fill cover-full" style="width: 100px;"></span><span class="cover-empty" style="width:0px;"></span></td> | ||
<td data-value="100" class="pct high">100%</td> | ||
<td data-value="2" class="abs high">(2 / 2)</td> | ||
<td data-value="100" class="pct high">100%</td> | ||
<td data-value="0" class="abs high">(0 / 0)</td> | ||
<td data-value="100" class="pct high">100%</td> | ||
<td data-value="1" class="abs high">(1 / 1)</td> | ||
<td data-value="100" class="pct high">100%</td> | ||
<td data-value="2" class="abs high">(2 / 2)</td> | ||
</tr> | ||
|
||
<tr> | ||
<td class="file high" data-value="js/other/"><a href="js/other/index.html">js/other/</a></td> | ||
<td data-value="100" class="pic high"><span class="cover-fill cover-full" style="width: 100px;"></span><span class="cover-empty" style="width:0px;"></span></td> | ||
<td data-value="100" class="pct high">100%</td> | ||
<td data-value="11" class="abs high">(11 / 11)</td> | ||
<td data-value="100" class="pct high">100%</td> | ||
<td data-value="0" class="abs high">(0 / 0)</td> | ||
<td data-value="100" class="pct high">100%</td> | ||
<td data-value="5" class="abs high">(5 / 5)</td> | ||
<td data-value="100" class="pct high">100%</td> | ||
<td data-value="11" class="abs high">(11 / 11)</td> | ||
</tr> | ||
|
||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
<div class="footer"> | ||
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Thu Sep 10 2015 18:00:50 GMT+0200 (CEST)</div> | ||
</div> | ||
|
||
<script src="prettify.js"></script> | ||
<script> | ||
window.onload = function () { | ||
if (typeof prettyPrint === 'function') { | ||
prettyPrint(); | ||
} | ||
}; | ||
</script> | ||
|
||
<script src="sorter.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.