Added {Abstract,Final}Class to index test
parent
bc22a9be27
commit
0dca143bdd
|
@ -25,6 +25,8 @@ var common = require( './common' ),
|
||||||
assert = require( 'assert' ),
|
assert = require( 'assert' ),
|
||||||
|
|
||||||
Class = common.require( 'class' ),
|
Class = common.require( 'class' ),
|
||||||
|
AbstractClass = common.require( 'class_abstract' ),
|
||||||
|
FinalClass = common.require( 'class_final' ),
|
||||||
Interface = common.require( 'interface' ),
|
Interface = common.require( 'interface' ),
|
||||||
|
|
||||||
index = require( '../' );
|
index = require( '../' );
|
||||||
|
@ -35,6 +37,16 @@ assert.ok(
|
||||||
"Class should be made available"
|
"Class should be made available"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
assert.ok(
|
||||||
|
( index.AbstractClass === AbstractClass ),
|
||||||
|
"AbstractClass should be made available"
|
||||||
|
);
|
||||||
|
|
||||||
|
assert.ok(
|
||||||
|
( index.FinalClass === FinalClass ),
|
||||||
|
"FinalClass should be made available"
|
||||||
|
);
|
||||||
|
|
||||||
assert.ok(
|
assert.ok(
|
||||||
( index.Interface === Interface ),
|
( index.Interface === Interface ),
|
||||||
"Interface should be made available"
|
"Interface should be made available"
|
||||||
|
|
Loading…
Reference in New Issue