Commit Graph

658 Commits

Author SHA1 Message Date
fadb2cf47e add tests for crowdsale contracts 2017-06-30 15:50:47 -03:00
4d55d8fa8e give more balance to testrpc accounts
includes fix to MultisigWallet test because bigger balances result in
floating point errors (see #204)
2017-06-30 15:50:47 -03:00
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.
2017-06-29 13:18:54 -05:00
60ef284a9a Typo in variable, using global tAMOUNT for the latest test case. 2017-06-29 13:13:53 -05:00
b40a01e97b Small refactoring to not DRY 2017-06-29 13:12:58 -05:00
de99e7bf34 Prevent DRY 2017-06-29 12:31:32 -05:00
549590d105 Refactored to prevent DRY with beforeEach().
Refs# 259
2017-06-26 17:32:34 -05:00
30e202313d Fix indentation in MerkleProof.sol and remove mock contract 2017-06-15 11:10:37 -04:00
2e0bd06da2 Add tests, docs and MerkleTree helper 2017-06-15 11:07:22 -04:00
3c4d0d0a77 MerkleProof library and initial stubbed out tests 2017-06-14 16:34:46 -04:00
6ede3d9001 Upgrade to Truffle version 3.2.2 and Solidity version 0.4.11 2017-06-06 21:41:54 -06:00
a6a2ee2bf1 Merge with master 2017-05-21 16:08:47 -04:00
929367f0ab Reorg code 2017-05-21 12:10:04 +02:00
713b472253 Add tests for non-revokable and revokable/burnable cases 2017-05-21 11:17:24 +02:00
a1d2b673c6 Fix tests for revokable/non burn vesting calendar 2017-05-21 10:44:03 +02:00
12aadbed51 Move check to transferFrom and add tests 2017-03-06 11:09:01 +01:00
b134645637 Merge pull request #150 from maraoz/solidty-version
solidity version 0.4.8
2017-02-23 09:12:54 -03:00
26335e669e Added a contactable contract and some tests for it 2017-02-22 16:28:01 -03:00
52b66c744f solidity version 0.4.8 2017-02-21 19:29:03 -03:00
3d6988cf90 Update modifiers so that they fail "loudly" by throwing errors rather then silently no-oping. Updated tests to remain compatible with these changes 2017-02-21 00:05:59 +01:00
9bd51db2b2 refactor tests for truffle 3 2017-02-17 18:03:52 -03:00
7e7193ae61 truffle 2=>3 2017-02-15 12:14:50 -03:00
0a5af4b8ac Change operations order for rounding. Make tests use blocktime as reference time rather than date. 2017-02-13 11:35:32 +01:00
ee56abcc8a remove console.logs from timer 2017-02-10 18:35:05 -03:00
b67f60929c make VestedToken test deterministic 2017-02-10 18:32:58 -03:00
0b71dcded2 Rename GrantableToken to VestedToken 2017-02-10 16:20:23 +01:00
f305382ef4 Remove grantTokens without vesting function 2017-02-10 16:18:36 +01:00
93e7984c61 Transferrable is now transferrable 2017-02-10 14:59:19 +01:00
8d9e12eda3 Add GrantableToken tests 2017-02-09 13:23:12 +01:00
fb0a96332c GrantableTokenMock 2017-02-08 15:27:39 +01:00
ae73f1a564 Renamed files and replaced occurencies of 'Stoppable' to 'Pausable' 2017-01-30 23:30:43 -02:00
2f0471fff2 Make test cases that use assertJump fail if they dont fail 2017-01-23 19:18:41 +01:00
0dfb27ff5f fix tests 2017-01-16 17:42:26 -03:00
d974924045 Added claimAfterBlock variable and tests changes to support changes 2016-12-29 16:12:32 -03:00
e310e6728b Merge remote-tracking branch 'OpenZeppelin/master' 2016-12-29 15:54:19 -03:00
74adaeedf2 Merge pull request #119 from adklempner/refactorDayLimit
Decouple Shareable from DayLimit
2016-12-27 13:12:51 -03:00
8aa06bda38 Create tests for MultisigWallet 2016-12-22 18:34:05 -08:00
36fa2a72cf Decouple Shareable from DayLimit 2016-12-21 16:43:39 -08:00
bb22cd62ac Merge pull request #100 from adklempner/shareable-test
Create tests for Shareable
2016-12-20 18:22:23 -03:00
e5eaa919b1 Make isOwner() const. Add necessary toString() calls in tests. 2016-12-20 13:02:24 -08:00
ba37d91878 Merge pull request #101 from adklempner/test/DayLimit
Create tests for DayLimit
2016-12-20 11:26:13 -03:00
e8459148a8 Remove unnecessary toString calls 2016-12-19 21:52:37 -08:00
f292643543 DelayedClaimable tests changed to work with rename of transfer() to transferOwnership() 2016-12-19 19:15:22 -03:00
80cc1808fc Merge remote-tracking branch 'OpenZeppelin/master' 2016-12-19 19:11:31 -03:00
77e732218e Also change claimable to avoid conflicts with ERC20 tokens 2016-12-15 15:59:25 +01:00
41fdd5d4c6 fixes gh-109: resolve conflict between Ownable and ERC20 token. 2016-12-15 15:32:08 +01:00
423cec41e3 claimBefore modifier removed on DelayedClaimable contract 2016-12-07 18:32:42 -03:00
c390e94da6 Create tests for DayLimit 2016-12-06 11:45:02 -08:00
0ec09f4131 Create tests for Shareable 2016-12-06 11:33:39 -08:00
42ccbb2276 Sync with v1.0.0 of zeppelin-solidity 2016-12-02 17:46:42 -03:00