cleaning up test params

This commit is contained in:
Brandon Nozaki Miller 2016-01-10 05:10:48 -08:00
parent 6278fd472b
commit 9a28809a4f
12 changed files with 617 additions and 626 deletions

View file

@ -1,10 +1,8 @@
'use strict';
const os = require('os'),
dns = require('dns'),
util = require('util'),
colors = require('colors'),
eventParser = require('./lib/eventParser.js'),
Client = require('./lib/client.js'),
Server = require('./lib/socketServer.js');

File diff suppressed because one or more lines are too long

View file

@ -30,9 +30,9 @@
<span class='fraction'>115/204</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">80.95% </span>
<span class="strong">86.84% </span>
<span class="quiet">Functions</span>
<span class='fraction'>34/42</span>
<span class='fraction'>33/38</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">67.49% </span>
@ -60,28 +60,28 @@
</thead>
<tbody><tr>
<td class="file medium" data-value="node-ipc/"><a href="node-ipc/index.html">node-ipc/</a></td>
<td data-value="66.67" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 66%;"></div><div class="cover-empty" style="width:34%;"></div></div></td>
<td data-value="66.67" class="pct medium">66.67%</td>
<td data-value="135" class="abs medium">90/135</td>
<td data-value="66.91" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 66%;"></div><div class="cover-empty" style="width:34%;"></div></div></td>
<td data-value="66.91" class="pct medium">66.91%</td>
<td data-value="136" class="abs medium">91/136</td>
<td data-value="59.72" class="pct medium">59.72%</td>
<td data-value="72" class="abs medium">43/72</td>
<td data-value="60" class="pct medium">60%</td>
<td data-value="10" class="abs medium">6/10</td>
<td data-value="66.67" class="pct medium">66.67%</td>
<td data-value="135" class="abs medium">90/135</td>
<td data-value="85.71" class="pct high">85.71%</td>
<td data-value="7" class="abs high">6/7</td>
<td data-value="66.91" class="pct medium">66.91%</td>
<td data-value="136" class="abs medium">91/136</td>
</tr>
<tr>
<td class="file medium" data-value="node-ipc/lib/"><a href="node-ipc/lib/index.html">node-ipc/lib/</a></td>
<td data-value="67.91" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 67%;"></div><div class="cover-empty" style="width:33%;"></div></div></td>
<td data-value="67.91" class="pct medium">67.91%</td>
<td data-value="268" class="abs medium">182/268</td>
<td data-value="67.79" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 67%;"></div><div class="cover-empty" style="width:33%;"></div></div></td>
<td data-value="67.79" class="pct medium">67.79%</td>
<td data-value="267" class="abs medium">181/267</td>
<td data-value="54.55" class="pct medium">54.55%</td>
<td data-value="132" class="abs medium">72/132</td>
<td data-value="87.5" class="pct high">87.5%</td>
<td data-value="32" class="abs high">28/32</td>
<td data-value="67.91" class="pct medium">67.91%</td>
<td data-value="268" class="abs medium">182/268</td>
<td data-value="87.1" class="pct high">87.1%</td>
<td data-value="31" class="abs high">27/31</td>
<td data-value="67.79" class="pct medium">67.79%</td>
<td data-value="267" class="abs medium">181/267</td>
</tr>
</tbody>
@ -90,7 +90,7 @@
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:44:52 GMT-0800 (PST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:57:21 GMT-0800 (PST)
</div>
</div>
<script src="prettify.js"></script>

View file

@ -20,9 +20,9 @@
</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">66.67% </span>
<span class="strong">66.91% </span>
<span class="quiet">Statements</span>
<span class='fraction'>90/135</span>
<span class='fraction'>91/136</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">59.72% </span>
@ -30,14 +30,14 @@
<span class='fraction'>43/72</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">60% </span>
<span class="strong">85.71% </span>
<span class="quiet">Functions</span>
<span class='fraction'>6/10</span>
<span class='fraction'>6/7</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">66.67% </span>
<span class="strong">66.91% </span>
<span class="quiet">Lines</span>
<span class='fraction'>90/135</span>
<span class='fraction'>91/136</span>
</div>
</div>
</div>
@ -60,15 +60,15 @@
</thead>
<tbody><tr>
<td class="file medium" data-value="node-ipc.js"><a href="node-ipc.js.html">node-ipc.js</a></td>
<td data-value="66.67" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 66%;"></div><div class="cover-empty" style="width:34%;"></div></div></td>
<td data-value="66.67" class="pct medium">66.67%</td>
<td data-value="135" class="abs medium">90/135</td>
<td data-value="66.91" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 66%;"></div><div class="cover-empty" style="width:34%;"></div></div></td>
<td data-value="66.91" class="pct medium">66.91%</td>
<td data-value="136" class="abs medium">91/136</td>
<td data-value="59.72" class="pct medium">59.72%</td>
<td data-value="72" class="abs medium">43/72</td>
<td data-value="60" class="pct medium">60%</td>
<td data-value="10" class="abs medium">6/10</td>
<td data-value="66.67" class="pct medium">66.67%</td>
<td data-value="135" class="abs medium">90/135</td>
<td data-value="85.71" class="pct high">85.71%</td>
<td data-value="7" class="abs high">6/7</td>
<td data-value="66.91" class="pct medium">66.91%</td>
<td data-value="136" class="abs medium">91/136</td>
</tr>
</tbody>
@ -77,7 +77,7 @@
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:44:52 GMT-0800 (PST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:57:21 GMT-0800 (PST)
</div>
</div>
<script src="../prettify.js"></script>

View file

@ -757,7 +757,7 @@ module.exports=init;
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:44:52 GMT-0800 (PST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:57:21 GMT-0800 (PST)
</div>
</div>
<script src="../../prettify.js"></script>

View file

@ -130,7 +130,7 @@ module.exports=parser;
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:44:52 GMT-0800 (PST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:57:21 GMT-0800 (PST)
</div>
</div>
<script src="../../prettify.js"></script>

View file

@ -20,9 +20,9 @@
</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">67.91% </span>
<span class="strong">67.79% </span>
<span class="quiet">Statements</span>
<span class='fraction'>182/268</span>
<span class='fraction'>181/267</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">54.55% </span>
@ -30,14 +30,14 @@
<span class='fraction'>72/132</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">87.5% </span>
<span class="strong">87.1% </span>
<span class="quiet">Functions</span>
<span class='fraction'>28/32</span>
<span class='fraction'>27/31</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">67.91% </span>
<span class="strong">67.79% </span>
<span class="quiet">Lines</span>
<span class='fraction'>182/268</span>
<span class='fraction'>181/267</span>
</div>
</div>
</div>
@ -86,15 +86,15 @@
<tr>
<td class="file medium" data-value="socketServer.js"><a href="socketServer.js.html">socketServer.js</a></td>
<td data-value="63.16" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 63%;"></div><div class="cover-empty" style="width:37%;"></div></div></td>
<td data-value="63.16" class="pct medium">63.16%</td>
<td data-value="152" class="abs medium">96/152</td>
<td data-value="62.91" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 62%;"></div><div class="cover-empty" style="width:38%;"></div></div></td>
<td data-value="62.91" class="pct medium">62.91%</td>
<td data-value="151" class="abs medium">95/151</td>
<td data-value="55.81" class="pct medium">55.81%</td>
<td data-value="86" class="abs medium">48/86</td>
<td data-value="80" class="pct high">80%</td>
<td data-value="20" class="abs high">16/20</td>
<td data-value="63.16" class="pct medium">63.16%</td>
<td data-value="152" class="abs medium">96/152</td>
<td data-value="78.95" class="pct medium">78.95%</td>
<td data-value="19" class="abs medium">15/19</td>
<td data-value="62.91" class="pct medium">62.91%</td>
<td data-value="151" class="abs medium">95/151</td>
</tr>
</tbody>
@ -103,7 +103,7 @@
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:44:52 GMT-0800 (PST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:57:21 GMT-0800 (PST)
</div>
</div>
<script src="../../prettify.js"></script>

View file

@ -20,9 +20,9 @@
</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">63.16% </span>
<span class="strong">62.91% </span>
<span class="quiet">Statements</span>
<span class='fraction'>96/152</span>
<span class='fraction'>95/151</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">55.81% </span>
@ -30,14 +30,14 @@
<span class='fraction'>48/86</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">80% </span>
<span class="strong">78.95% </span>
<span class="quiet">Functions</span>
<span class='fraction'>16/20</span>
<span class='fraction'>15/19</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">63.16% </span>
<span class="strong">62.91% </span>
<span class="quiet">Lines</span>
<span class='fraction'>96/152</span>
<span class='fraction'>95/151</span>
</div>
</div>
</div>
@ -412,11 +412,7 @@
367
368
369
370
371
372
373
374</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
370</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
@ -510,8 +506,6 @@
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
@ -749,8 +743,6 @@
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
@ -865,16 +857,16 @@ function init(path,config,log,port){
sockets : [],
emit : emit,
broadcast : broadcast,
onStart : function(socket){
onStart : function onStart(socket){
this.trigger(
'start',
socket
);
},
stop:function(){
stop:function stop(){
server.server.close();
},
start : function(){
start : function start(){
<span class="missing-if-branch" title="if path not taken" >I</span>if(!this.path){
<span class="cstat-no" title="statement not covered" > server.log('Socket Server Path not specified, refusing to start'.warn);</span>
<span class="cstat-no" title="statement not covered" > return;</span>
@ -882,9 +874,7 @@ function init(path,config,log,port){
&nbsp;
fs.unlink(
this.path,
(
function(server){
return function () {
function () {
server.log('starting server on '.debug,server.path.variable,((server.port)?':'+server.port:'').variable);
&nbsp;
if(!server.udp4 &amp;&amp; !server.udp6){
@ -1117,9 +1107,7 @@ function init(path,config,log,port){
port : server.port
}
);
};
}
)(this)
);
}
};
@ -1168,7 +1156,7 @@ module.exports=init;
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:44:52 GMT-0800 (PST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:57:21 GMT-0800 (PST)
</div>
</div>
<script src="../../prettify.js"></script>

View file

@ -20,9 +20,9 @@
</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">66.67% </span>
<span class="strong">66.91% </span>
<span class="quiet">Statements</span>
<span class='fraction'>90/135</span>
<span class='fraction'>91/136</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">59.72% </span>
@ -30,14 +30,14 @@
<span class='fraction'>43/72</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">60% </span>
<span class="strong">85.71% </span>
<span class="quiet">Functions</span>
<span class='fraction'>6/10</span>
<span class='fraction'>6/7</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">66.67% </span>
<span class="strong">66.91% </span>
<span class="quiet">Lines</span>
<span class='fraction'>90/135</span>
<span class='fraction'>91/136</span>
</div>
</div>
</div>
@ -360,7 +360,11 @@
315
316
317
318</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
318
319
320
321
322</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
@ -484,6 +488,10 @@
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
@ -785,7 +793,7 @@ function serve(path,callback){
}
&nbsp;
<span class="missing-if-branch" title="if path not taken" >I</span>if(!callback){
<span class="cstat-no" title="statement not covered" > callback=<span class="fstat-no" title="function not covered" >function(){</span>};</span>
<span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span>
}
&nbsp;
ipc.server=new Server(
@ -800,6 +808,10 @@ function serve(path,callback){
);
}
&nbsp;
<span class="fstat-no" title="function not covered" >function emptyCallback(){</span>
//Do Nothing
}
&nbsp;
function serveNet(host,port,UDPType,callback){
if(typeof host=='number'){
callback=UDPType;
@ -853,7 +865,7 @@ function serveNet(host,port,UDPType,callback){
}
&nbsp;
<span class="missing-if-branch" title="if path not taken" >I</span>if(!callback){
<span class="cstat-no" title="statement not covered" > callback=<span class="fstat-no" title="function not covered" >function(){</span>};</span>
<span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span>
}
&nbsp;
ipc.server=new Server(
@ -880,7 +892,7 @@ function connect(id,path,callback){
}
&nbsp;
<span class="missing-if-branch" title="if path not taken" >I</span>if(!callback){
<span class="cstat-no" title="statement not covered" > callback=<span class="fstat-no" title="function not covered" >function(){</span>};</span>
<span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span>
}
&nbsp;
<span class="missing-if-branch" title="if path not taken" >I</span>if(!id){
@ -967,7 +979,7 @@ function connectNet(id,host,port,callback){
<span class="cstat-no" title="statement not covered" > callback=false;</span>
}
<span class="missing-if-branch" title="if path not taken" >I</span>if(!callback){
<span class="cstat-no" title="statement not covered" > callback=<span class="fstat-no" title="function not covered" >function(){</span>};</span>
<span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span>
}
&nbsp;
<span class="missing-if-branch" title="if path not taken" >I</span>if(ipc.of[id]){
@ -1000,7 +1012,7 @@ module.exports=ipc;
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:44:52 GMT-0800 (PST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 04:57:21 GMT-0800 (PST)
</div>
</div>
<script src="../prettify.js"></script>

View file

@ -3,25 +3,19 @@ SF:/home/bmiller/git/node-ipc/node-ipc.js
FN:57,log
FN:77,disconnect
FN:94,serve
FN:109,(anonymous_4)
FN:124,serveNet
FN:177,(anonymous_6)
FN:197,connect
FN:204,(anonymous_8)
FN:246,connectNet
FN:291,(anonymous_10)
FNF:10
FN:124,emptyCallback
FN:128,serveNet
FN:201,connect
FN:250,connectNet
FNF:7
FNH:6
FNDA:114,log
FNDA:7,disconnect
FNDA:1,serve
FNDA:0,(anonymous_4)
FNDA:0,emptyCallback
FNDA:3,serveNet
FNDA:0,(anonymous_6)
FNDA:4,connect
FNDA:0,(anonymous_8)
FNDA:3,connectNet
FNDA:0,(anonymous_10)
DA:3,1
DA:11,1
DA:23,1
@ -57,108 +51,109 @@ DA:109,0
DA:112,1
DA:118,1
DA:124,1
DA:125,3
DA:126,1
DA:127,1
DA:128,1
DA:129,1
DA:131,3
DA:129,3
DA:130,1
DA:131,1
DA:132,1
DA:133,1
DA:134,1
DA:135,1
DA:137,3
DA:138,2
DA:143,2
DA:145,3
DA:146,0
DA:147,0
DA:148,0
DA:149,0
DA:152,3
DA:135,3
DA:136,1
DA:137,1
DA:138,1
DA:139,1
DA:141,3
DA:142,2
DA:147,2
DA:149,3
DA:150,0
DA:151,0
DA:152,0
DA:153,0
DA:154,0
DA:155,0
DA:157,3
DA:156,3
DA:157,0
DA:158,0
DA:159,0
DA:160,0
DA:162,3
DA:163,1
DA:168,1
DA:171,3
DA:172,0
DA:173,0
DA:176,3
DA:161,3
DA:162,0
DA:163,0
DA:164,0
DA:166,3
DA:167,1
DA:172,1
DA:175,3
DA:176,0
DA:177,0
DA:180,3
DA:187,3
DA:188,2
DA:181,0
DA:184,3
DA:191,3
DA:197,1
DA:198,4
DA:199,2
DA:200,2
DA:203,4
DA:204,0
DA:192,2
DA:195,3
DA:201,1
DA:202,4
DA:203,2
DA:204,2
DA:207,4
DA:208,0
DA:211,4
DA:212,0
DA:215,4
DA:216,2
DA:221,2
DA:224,4
DA:225,0
DA:226,0
DA:231,0
DA:232,0
DA:234,0
DA:237,4
DA:238,4
DA:239,4
DA:216,0
DA:219,4
DA:220,2
DA:225,2
DA:228,4
DA:229,0
DA:230,0
DA:235,0
DA:236,0
DA:238,0
DA:241,4
DA:242,4
DA:243,4
DA:246,1
DA:247,3
DA:248,0
DA:245,4
DA:247,4
DA:250,1
DA:251,3
DA:252,0
DA:254,3
DA:255,3
DA:256,3
DA:257,3
DA:256,0
DA:258,3
DA:259,3
DA:260,0
DA:261,0
DA:262,0
DA:264,3
DA:265,3
DA:270,3
DA:273,3
DA:274,0
DA:275,0
DA:260,3
DA:261,3
DA:263,3
DA:264,0
DA:265,0
DA:266,0
DA:268,3
DA:269,3
DA:274,3
DA:277,3
DA:278,0
DA:283,0
DA:286,3
DA:279,0
DA:281,3
DA:282,0
DA:287,0
DA:288,0
DA:290,3
DA:291,0
DA:292,0
DA:294,3
DA:295,0
DA:296,0
DA:301,0
DA:302,0
DA:304,0
DA:307,3
DA:308,3
DA:309,3
DA:310,3
DA:298,3
DA:299,0
DA:300,0
DA:305,0
DA:306,0
DA:308,0
DA:311,3
DA:312,3
DA:313,3
DA:314,3
DA:317,1
LF:135
LH:90
DA:316,3
DA:318,3
DA:321,1
LF:136
LH:91
BRDA:30,1,0,0
BRDA:30,1,1,1
BRDA:58,2,0,0
@ -177,60 +172,60 @@ BRDA:99,8,0,0
BRDA:99,8,1,1
BRDA:108,9,0,0
BRDA:108,9,1,1
BRDA:125,10,0,1
BRDA:125,10,1,2
BRDA:131,11,0,1
BRDA:131,11,1,2
BRDA:137,12,0,2
BRDA:137,12,1,1
BRDA:145,13,0,0
BRDA:145,13,1,3
BRDA:145,14,0,3
BRDA:145,14,1,3
BRDA:152,15,0,0
BRDA:152,15,1,3
BRDA:157,16,0,0
BRDA:157,16,1,3
BRDA:162,17,0,1
BRDA:162,17,1,2
BRDA:171,18,0,0
BRDA:171,18,1,3
BRDA:176,19,0,0
BRDA:176,19,1,3
BRDA:187,20,0,2
BRDA:187,20,1,1
BRDA:198,21,0,2
BRDA:198,21,1,2
BRDA:203,22,0,0
BRDA:203,22,1,4
BRDA:207,23,0,0
BRDA:207,23,1,4
BRDA:215,24,0,2
BRDA:215,24,1,2
BRDA:224,25,0,0
BRDA:224,25,1,4
BRDA:225,26,0,0
BRDA:225,26,1,0
BRDA:247,27,0,0
BRDA:247,27,1,3
BRDA:254,28,0,3
BRDA:254,28,1,0
BRDA:259,29,0,0
BRDA:259,29,1,3
BRDA:264,30,0,3
BRDA:264,30,1,0
BRDA:273,31,0,0
BRDA:273,31,1,3
BRDA:277,32,0,0
BRDA:277,32,1,3
BRDA:286,33,0,0
BRDA:286,33,1,3
BRDA:290,34,0,0
BRDA:290,34,1,3
BRDA:294,35,0,0
BRDA:294,35,1,3
BRDA:295,36,0,0
BRDA:295,36,1,0
BRDA:129,10,0,1
BRDA:129,10,1,2
BRDA:135,11,0,1
BRDA:135,11,1,2
BRDA:141,12,0,2
BRDA:141,12,1,1
BRDA:149,13,0,0
BRDA:149,13,1,3
BRDA:149,14,0,3
BRDA:149,14,1,3
BRDA:156,15,0,0
BRDA:156,15,1,3
BRDA:161,16,0,0
BRDA:161,16,1,3
BRDA:166,17,0,1
BRDA:166,17,1,2
BRDA:175,18,0,0
BRDA:175,18,1,3
BRDA:180,19,0,0
BRDA:180,19,1,3
BRDA:191,20,0,2
BRDA:191,20,1,1
BRDA:202,21,0,2
BRDA:202,21,1,2
BRDA:207,22,0,0
BRDA:207,22,1,4
BRDA:211,23,0,0
BRDA:211,23,1,4
BRDA:219,24,0,2
BRDA:219,24,1,2
BRDA:228,25,0,0
BRDA:228,25,1,4
BRDA:229,26,0,0
BRDA:229,26,1,0
BRDA:251,27,0,0
BRDA:251,27,1,3
BRDA:258,28,0,3
BRDA:258,28,1,0
BRDA:263,29,0,0
BRDA:263,29,1,3
BRDA:268,30,0,3
BRDA:268,30,1,0
BRDA:277,31,0,0
BRDA:277,31,1,3
BRDA:281,32,0,0
BRDA:281,32,1,3
BRDA:290,33,0,0
BRDA:290,33,1,3
BRDA:294,34,0,0
BRDA:294,34,1,3
BRDA:298,35,0,0
BRDA:298,35,1,3
BRDA:299,36,0,0
BRDA:299,36,1,0
BRF:72
BRH:43
end_of_record
@ -443,45 +438,43 @@ SF:/home/bmiller/git/node-ipc/lib/socketServer.js
FN:11,emit
FN:42,broadcast
FN:65,init
FN:77,(anonymous_4)
FN:83,(anonymous_5)
FN:86,(anonymous_6)
FN:95,(anonymous_7)
FN:96,(anonymous_8)
FN:136,UDPWrite
FN:144,(anonymous_10)
FN:149,(anonymous_11)
FN:164,(anonymous_12)
FN:172,(anonymous_13)
FN:184,serverCreated
FN:194,(anonymous_15)
FN:204,(anonymous_16)
FN:213,(anonymous_17)
FN:260,(anonymous_18)
FN:287,started
FN:340,(anonymous_20)
FNF:20
FNH:16
FN:77,onStart
FN:83,stop
FN:86,start
FN:94,(anonymous_7)
FN:134,UDPWrite
FN:142,(anonymous_9)
FN:147,(anonymous_10)
FN:162,(anonymous_11)
FN:170,(anonymous_12)
FN:182,serverCreated
FN:192,(anonymous_14)
FN:202,(anonymous_15)
FN:211,(anonymous_16)
FN:258,(anonymous_17)
FN:285,started
FN:336,(anonymous_19)
FNF:19
FNH:15
FNDA:2,emit
FNDA:0,broadcast
FNDA:4,init
FNDA:4,(anonymous_4)
FNDA:4,(anonymous_5)
FNDA:4,(anonymous_6)
FNDA:4,onStart
FNDA:4,stop
FNDA:4,start
FNDA:4,(anonymous_7)
FNDA:4,(anonymous_8)
FNDA:2,UDPWrite
FNDA:2,(anonymous_10)
FNDA:0,(anonymous_11)
FNDA:2,(anonymous_12)
FNDA:0,(anonymous_13)
FNDA:2,(anonymous_9)
FNDA:0,(anonymous_10)
FNDA:2,(anonymous_11)
FNDA:0,(anonymous_12)
FNDA:4,serverCreated
FNDA:2,(anonymous_15)
FNDA:0,(anonymous_16)
FNDA:2,(anonymous_14)
FNDA:0,(anonymous_15)
FNDA:2,(anonymous_16)
FNDA:2,(anonymous_17)
FNDA:2,(anonymous_18)
FNDA:4,started
FNDA:2,(anonymous_20)
FNDA:2,(anonymous_19)
DA:3,1
DA:11,1
DA:12,2
@ -520,122 +513,121 @@ DA:87,4
DA:88,0
DA:89,0
DA:92,4
DA:96,4
DA:95,4
DA:97,4
DA:99,4
DA:100,2
DA:101,2
DA:98,2
DA:99,2
DA:103,0
DA:104,0
DA:105,0
DA:106,0
DA:107,0
DA:109,0
DA:111,0
DA:110,0
DA:112,0
DA:114,0
DA:116,0
DA:115,0
DA:117,0
DA:118,0
DA:119,0
DA:120,0
DA:121,0
DA:122,0
DA:123,0
DA:124,0
DA:125,0
DA:130,0
DA:136,1
DA:137,2
DA:138,2
DA:145,2
DA:146,0
DA:147,0
DA:150,0
DA:158,2
DA:161,2
DA:162,2
DA:165,2
DA:170,4
DA:128,0
DA:134,1
DA:135,2
DA:136,2
DA:143,2
DA:144,0
DA:145,0
DA:148,0
DA:156,2
DA:159,2
DA:160,2
DA:163,2
DA:168,4
DA:171,0
DA:173,0
DA:175,0
DA:182,4
DA:184,1
DA:180,4
DA:182,1
DA:183,4
DA:185,4
DA:187,4
DA:188,2
DA:191,4
DA:192,4
DA:195,2
DA:202,4
DA:186,2
DA:189,4
DA:190,4
DA:193,2
DA:200,4
DA:203,0
DA:205,0
DA:207,0
DA:211,4
DA:214,2
DA:215,2
DA:216,0
DA:217,0
DA:222,0
DA:225,2
DA:226,2
DA:209,4
DA:212,2
DA:213,2
DA:214,0
DA:215,0
DA:220,0
DA:223,2
DA:224,2
DA:227,2
DA:229,2
DA:231,2
DA:232,0
DA:233,0
DA:230,0
DA:231,0
DA:234,2
DA:236,2
DA:238,2
DA:239,2
DA:240,2
DA:241,2
DA:242,2
DA:244,2
DA:246,2
DA:245,2
DA:247,2
DA:249,2
DA:258,4
DA:261,2
DA:262,0
DA:265,2
DA:256,4
DA:259,2
DA:260,0
DA:263,2
DA:264,2
DA:266,2
DA:268,2
DA:269,0
DA:267,0
DA:269,2
DA:271,2
DA:273,2
DA:277,4
DA:282,4
DA:283,0
DA:287,1
DA:288,4
DA:291,4
DA:292,1
DA:293,1
DA:275,4
DA:280,4
DA:281,0
DA:285,1
DA:286,4
DA:289,4
DA:290,1
DA:291,1
DA:292,0
DA:293,0
DA:294,0
DA:295,0
DA:296,0
DA:299,1
DA:304,1
DA:307,3
DA:308,1
DA:309,1
DA:314,1
DA:317,2
DA:318,2
DA:323,2
DA:336,4
DA:338,4
DA:297,1
DA:302,1
DA:305,3
DA:306,1
DA:307,1
DA:312,1
DA:315,2
DA:316,2
DA:321,2
DA:332,4
DA:334,4
DA:337,2
DA:338,2
DA:339,2
DA:341,2
DA:342,2
DA:343,2
DA:345,2
DA:346,2
DA:347,0
DA:343,0
DA:347,2
DA:348,0
DA:351,2
DA:352,0
DA:355,2
DA:353,2
DA:354,0
DA:357,2
DA:358,0
DA:359,2
DA:361,2
DA:363,2
DA:365,2
DA:370,4
DA:373,1
LF:152
LH:96
DA:366,4
DA:369,1
LF:151
LH:95
BRDA:18,1,0,0
BRDA:18,1,1,2
BRDA:24,2,0,2
@ -656,72 +648,72 @@ BRDA:54,9,0,0
BRDA:54,9,1,0
BRDA:87,10,0,0
BRDA:87,10,1,4
BRDA:97,11,0,3
BRDA:97,11,1,1
BRDA:99,12,0,2
BRDA:99,12,1,2
BRDA:99,13,0,4
BRDA:99,13,1,3
BRDA:100,14,0,2
BRDA:100,14,1,0
BRDA:106,15,0,0
BRDA:106,15,1,0
BRDA:111,16,0,0
BRDA:111,16,1,0
BRDA:116,17,0,0
BRDA:116,17,1,0
BRDA:119,18,0,0
BRDA:119,18,1,0
BRDA:120,19,0,0
BRDA:120,19,1,0
BRDA:145,20,0,0
BRDA:145,20,1,2
BRDA:159,21,0,1
BRDA:159,21,1,1
BRDA:187,22,0,2
BRDA:187,22,1,2
BRDA:214,23,0,2
BRDA:214,23,1,0
BRDA:214,24,0,2
BRDA:214,24,1,1
BRDA:215,25,0,0
BRDA:215,25,1,2
BRDA:225,26,0,2
BRDA:225,26,1,0
BRDA:231,27,0,0
BRDA:231,27,1,2
BRDA:231,28,0,2
BRDA:231,28,1,2
BRDA:246,29,0,2
BRDA:246,29,1,0
BRDA:261,30,0,0
BRDA:261,30,1,2
BRDA:268,31,0,0
BRDA:268,31,1,2
BRDA:282,32,0,0
BRDA:282,32,1,4
BRDA:291,33,0,1
BRDA:291,33,1,3
BRDA:293,34,0,0
BRDA:293,34,1,1
BRDA:307,35,0,1
BRDA:307,35,1,2
BRDA:307,36,0,3
BRDA:307,36,1,2
BRDA:308,37,0,0
BRDA:308,37,1,1
BRDA:317,38,0,1
BRDA:317,38,1,1
BRDA:345,39,0,2
BRDA:345,39,1,0
BRDA:346,40,0,0
BRDA:346,40,1,2
BRDA:351,41,0,0
BRDA:351,41,1,2
BRDA:357,42,0,0
BRDA:357,42,1,2
BRDA:357,43,0,2
BRDA:357,43,1,2
BRDA:95,11,0,3
BRDA:95,11,1,1
BRDA:97,12,0,2
BRDA:97,12,1,2
BRDA:97,13,0,4
BRDA:97,13,1,3
BRDA:98,14,0,2
BRDA:98,14,1,0
BRDA:104,15,0,0
BRDA:104,15,1,0
BRDA:109,16,0,0
BRDA:109,16,1,0
BRDA:114,17,0,0
BRDA:114,17,1,0
BRDA:117,18,0,0
BRDA:117,18,1,0
BRDA:118,19,0,0
BRDA:118,19,1,0
BRDA:143,20,0,0
BRDA:143,20,1,2
BRDA:157,21,0,1
BRDA:157,21,1,1
BRDA:185,22,0,2
BRDA:185,22,1,2
BRDA:212,23,0,2
BRDA:212,23,1,0
BRDA:212,24,0,2
BRDA:212,24,1,1
BRDA:213,25,0,0
BRDA:213,25,1,2
BRDA:223,26,0,2
BRDA:223,26,1,0
BRDA:229,27,0,0
BRDA:229,27,1,2
BRDA:229,28,0,2
BRDA:229,28,1,2
BRDA:244,29,0,2
BRDA:244,29,1,0
BRDA:259,30,0,0
BRDA:259,30,1,2
BRDA:266,31,0,0
BRDA:266,31,1,2
BRDA:280,32,0,0
BRDA:280,32,1,4
BRDA:289,33,0,1
BRDA:289,33,1,3
BRDA:291,34,0,0
BRDA:291,34,1,1
BRDA:305,35,0,1
BRDA:305,35,1,2
BRDA:305,36,0,3
BRDA:305,36,1,2
BRDA:306,37,0,0
BRDA:306,37,1,1
BRDA:315,38,0,1
BRDA:315,38,1,1
BRDA:341,39,0,2
BRDA:341,39,1,0
BRDA:342,40,0,0
BRDA:342,40,1,2
BRDA:347,41,0,0
BRDA:347,41,1,2
BRDA:353,42,0,0
BRDA:353,42,1,2
BRDA:353,43,0,2
BRDA:353,43,1,2
BRF:86
BRH:48
end_of_record

View file

@ -19,7 +19,7 @@ describe('TCP Socket verification of server',
function serverStarted(){
ipc.server.on(
'connect',
function connected(data,socket){
function connected(){
clientCounter++;
}
);

View file

@ -22,6 +22,7 @@ describe(
ipc.server.on(
'message',
function gotMessage(data,socket){
expect(socket).toBeDefined();
expect(data.id).toBe('udpServer');
expect(data.message).toBe('I am UDP4 server!');
testDone();