Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Intellipharm committed May 20, 2015
1 parent 3f8135d commit f7905ad
Show file tree
Hide file tree
Showing 16 changed files with 238 additions and 190 deletions.
2 changes: 1 addition & 1 deletion lib/transformers/transformer-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
var params_str = '';
if (_.isArray(params_array) && params_array.length > 0) {
params_str = '?' + params_array.join('&');
} else {
} else if (params_array.length > 0) {
params_str = '?' + params_array;
}

Expand Down
38 changes: 19 additions & 19 deletions tests/coverage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<div class="header medium">
<h1>Code coverage report for <span class="entity">All files</span></h1>
<h2>
Statements: <span class="metric">77.17% <small>(240 / 311)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Branches: <span class="metric">70.37% <small>(95 / 135)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Functions: <span class="metric">70.83% <small>(51 / 72)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Lines: <span class="metric">77.17% <small>(240 / 311)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Statements: <span class="metric">76.75% <small>(241 / 314)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Branches: <span class="metric">70.5% <small>(98 / 139)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Functions: <span class="metric">69.86% <small>(51 / 73)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Lines: <span class="metric">76.75% <small>(241 / 314)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Ignored: <span class="metric"><span class="ignore-none">none</span></span> &nbsp;&nbsp;&nbsp;&nbsp;
</h2>
<div class="path"></div>
Expand Down Expand Up @@ -55,15 +55,15 @@ <h2>

<tr>
<td class="file high" data-value="lib/base/"><a href="lib/base/index.html">lib/base/</a></td>
<td data-value="90.36" class="pic high"><span class="cover-fill" style="width: 90px;"></span><span class="cover-empty" style="width:10px;"></span></td>
<td data-value="90.36" class="pct high">90.36%</td>
<td data-value="197" class="abs high">(178&nbsp;/&nbsp;197)</td>
<td data-value="89.9" class="pic high"><span class="cover-fill" style="width: 89px;"></span><span class="cover-empty" style="width:11px;"></span></td>
<td data-value="89.9" class="pct high">89.9%</td>
<td data-value="198" class="abs high">(178&nbsp;/&nbsp;198)</td>
<td data-value="79.35" class="pct medium">79.35%</td>
<td data-value="92" class="abs medium">(73&nbsp;/&nbsp;92)</td>
<td data-value="82.22" class="pct high">82.22%</td>
<td data-value="45" class="abs high">(37&nbsp;/&nbsp;45)</td>
<td data-value="90.36" class="pct high">90.36%</td>
<td data-value="197" class="abs high">(178&nbsp;/&nbsp;197)</td>
<td data-value="80.43" class="pct high">80.43%</td>
<td data-value="46" class="abs high">(37&nbsp;/&nbsp;46)</td>
<td data-value="89.9" class="pct high">89.9%</td>
<td data-value="198" class="abs high">(178&nbsp;/&nbsp;198)</td>
</tr>

<tr>
Expand All @@ -81,15 +81,15 @@ <h2>

<tr>
<td class="file medium" data-value="lib/transformers/"><a href="lib/transformers/index.html">lib/transformers/</a></td>
<td data-value="78.79" class="pic medium"><span class="cover-fill" style="width: 78px;"></span><span class="cover-empty" style="width:22px;"></span></td>
<td data-value="78.79" class="pct medium">78.79%</td>
<td data-value="33" class="abs medium">(26&nbsp;/&nbsp;33)</td>
<td data-value="94.12" class="pct high">94.12%</td>
<td data-value="17" class="abs high">(16&nbsp;/&nbsp;17)</td>
<td data-value="77.14" class="pic medium"><span class="cover-fill" style="width: 77px;"></span><span class="cover-empty" style="width:23px;"></span></td>
<td data-value="77.14" class="pct medium">77.14%</td>
<td data-value="35" class="abs medium">(27&nbsp;/&nbsp;35)</td>
<td data-value="90.48" class="pct high">90.48%</td>
<td data-value="21" class="abs high">(19&nbsp;/&nbsp;21)</td>
<td data-value="62.5" class="pct medium">62.5%</td>
<td data-value="8" class="abs medium">(5&nbsp;/&nbsp;8)</td>
<td data-value="78.79" class="pct medium">78.79%</td>
<td data-value="33" class="abs medium">(26&nbsp;/&nbsp;33)</td>
<td data-value="77.14" class="pct medium">77.14%</td>
<td data-value="35" class="abs medium">(27&nbsp;/&nbsp;35)</td>
</tr>

