Placeholders for core classes
This commit is contained in:
parent
e4540ead46
commit
13f3b6b1a8
|
@ -0,0 +1,12 @@
|
|||
###
|
||||
* adaptor
|
||||
* cylonjs.com
|
||||
*
|
||||
* Copyright (c) 2013 The Hybrid Group
|
||||
* Licensed under the Apache 2.0 license.
|
||||
###
|
||||
|
||||
'use strict';
|
||||
|
||||
exports = module.exports = class Adaptor
|
||||
constructor: (@name) ->
|
|
@ -0,0 +1,12 @@
|
|||
###
|
||||
* connection
|
||||
* cylonjs.com
|
||||
*
|
||||
* Copyright (c) 2013 The Hybrid Group
|
||||
* Licensed under the Apache 2.0 license.
|
||||
###
|
||||
|
||||
'use strict';
|
||||
|
||||
exports = module.exports = class Connection
|
||||
constructor: (@name) ->
|
|
@ -0,0 +1,12 @@
|
|||
###
|
||||
* device
|
||||
* cylonjs.com
|
||||
*
|
||||
* Copyright (c) 2013 The Hybrid Group
|
||||
* Licensed under the Apache 2.0 license.
|
||||
###
|
||||
|
||||
'use strict';
|
||||
|
||||
exports = module.exports = class Device
|
||||
constructor: (@name) ->
|
|
@ -0,0 +1,12 @@
|
|||
###
|
||||
* driver
|
||||
* cylonjs.com
|
||||
*
|
||||
* Copyright (c) 2013 The Hybrid Group
|
||||
* Licensed under the Apache 2.0 license.
|
||||
###
|
||||
|
||||
'use strict';
|
||||
|
||||
exports = module.exports = class Driver
|
||||
constructor: (@name) ->
|
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
Adaptor = source("adaptor")
|
||||
|
||||
describe "basic tests", ->
|
||||
r = new Adaptor("irobot")
|
||||
|
||||
it "adaptor should have a name", ->
|
||||
r.should.have.keys 'name'
|
||||
r.name.should.be.equal 'irobot'
|
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
Connection = source("connection")
|
||||
|
||||
describe "basic tests", ->
|
||||
r = new Connection("irobot")
|
||||
|
||||
it "connection should have a name", ->
|
||||
r.should.have.keys 'name'
|
||||
r.name.should.be.equal 'irobot'
|
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
Device = source("device")
|
||||
|
||||
describe "basic tests", ->
|
||||
r = new Device("irobot")
|
||||
|
||||
it "device should have a name", ->
|
||||
r.should.have.keys 'name'
|
||||
r.name.should.be.equal 'irobot'
|
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
Driver = source("driver")
|
||||
|
||||
describe "basic tests", ->
|
||||
r = new Driver("irobot")
|
||||
|
||||
it "driver should have a name", ->
|
||||
r.should.have.keys 'name'
|
||||
r.name.should.be.equal 'irobot'
|
Loading…
Reference in New Issue