Aniket
6ae041bca6
Fix/#1355 test helper to check balance difference ( #1368 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* fixex #1355
* linting
* suggested changes
* Update BreakInvariantBounty.test.js
6 years ago
Aniket
fa1dfbd113
Fix #1358 Test helper to send funds ( #1367 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* fixes #1358
* linting done
* suggested changes
6 years ago
Nicolás Venturo
ae109f69cc
Improved bounty tests. ( #1350 )
...
* Improved bounty tests.
* Fixed linter errors.
* Addressed review comments.
6 years ago
Francisco Giordano
4eb4d7114d
Allow non-beneficiaries to trigger release of their funds ( #1275 )
...
* add address argument to PullPayments#withdrawPayments
* add argument to SplitPayment#claim
* add address argument to PostDeliveryCrowdsale#withdrawTokens
* add address argument to RefundableCrowdsale#claimRefund
* rename SplitPayment#claim to SplitPayment#release
7 years ago
Leo Arias
2441fd7d17
Move contracts to subdirectories ( #1253 )
...
* Move contracts to subdirectories
Fixes #1177 .
This Change also removes the LimitBalance contract.
* fix import
* move MerkleProof to cryptography
* Fix import
7 years ago
Nicolás Venturo
4fb9bb7020
Minor test style improvements ( #1219 )
...
* Changed .eq to .equal
* Changed equal(bool) to .to.be.bool
* Changed be.bool to equal(bool), disallowed unused expressions.
7 years ago
Nicolás Venturo
8d11dcc0e5
Increase testing coverage ( #1195 )
...
* Added non-target bounty test
* Increased ERC721 testing coverage.
* Addressed review comments.
* fix linter error
* Fixed linter error
* Removed unnecessary bouncer require
* Improved Crowdsale tests.
* Added missing SuperUser test.
* Improved payment tests.
* Improved token tests.
* Fixed ERC721 test.
* Reviewed phrasing.
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
Nicolás Venturo
31fc572abe
inLogs no longer returns a promise. ( #1169 )
7 years ago
Justus Perlwitz
ae2980b072
Add EditorConfig ( #1119 )
...
* Add EditorConfig file.
This allows users with a wide variety of editors to easily code in
OpenZeppelin's preferred 2 space indentation code style.
See https://editorconfig.org for more information.
* Eslint: Always disallow trailing space
* Eslint: Error on missing EOL at file end
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
Matt Condon
6e19ed47be
fix: bounty tests, superceeds #799 ( #1112 )
...
* fix: bounty tests, superceeds #799
* fix: updates from PR notes
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
Arun Kumar
40b5594f52
Promisify web3 sync requests in tests ( #1009 )
7 years ago
Matt Condon
f4228f1b49
fix: reference contract name rather than filepath ( #698 )
7 years ago
Francisco Giordano
ea1cb5c54e
add missing awaits in 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
Roy Blankman
6d8bb497c8
removing trailing whitespace
7 years ago
Jorge Izquierdo
a6a2ee2bf1
Merge with master
8 years ago
Tom Eklöf
cd78c20e0e
await event handling result in Bounty test. Fixes #202
8 years ago
David Knott
70b5ffd928
Change killable to destructible and kill to destroy
8 years ago
Manuel Araoz
9bd51db2b2
refactor tests for truffle 3
8 years ago
Angello Pozo
38545eb648
fix: spelling in a test
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
278f060c56
Replace composition for inheritance in Bounty
8 years ago
Makoto Inoue
b6a5830047
Does not allow to create bounty contract without address
8 years ago
Makoto Inoue
9509298622
Change spec descriptions
8 years ago
Makoto Inoue
99f288bfb5
Consolidate TokenBounties into Bounty
8 years ago
Makoto Inoue
a04481d2d8
Remove extra whitespace
8 years ago
Makoto Inoue
37f4ff8d3e
Add killable to bounty
8 years ago
Makoto Inoue
e35ba313a7
Add specs to test success and fail case of claiming
8 years ago
Makoto Inoue
e8262f7c4b
Make default function payable
8 years ago
Makoto Inoue
df0c2defc8
Restructure test
8 years ago
Makoto Inoue
14b8496247
Pass factory address to bounty
8 years ago
Makoto Inoue
721d8fbbf7
Pass factory address at contract creation phase
8 years ago
Makoto Inoue
48badda96f
Fix typo
8 years ago
Makoto Inoue
83662fa548
Remove only
8 years ago
Makoto Inoue
e318d6d246
Swap target contract at test by using abstract interface
8 years ago
Makoto Inoue
b5469310a1
Add bounty test to test against checkInvarient
8 years ago
Makoto Inoue
334073a64f
Fix typo
8 years ago
Makoto Inoue
f19a69beb4
Remove only
8 years ago
Makoto Inoue
986509934b
Swap target contract at test by using abstract interface
8 years ago
Makoto Inoue
a98c5b8865
Add bounty test to test against checkInvarient
8 years ago