<tr>
Expand All @@ -110,7 +110,7 @@ <h2>
</div>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri May 08 2015 15:05:48 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
</div>
<script src="prettify.js"></script>
<script>
Expand Down
231 changes: 120 additions & 111 deletions tests/coverage/lcov.info
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ FN:1,(anonymous_1)
FN:9,(anonymous_2)
FN:27,(anonymous_3)
FN:41,(anonymous_4)
FN:69,(anonymous_5)
FN:80,(anonymous_6)
FN:82,(anonymous_7)
FN:95,(anonymous_8)
FN:71,(anonymous_5)
FN:82,(anonymous_6)
FN:84,(anonymous_7)
FN:97,(anonymous_8)
FNF:8
FNH:5
FNDA:1,(anonymous_1)
Expand All @@ -166,25 +166,27 @@ DA:44,4
DA:51,15
DA:52,15
DA:53,3
DA:57,15
DA:58,15
DA:54,12
DA:55,0
DA:59,15
DA:60,15
DA:69,44
DA:70,4
DA:80,44
DA:81,0
DA:82,0
DA:61,15
DA:62,15
DA:71,44
DA:72,4
DA:82,44
DA:83,0
DA:84,0
DA:85,0
DA:95,44
DA:98,0
DA:99,0
DA:102,0
DA:106,1
DA:87,0
DA:97,44
DA:100,0
DA:101,0
DA:104,0
DA:108,1
LF:33
LH:26
DA:110,1
LF:35
LH:27
BRDA:32,1,0,3
BRDA:32,1,1,12
BRDA:32,2,0,15
Expand All @@ -198,12 +200,16 @@ BRDA:43,5,0,4
BRDA:43,5,1,4
BRDA:52,6,0,3
BRDA:52,6,1,12
BRDA:57,7,0,7
BRDA:57,7,1,8
BRDA:57,8,0,15
BRDA:57,8,1,7
BRF:17
BRH:16
BRDA:52,7,0,15
BRDA:52,7,1,15
BRDA:54,8,0,0
BRDA:54,8,1,12
BRDA:59,9,0,7
BRDA:59,9,1,8
BRDA:59,10,0,15
BRDA:59,10,1,7
BRF:21
BRH:19
end_of_record
TN:
SF:./lib/util/util-service.js
Expand Down Expand Up @@ -269,30 +275,32 @@ FN:1,(anonymous_1)
FN:26,BaseActiveRecord
FN:44,(anonymous_3)
FN:83,(anonymous_4)
FN:98,(anonymous_5)
FN:108,(anonymous_6)
FN:123,(anonymous_7)
FN:136,(anonymous_8)
FN:97,(anonymous_5)
FN:112,(anonymous_6)
FN:122,(anonymous_7)
FN:137,(anonymous_8)
FN:150,(anonymous_9)
FN:167,(anonymous_10)
FN:189,(anonymous_11)
FN:192,(anonymous_12)
FN:213,(anonymous_13)
FNF:13
FN:164,(anonymous_10)
FN:181,(anonymous_11)
FN:203,(anonymous_12)
FN:206,(anonymous_13)
FN:227,(anonymous_14)
FNF:14
FNH:11
FNDA:1,(anonymous_1)
FNDA:44,BaseActiveRecord
FNDA:31,(anonymous_3)
FNDA:2,(anonymous_4)
FNDA:0,(anonymous_5)
FNDA:1,(anonymous_6)
FNDA:0,(anonymous_4)
FNDA:2,(anonymous_5)
FNDA:0,(anonymous_6)
FNDA:1,(anonymous_7)
FNDA:1,(anonymous_8)
FNDA:0,(anonymous_9)
FNDA:14,(anonymous_10)
FNDA:3,(anonymous_11)
FNDA:21,(anonymous_12)
FNDA:25,(anonymous_13)
FNDA:1,(anonymous_9)
FNDA:0,(anonymous_10)
FNDA:14,(anonymous_11)
FNDA:3,(anonymous_12)
FNDA:21,(anonymous_13)
FNDA:25,(anonymous_14)
DA:1,1
DA:11,1
DA:14,1
Expand All @@ -315,49 +323,51 @@ DA:58,28
DA:62,31
DA:70,31
DA:83,1
DA:85,2
DA:86,1
DA:89,1
DA:98,1
DA:99,0
DA:108,1
DA:109,1
DA:84,0
DA:97,1
DA:99,2
DA:100,1
DA:103,1
DA:112,1
DA:113,0
DA:122,1
DA:123,1
DA:124,1
DA:136,1
DA:137,1
DA:138,1
DA:150,1
DA:151,0
DA:167,1
DA:168,14
DA:170,14
DA:171,1
DA:174,13
DA:175,1
DA:178,12
DA:179,1
DA:182,11
DA:183,1
DA:186,10
DA:190,3
DA:193,21
DA:194,21
DA:199,10
DA:201,10
DA:213,1
DA:214,25
DA:215,1
DA:218,24
DA:219,1
DA:222,23
DA:223,1
DA:226,22
DA:151,1
DA:164,1
DA:165,0
DA:181,1
DA:182,14
DA:184,14
DA:185,1
DA:188,13
DA:189,1
DA:192,12
DA:193,1
DA:196,11
DA:197,1
DA:200,10
DA:204,3
DA:207,21
DA:208,21
DA:213,10
DA:215,10
DA:227,1
DA:230,21
DA:232,21
DA:235,1
LF:63
LH:60
DA:228,25
DA:229,1
DA:232,24
DA:233,1
DA:236,23
DA:237,1
DA:240,22
DA:241,1
DA:244,21
DA:246,21
DA:249,1
LF:65
LH:61
BRDA:45,1,0,0
BRDA:45,1,1,31
BRDA:45,2,0,31
Expand All @@ -366,28 +376,28 @@ BRDA:45,2,2,31
BRDA:45,2,3,31
BRDA:56,3,0,28
BRDA:56,3,1,3
BRDA:85,4,0,1
BRDA:85,4,1,1
BRDA:151,5,0,0
BRDA:151,5,1,0
BRDA:151,6,0,0
BRDA:151,6,1,0
BRDA:170,7,0,1
BRDA:170,7,1,13
BRDA:174,8,0,1
BRDA:174,8,1,12
BRDA:178,9,0,1
BRDA:178,9,1,11
BRDA:182,10,0,1
BRDA:182,10,1,10
BRDA:214,11,0,1
BRDA:214,11,1,24
BRDA:218,12,0,1
BRDA:218,12,1,23
BRDA:222,13,0,1
BRDA:222,13,1,22
BRDA:226,14,0,1
BRDA:226,14,1,21
BRDA:99,4,0,1
BRDA:99,4,1,1
BRDA:165,5,0,0
BRDA:165,5,1,0
BRDA:165,6,0,0
BRDA:165,6,1,0
BRDA:184,7,0,1
BRDA:184,7,1,13
BRDA:188,8,0,1
BRDA:188,8,1,12
BRDA:192,9,0,1
BRDA:192,9,1,11
BRDA:196,10,0,1
BRDA:196,10,1,10
BRDA:228,11,0,1
BRDA:228,11,1,24
BRDA:232,12,0,1
BRDA:232,12,1,23
BRDA:236,13,0,1
BRDA:236,13,1,22
BRDA:240,14,0,1
BRDA:240,14,1,21
BRF:30
BRH:25
end_of_record
Expand Down Expand Up @@ -588,13 +598,12 @@ DA:398,3
DA:399,1
DA:403,2
DA:406,2
DA:409,2
DA:414,2
DA:415,1
DA:419,2
DA:422,1
LF:134
LH:118
DA:411,2
DA:412,1
DA:416,2
DA:419,1
LF:133
LH:117
BRDA:87,1,0,60
BRDA:87,1,1,0
BRDA:92,2,0,0
Expand Down Expand Up @@ -655,8 +664,8 @@ BRDA:398,29,0,1
BRDA:398,29,1,2
BRDA:398,30,0,3
BRDA:398,30,1,3
BRDA:414,31,0,1
BRDA:414,31,1,1
BRDA:411,31,0,1
BRDA:411,31,1,1
BRF:62
BRH:48
end_of_record
2 changes: 1 addition & 1 deletion tests/coverage/lib/angular-cakephp-settings.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri May 08 2015 15:05:48 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/angular-cakephp.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri May 08 2015 15:05:48 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit f7905ad

Please sign in to comment.