Nicolás Venturo
|
3274d9db00
|
Upgrade to @openzeppelin/test-helpers@0.5.1 (#1942)
|
5 years ago |
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 |
Nicolás Venturo
|
422b42bb6a
|
Made some inherit-only contracts internal. (#1433)
* Made some inherit-only contracts internal.
* Added OwnableMock.
(cherry picked from commit 96d6103e0b )
|
6 years ago |
Nicolás Venturo
|
96d6103e0b
|
Made some inherit-only contracts internal. (#1433)
* Made some inherit-only contracts internal.
* Added OwnableMock.
|
6 years ago |
Nicolás Venturo
|
ba85aef95e
|
Renamed behaviour to behavior. (#1151)
|
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
|
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 |
Paweł Winnicki
|
20b85be6aa
|
Ownable behavior (#929)
* added function to renounce ownership
* Provide an Ownable behavior for testing (#905)
* Fix indentation
* Convert to use should assertions
|
7 years ago |
Paweł Winnicki
|
7e44204d9b
|
added function to renounce ownership (#907)
|
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 |
Facundo Spagnuolo
|
323d1fa941
|
Refactor assert revert helper to encapsulate promises (#628)
|
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 |
Ben Burns
|
c29dd086d3
|
Update to testrpc 6.0.1 and test fixes for revert opcode.
|
7 years ago |
Roy Blankman
|
6d8bb497c8
|
removing trailing whitespace
|
7 years ago |
Jakub Wojciechowski
|
b3f60b9320
|
refactor testing error throwing
|
8 years ago |
Jakub Wojciechowski
|
5e7847537a
|
fix testing error throwing
|
8 years ago |
pooleja
|
64787b1ac5
|
Add semicolon to match coding standards
|
8 years ago |
pooleja
|
58fdb956b5
|
Add assert to prevent regression
|
8 years ago |
pooleja
|
6d565ef841
|
Fix auto-formatting
|
8 years ago |
pooleja
|
b2e36314cb
|
Add requirement for address to not be 0 and throw error
|
8 years ago |
Fabio Berger
|
3d6988cf90
|
Update modifiers so that they fail "loudly" by throwing errors rather then silently no-oping. Updated tests to remain compatible with these changes
|
8 years ago |
Manuel Araoz
|
9bd51db2b2
|
refactor tests for truffle 3
|
8 years ago |
qdeswaef
|
41fdd5d4c6
|
fixes gh-109: resolve conflict between Ownable and ERC20 token.
|
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 |
Steve Ellis
|
1547000d1c
|
move Ownable tests away from migration fixtures
|
8 years ago |
Steve Ellis
|
5f6b7f9301
|
add check prevening ownables from getting stuck
|
8 years ago |
Manuel Araoz
|
5dbad00a8e
|
Fix indenting in ownable
|
8 years ago |
adklempner
|
6455b96c79
|
Test that Ownable prevents non-owners from changing ownership.
|
8 years ago |
Manuel Araoz
|
5071303969
|
new less trivial ownable test
|
9 years ago |
Manuel Araoz
|
825203fcec
|
write ownable simple test
|
9 years ago |