forked from jaystack/jaydata
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnodeJsTest.js
More file actions
Latest commit
30 lines (24 loc) · 1.24 KB
/
Copy pathnodeJsTest.js
File metadata and controls
30 lines (24 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require('jaydata');
try{require('jaydata-mongodb-pro');}catch(err){}
require('./NewsReaderContext.js');
$data.Class.define('$data.Logger',$data.TraceBase,null,{
log: function(){},
warn: function(){},
error: function(){}
});
require('./test_Node.js');
varreporter=require('nodeunit').reporters.default;
//Tests
exports['commonTests']=require('./UnitTests/NodeJS/commonTests.js');
exports['EntityTransform']=require('./UnitTests/NodeJS/EntityTransformTests.js');
exports['oDataMetaDataGenerator']=require('./UnitTests/NodeJS/oDataMetaDataGeneratorTests.js');
exports['oDataResponseDataBuilder']=require('./UnitTests/NodeJS/oDataResponseDataBuilderTests.js');
exports['oDataBatchTest']=require('./UnitTests/NodeJS/oDataBatchTests.js');
//exports['oDataGeoTests'] = require('./UnitTests/NodeJS/oDataGeoTests.js');
exports['argumentBinderTests']=require('./UnitTests/NodeJS/argumentBinderTests.js');
exports['oDataXmlResultTests']=require('./UnitTests/NodeJS/oDataXmlResultTests.js');
try{exports['mongoProviderTests']=require('./Pro/UnitTests/mongoProviderTests.js');}
catch(err){exports['mongoProviderTests']=require('./UnitTests/mongoProviderTests.js');}
reporter.run(exports,null,function(){
process.exit();
});