Nicolás Venturo
|
3e82db2f6f
|
Migration to truffle 5 (and web3 1.0 (and BN)) (#1601)
* Now compiling using truffle 5.
* Migrated some test files, missing BN scientific notation usage.
* Now using BN time values.
* Migrate ERC20 tests.
* Migrate all ERC20 tests.
* Migrate utils, payment and ownership tests.
* All tests save ERC721 migrated.
* Migrated ERC721 tests.
* Fix lint errors.
* Delete old test helpers.
* Fix remaining crowdsale tests.
* Fix signature bouncer tests.
* Update how constants is used.
* Compile script pre-removes the build dir.
* Fix SafeMath tests.
* Revert "Compile script pre-removes the build dir."
This reverts commit 247e745113 .
* Fix linter errors.
* Upgrade openzeppelin-test-helpers dependency.
* Update openzeppelin-test-helpers dependency.
* Define math constants globally.
* Remove unnecessary ether unit.
* Roll back reduced ether amounts in tests.
* Remove unnecessary toNumber conversions.
* Delete compile script.
* Fixed failing test.
|
6 years ago |
Aniket
|
350aae09d2
|
BigNumber comparison improved (#1581)
* signing prefix added
* Minor improvement
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4 .
* updates
* fixes #1404
* approve failing test
* suggested changes done
* ISafeERC20 removed
* conflict fixes
* added examples
* fixes #706
* linting
* fixes #204
* file fixing
* deep bignumber comparison removed
* Update SafeERC20Helper.sol
* Update IERC20.sol
* Update SafeERC20.sol
* Update package-lock.json
* Revert "deep bignumber comparison removed"
This reverts commit 230b27214f .
|
6 years ago |
Aniket
|
70fd243e3b
|
Test setup helper added (#1482)
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4 .
* updates
* fixes #1404
* approve failing test
* suggested changes done
* ISafeERC20 removed
* conflict fixes
* fixes #1205
* minor change
* suggested changes
* reviewed changes
* final update
|
6 years ago |
Nicolás Venturo
|
26f9cc8e74
|
Moved some test files around to better reflect the directory layout. (#1428)
(cherry picked from commit d8ab8a00f2 )
|
6 years ago |
Nicolás Venturo
|
d8ab8a00f2
|
Moved some test files around to better reflect the directory layout. (#1428)
|
6 years ago |
Nicolás Venturo
|
20cf885430
|
No longer assigning awaits to temporary variables. (#1216)
|
7 years ago |
Nicolás Venturo
|
d51e38758e
|
Math.average (#1170)
* Added Math.average
* Removed assertion.
|
7 years ago |
Nicolás Venturo
|
ac91af9a6a
|
Replace all asserts with chai.should (#1183)
* Moving towards chai.should.
* Fixed failing tests.
* Fixed linter errors.
* Revert package-lock.json changes.
* Fixed failing tests.
* s/eq/equal
* Addressed review comment
|
7 years ago |
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 |
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 |
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
|
f4228f1b49
|
fix: reference contract name rather than filepath (#698)
|
7 years ago |
AugustoL
|
4fbd44fd40
|
Reorganize tests and add library folder
|
7 years ago |
Leo Arias
|
fdfd90e6a4
|
fix the eslint static check
|
7 years ago |
Leo Arias
|
f162638cde
|
test: add tests for max64 and min64 from Math
|
7 years ago |