2016-08-02 01:31:51 +03:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
console.log('Running test cases... (this can take a long time, please be patient)');
|
|
|
|
|
2016-07-27 00:58:17 +03:00
|
|
|
|
|
|
|
// Test converting private keys to addresses
|
|
|
|
module.exports.testPrivateKeyToAddress = require('./test-privatekey.js');
|
|
|
|
|
|
|
|
// Test checksum addresses
|
|
|
|
module.exports.testChecksumAddress = require('./test-checksum-address.js');
|
|
|
|
|
|
|
|
// Test ICAP addresses
|
|
|
|
module.exports.testIcapAddress = require('./test-icap-address.js');
|
|
|
|
|
|
|
|
|
2016-08-02 01:31:51 +03:00
|
|
|
// Test ether strng formatting and parsing
|
|
|
|
module.exports.testEtherFormat = require('./test-ether-format.js');
|
|
|
|
|
|
|
|
|
2016-07-27 00:58:17 +03:00
|
|
|
// Test transactions
|
|
|
|
module.exports.testTrasactions = require('./test-transactions.js');
|
2016-08-02 01:31:51 +03:00
|
|
|
|
2016-07-27 00:58:17 +03:00
|
|
|
|
|
|
|
// Test Solidity encoding/decoding parameters
|
|
|
|
module.exports.testSolidityCoder = require('./test-solidity-coder.js');
|
|
|
|
|
2016-08-02 01:31:51 +03:00
|
|
|
// Test the contract meta-class
|
|
|
|
module.exports.testContracts = require('./test-contracts.js');
|
|
|
|
|
|
|
|
|
2016-07-27 00:58:17 +03:00
|
|
|
// Test the secret storage JSON wallet encryption/decryption
|
2016-08-02 01:31:51 +03:00
|
|
|
module.exports.testSecretStorage = require('./test-secret-storage.js');
|
|
|
|
|
2016-08-02 02:32:57 +03:00
|
|
|
// Test brain wallet generation
|
|
|
|
module.exports.testBrainWallet = require('./test-brain-wallet.js');
|
|
|
|
|
2016-08-02 01:31:51 +03:00
|
|
|
|
2016-08-05 04:37:15 +03:00
|
|
|
// Test contract address helper
|
2016-08-05 10:04:17 +03:00
|
|
|
module.exports.testContractAddress = require('./test-contract-address.js');
|
2016-08-05 04:37:15 +03:00
|
|
|
|
2016-08-05 09:56:24 +03:00
|
|
|
|
|
|
|
// Test the providers API (we still need to add a lot ore test cases here)
|
2016-08-05 10:04:17 +03:00
|
|
|
module.exports.testProviders = require('./test-providers.js');
|
2016-08-05 04:37:15 +03:00
|
|
|
|