[apps/tidep0084.git] / example / iot-gateway / node_modules / aws-iot-device-sdk / node_modules / mqtt / node_modules / mqtt-connection / test / connection.js
1 /**
2 * Testing requires
3 */
4 var should = require('should')
5 , stream = require('./util').testStream;
7 /**
8 * Units under test
9 */
10 var Connection = require('../connection');
13 describe('Connection', function() {
15 beforeEach(function () {
16 var that = this;
17 this.stream = stream();
18 this.conn = new Connection(this.stream);
19 });
21 describe('parsing', require('./connection.parse.js'));
22 describe('transmission', require('./connection.transmit.js'));
23 });