2015-03-23 23:10:18 +01:00
|
|
|
var chai = require('chai');
|
|
|
|
var assert = chai.assert;
|
2015-03-08 18:18:52 +01:00
|
|
|
var filter = require('../lib/web3/filter');
|
2015-03-23 23:10:18 +01:00
|
|
|
var u = require('./helpers/test.utils.js');
|
2015-02-05 23:11:16 +01:00
|
|
|
|
|
|
|
var empty = function () {};
|
|
|
|
var implementation = {
|
|
|
|
newFilter: empty,
|
2015-02-23 18:30:37 +01:00
|
|
|
getLogs: empty,
|
2015-02-05 23:11:16 +01:00
|
|
|
uninstallFilter: empty,
|
|
|
|
startPolling: empty,
|
|
|
|
stopPolling: empty,
|
|
|
|
};
|
|
|
|
|
2015-03-25 23:50:39 +01:00
|
|
|
describe('web3.eth.filter', function () {
|
|
|
|
describe('methods', function () {
|
2015-03-26 18:11:05 +01:00
|
|
|
//var f = filter({}, implementation);
|
2015-02-05 23:11:16 +01:00
|
|
|
|
2015-03-26 18:11:05 +01:00
|
|
|
//u.methodExists(f, 'watch');
|
|
|
|
//u.methodExists(f, 'stopWatching');
|
|
|
|
//u.methodExists(f, 'get');
|
2015-02-05 23:11:16 +01:00
|
|
|
});
|
|
|
|
});
|