zaryab
ebd4b5e73d
decrease approval condition fix (greater than and equal to) ( #1063 )
...
* decrease approval condition fix (greater than and equal to)
* sol lint fixed
* Improved standard token decreaseApprovalTests.
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
Facundo Spagnuolo
9f52e94339
Move ERC20 tests to ERC20 custom folder ( #772 )
7 years ago
Facundo Spagnuolo
6ad275befb
Improve ERC20s tests coverage ( #712 )
...
* Improve StandardToken tests coverage
* Improve BasicToken test coverage
* Improve MintableToken test coverage
* Improve BurnableToken test coverage
* Improve PausableToken tests coverage
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
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
Ben Burns
c29dd086d3
Update to testrpc 6.0.1 and test fixes for revert opcode.
7 years ago
Dan Phifer
3837319141
Adding some additional tests
7 years ago
Roy Blankman
6d8bb497c8
removing trailing whitespace
7 years ago
Francisco Giordano
74db6c2b3b
add missing test for error when doing transferFrom to 0x0
8 years ago
Pavel Rubin
d095ba84bf
Add tests to check transfers to 0x0 fail
8 years ago
Rudy Godoy
289fd87ef8
Tests increase and decrease allowance for spender
...
- Spender starts with 0 tokens allowed to spend
- Spender is granted 50, then decreased it's allowance by 10
Refs PR #224
8 years ago
Jakub Wojciechowski
b3f60b9320
refactor testing error throwing
8 years ago
Rudy Godoy
3c9638b62e
Refactoring to not DRY.
...
The latest test case is not affected since the aproval is for
accounts[1], which does the transaction, and it is independent of
the amount of tokens that accounts[0] might have.
8 years ago
Jorge Izquierdo
a6a2ee2bf1
Merge with master
8 years ago
Manuel Araoz
960500a078
try to fix travis 2
8 years ago
Manuel Araoz
ce25e2db98
try to fix travis 1
8 years ago
Manuel Araoz
9bd51db2b2
refactor tests for truffle 3
8 years ago
Jorge Izquierdo
2f0471fff2
Make test cases that use assertJump fail if they dont fail
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
Federico Bond
2b62f349ee
Fill totalSupply in StandardTokenMock
8 years ago
Arseniy Klempner
aa3cd8c03a
Add test for StandardToken
8 years ago
Arseniy Klempner
71edad126b
Create tests for StandardToken
8 years ago