Francisco Giordano
bf34911857
Remove Math.min64 and Math.max64 ( #1156 )
...
* remove Math.min64 and Math.max64
* refactor Math tests to use return values
* enhance Math coverage
7 years ago
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
567b773242
Prefer const in test files ( #1117 )
...
* Removed all instances of var.
* Sorted eslintrc rules.
* Made eslint rule severity explicit.
* Now prefering const over let.
7 years ago
Justus Perlwitz
e6c15b34da
Remove chai-as-promised ( #1116 )
...
* Test: Remove chai-as-promised calls
* Test/Helpers: expectThrow accepts optional message
* NPM: Remove chai-as-promised
* Contracts/DestructibleMock: Fix lint
7 years ago
Nicolás Venturo
67b67b791e
Changed before for beforeAll, refactored Bouncer tests. ( #1094 )
...
* Changed before for beforeAll, refactored Bouncer tests.
* Fixed linter errors.
* fix: updates for SignatureBouncer tests and voucher construction
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
Leonardo
99e4b081dc
ECRecover test should revert because of wrong calldata size ( #1050 )
...
* Assume that token is mintable.
* ECRecover test should revert because of wrong calldata size
* fix: use expectThrow
* fix: ignore failing test until solc^0.5.0
7 years ago
Federico Gimenez
f4bdaf49a1
Increase test coverage to 93% #549 ( #768 )
...
* Increase test coverage to 93% #549
* cover missing AllowanceCrowdsale branch
* improve Heritable coverage
* fix lint errors
* proper equal assert
* address review comments
* remove unneeded const definitions and imports
* use assertRevert
* reword scenario description
* Increase test coverage to 93% #549
* cover missing AllowanceCrowdsale branch
* improve Heritable coverage
* fix lint errors
* proper equal assert
* address review comments
* remove unneeded const definitions and imports
* use assertRevert
* reword scenario description
* move HIGH_GOAL constant to the scope where it's used
* remove const at top level
* address review comments
7 years ago
Matt Condon
6a7114fdb4
Bouncer contract implementation ( #883 )
...
* feat: implement bouncer contracts
* fix: rename Bouncer to SignatureBouncer
7 years ago
Francisco Giordano
a7e91856f3
Update to Truffle 4.1.5 and Ganache 6.1.0 ( #876 )
...
* Update to ganache-cli v6.1.0 and truffle v4.1.0
* Update to stable version of ganache-cli
* fix: update event emission warning
- Fix event emission warnings for solidity 4.21 after truffle has been
updated to use this version
* fix pr review comments
* update to truffle v4.1.5
* update package-lock
* add additional emit keywords
* update solidity-coverage to 0.4.15
* update to solium 1.1.6
* fix MerkleProof coverage analysis by testing through wrapper
* change version pragma to ^0.4.21
* fix solium linting errors
7 years ago
Chenyang Wu
e299a7950e
Change ECRecovery recover method's visibility to internal ( #818 )
...
* Change ECRecovery recover method's visibility to internal
* Adopt the test
* Remove unused imports
7 years ago
Matt Condon
f4228f1b49
fix: reference contract name rather than filepath ( #698 )
7 years ago
AugustoL
4fbd44fd40
Reorganize tests and add library folder
7 years ago