Nicolás Venturo
4544df47da
All tests now use account names, and dont use accounts[0] (except ERC… ( #1137 )
...
* All tests now use account names, and dont use accounts[0] (except ERC721)
* Added account names to some missing contracts.
7 years ago
Nicolás Venturo
cea2a85a42
Remove Babel ( #1074 )
...
* Test helpers no longer rely on Babel.
* Behaviours are no longer imported.
* Removed Babel dependency.
* Fixed linter errors.
7 years ago
Arun Kumar
40b5594f52
Promisify web3 sync requests in tests ( #1009 )
7 years ago
Nicolás Venturo
8fd072cf8e
Escrows ( #1014 )
...
* Added basic Escrow
* PullPayment now uses an Escrow, removing all trust from the contract
* Abstracted the Escrow tests to a behaviour
* Added ConditionalEscrow
* Added RefundableEscrow.
* RefundableCrowdsale now uses a RefundEscrow, removed RefundVault.
* Renaming after code review.
* Added log test helper.
* Now allowing empty deposits and withdrawals.
* Style fixes.
* Minor review comments.
* Add Deposited and Withdrawn events, removed Refunded
* The base Escrow is now Ownable, users of it (owners) must provide methods to access it.
7 years ago
Matt Condon
f4228f1b49
fix: reference contract name rather than filepath ( #698 )
7 years ago
Facundo Spagnuolo
b925b2dae6
Organize test files following contracts folders structure
7 years ago
Santiago Palladino
1455a5a942
Re-enable solidity coverage
...
- Upgrade version
- Re-enable in travis.yml
- Move mocks to contracts folder for instrumentation
7 years ago
Matt Condon
d07bdccc0c
feat: manually fix linting errors across tests
7 years ago
Matt Condon
227a335399
feat: move mock solidity contracts to mocks/ folder
7 years ago
Matt Condon
58abd66969
feat: rename all test files to include .test.js postfix
7 years ago
Matt Condon
8662846838
feat: apply eslint --fix across project
7 years ago
Roy Blankman
6d8bb497c8
removing trailing whitespace
7 years ago
Rudy Godoy
6735a3ccd6
Renamed tAMOUNT to much friendly amount
8 years ago
Rudy Godoy
60ef284a9a
Typo in variable, using global tAMOUNT for the latest test case.
8 years ago
Rudy Godoy
de99e7bf34
Prevent DRY
8 years ago
Jorge Izquierdo
a6a2ee2bf1
Merge with master
8 years ago
AugustoL
a8bcb0fcfe
Added totalPayments uint on PullPayments contract
8 years ago
Manuel Araoz
9bd51db2b2
refactor tests for truffle 3
8 years ago
Angello Pozo
eb41a81faa
fix: made code cleaner. added helper. removed done from most tests.
8 years ago
Angello Pozo
688106e9c3
fix: made all the tests consistent. now with done.
8 years ago
Angello Pozo
f2142545c7
modified test to use async await pattern.
8 years ago
Manuel Araoz
25a0210118
improve PullPaymentCapable
8 years ago
Michael J. Curry
a9d030acb4
fix names, tests passing
8 years ago
Manuel Araoz
503faa051d
rename PullPaymentCapable=>PullPayment
8 years ago
Manuel Araoz
8b921dc6ec
fix pullpaymentcapable test
8 years ago
Manuel Araoz
8f4027cdf6
add PullPaymentCapable test
8 years ago