aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Add comment for fillOrderAsync method, rename fillAmount to ↵Fabio Berger2017-06-011-3/+4
| | | | fillTakerAmountInBaseUnits and remove default value for shouldCheckTransfer
* Revert "Add EXPIRED test"Leonid Logvinov2017-06-012-29/+19
| | | | This reverts commit d8e35c364ea94b606810b340fb02d8706e257c3c.
* Add EXPIRED testLeonid Logvinov2017-06-012-19/+29
|
* Fix testsLeonid Logvinov2017-06-011-8/+2
|
* Add NOT_A_TAKER checkLeonid Logvinov2017-06-011-1/+10
|
* Add FILL_AMOUNT_IS_ZERO checkLeonid Logvinov2017-06-011-2/+2
|
* Add taker parameter to createSignedOrderLeonid Logvinov2017-06-012-3/+6
|
* Rename order to order_factoryLeonid Logvinov2017-06-012-1/+1
|
* Remove unnecessary checksLeonid Logvinov2017-06-011-5/+0
|
* Fix linter errorsLeonid Logvinov2017-06-012-22/+24
|
* Add dirty-chaiLeonid Logvinov2017-06-011-0/+4
|
* Allign parametersLeonid Logvinov2017-06-011-2/+2
|
* Use constLeonid Logvinov2017-06-011-1/+1
|
* Add setDefaultAccountLeonid Logvinov2017-06-011-2/+2
|
* Temp pushLeonid Logvinov2017-06-012-55/+58
|
* Merge branch 'master' into fillOrderAsyncLeonid Logvinov2017-06-011-26/+28
|\
| * Address feedbackLeonid Logvinov2017-05-311-26/+28
| |
* | Add setAllowance functionLeonid Logvinov2017-05-311-4/+18
| |
* | Fix linter errorsLeonid Logvinov2017-05-311-1/+1
| |
* | Remove debug outputLeonid Logvinov2017-05-311-3/+0
| |
* | Revert testsLeonid Logvinov2017-05-311-7/+43
| |
* | Add createSignedOrder functionLeonid Logvinov2017-05-311-6/+23
| |
* | Merge branch 'erc20transfer' into fillOrderAsyncLeonid Logvinov2017-05-312-2/+111
|\|
| * Add transfer function and tests for itLeonid Logvinov2017-05-311-0/+19
| |
| * remove unused importsFabio Berger2017-05-302-4/+0
| |
| * Add test for setProxyAllowanceAsync and additional test for ↵Fabio Berger2017-05-301-2/+32
| | | | | | | | getProxyAllowanceAsync
| * remove spaces after it keywordFabio Berger2017-05-301-2/+2
| |
| * Add first test for getProxyAllowanceAsyncFabio Berger2017-05-301-0/+9
| |
| * use token instead of erc20Fabio Berger2017-05-301-3/+3
| |
| * rename erc20Wrapper to tokenWrapper to be more generic in case we end up ↵Fabio Berger2017-05-301-1/+1
| | | | | | | | supporting another spec
| * Merge branch 'master' into erc20WrapperFabio Berger2017-05-304-10/+41
| |\ | | | | | | | | | | | | # Conflicts: # src/0x.js.ts
| * \ Merge branch 'tokenRegistry' into erc20WrapperFabio Berger2017-05-301-0/+0
| |\ \
| * | | Add tests for getBalanceAsyncFabio Berger2017-05-301-0/+55
| | | |
* | | | Refactor getOrderHash to accept order as an objectLeonid Logvinov2017-05-303-46/+43
| | | |
* | | | Remove fixtureLeonid Logvinov2017-05-301-35/+0
| | | |
* | | | Add first passing testLeonid Logvinov2017-05-301-4/+5
| | | |
* | | | replace test fixture with the one from testrpcLeonid Logvinov2017-05-302-35/+35
| | | |
* | | | Fix importLeonid Logvinov2017-05-301-1/+1
| | | |
* | | | Merge branch 'master' into fillOrderAsyncLeonid Logvinov2017-05-303-7/+82
|\ \ \ \ | | |_|/ | |/| |
| * | | use .be.undefined instead of .be.an('undefined')Fabio Berger2017-05-301-4/+4
| | | |
| * | | Refactor exchangeWrapper and tokenRegistryWrapper to use contract getter ↵Fabio Berger2017-05-301-2/+2
| | | | | | | | | | | | | | | | that instantiates contract instance if not already instantiated
| * | | Also test that web3Wrapper nested under tokenRegistryWrapper has updated ↵Fabio Berger2017-05-301-2/+4
| | | | | | | | | | | | | | | | provider
| * | | add assertions that contractInstances are not undefined before provider updateFabio Berger2017-05-301-0/+2
| | | |
| * | | Also instantiate tokenRegistry contract instanceFabio Berger2017-05-301-1/+2
| | | |
| * | | remove unused importFabio Berger2017-05-301-1/+0
| | | |
| * | | remove unused importFabio Berger2017-05-301-1/+0
| | | |
| * | | Make tokenRegistry contract instantiation lazy and clear it on provider updateFabio Berger2017-05-301-1/+2
| | | |
| * | | Merge branch 'master' into dontReinstantiateContractInstancesFabio Berger2017-05-301-0/+43
| |\ \ \
| | * \ \ Merge branch 'master' into tokenRegistryFabio Berger2017-05-301-4/+4
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/0x.js.ts
| | * | | | use to.have.lengthOfFabio Berger2017-05-301-2/+2
| | | |_|/ | | |/| |
| | * | | Merge branch 'removeSrcFilesNotUsedByTests' into tokenRegistryFabio Berger2017-05-301-0/+0
| | |\ \ \ | | | |_|/ | | |/| |
| | * | | Add tests for getTokensAsync including schema validationFabio Berger2017-05-301-0/+43
| | | | |
| * | | | Add tests for setProviderFabio Berger2017-05-302-3/+30
| | |_|/ | |/| |
| * | | make web3Wrapper a private instance variableFabio Berger2017-05-301-4/+4
| | |/ | |/|
* | | Temporarily remove testLeonid Logvinov2017-05-301-2/+1
| | |
* | | Append _test to exchange_wrapperLeonid Logvinov2017-05-301-1/+11
| | |
* | | Add order utilsLeonid Logvinov2017-05-301-0/+21
| | |
* | | Add first order fixtureLeonid Logvinov2017-05-301-0/+35
| | |
* | | Merge branch 'master' into fillOrderAsyncLeonid Logvinov2017-05-301-0/+0
|\| |
| * | name exchangeWrapper test file properlyFabio Berger2017-05-301-0/+0
| |/
* / Finish ecSignature renamingLeonid Logvinov2017-05-301-1/+1
|/
* Fix typosFabio Berger2017-05-291-2/+2
|
* empty stubs array before next test runsFabio Berger2017-05-291-0/+1
|
* Merge branch 'master' into addSignOrderHashAndTestsFabio Berger2017-05-292-15/+12
|\ | | | | | | | | | | | | # Conflicts: # package.json # src/globals.d.ts # test/0x.js_test.ts
| * Merge pull request #16 from 0xProject/umd-testsFabio Berger2017-05-292-15/+12
| |\ | | | | | | Umd tests
| | * Use only 0x public interface in contract wrapper testsLeonid Logvinov2017-05-291-14/+11
| | |
| | * Use constants from test utilsLeonid Logvinov2017-05-291-1/+1
| | |
* | | Use disable-next-line instead of disable and always put rule that is being ↵Fabio Berger2017-05-291-4/+2
| | | | | | | | | | | | disabled
* | | Implement tests for signOrderHashAsync that test the logic for Parity < ↵Fabio Berger2017-05-291-0/+72
|/ / | | | | | | v1.6.6, >1.6.6 and other nodes
* / don't use uppercase for constant variable unless it's global to the entire fileFabio Berger2017-05-291-3/+3
|/
* Fix importsLeonid Logvinov2017-05-292-4/+4
|
* Merge branch 'master' of github.com:0xProject/0x.jsFabio Berger2017-05-296-2/+197
|\ | | | | | | | | | | # Conflicts: # src/ts/0x.js.ts # src/ts/utils/utils.ts
| * improve commentFabio Berger2017-05-271-1/+2
| |
| * rename BlockClean to BlockchainLifecycle and setupAsync to startAsync, ↵Fabio Berger2017-05-272-7/+7
| | | | | | | | restoreAsync to revertAsync
| * import reorderFabio Berger2017-05-261-1/+1
| |
| * remove stray console logFabio Berger2017-05-261-1/+0
| |
| * Add missing return typesFabio Berger2017-05-262-4/+4
| |
| * Setup blockchain snapshotting before/after every test, implemented unit ↵Fabio Berger2017-05-265-0/+194
| | | | | | | | tests for exchangeWrapper.isValidSignature
| * Postfix test files with `_test`Fabio Berger2017-05-261-0/+0
|/
* Address feedbackLeonid Logvinov2017-05-261-4/+5
|
* Port getOrderHashLeonid Logvinov2017-05-251-0/+37
|
* Fix bracesLeonid Logvinov2017-05-251-0/+2
|
* Merge branch 'master' into isValidOrderHashLeonid2017-05-251-1/+22
|\
| * Add toUnitAmount and toBaseUnitAmount static helpers and testsFabio Berger2017-05-251-1/+24
| |
* | Address feedbackLeonid Logvinov2017-05-251-1/+5
| |
* | Merge branch 'master' into isValidOrderHashLeonid2017-05-251-10/+6
|\|
| * Use expect.to.throwFabio Berger2017-05-251-24/+4
| |
| * Merge branch 'master' into addSchemasFabio Berger2017-05-251-0/+13
| |\ | | | | | | | | | | | | # Conflicts: # package.json
| * | remove stray console logFabio Berger2017-05-251-1/+0
| | |
| * | Fix malformed tests to check for thrown assertionFabio Berger2017-05-251-10/+27
| | |
* | | Fix testsLeonid Logvinov2017-05-251-1/+1
| | |
* | | Port isValidOrderHash and testsLeonid Logvinov2017-05-251-0/+10
| |/ |/|
* | Add generateSalt and tests for itLeonid Logvinov2017-05-251-0/+13
|/
* Fix test that was passing an invalid address (now caught by our assertions), ↵Fabio Berger2017-05-251-1/+2
| | | | to instead pass a valid but unrelated address as the test name suggests
* Address feedbackLeonid Logvinov2017-05-251-1/+2
|
* Add test for malformed sLeonid Logvinov2017-05-251-0/+10
|
* change tests descriptionsLeonid Logvinov2017-05-251-15/+24
|
* Add test vector sourceLeonid Logvinov2017-05-251-0/+1
|
* Add isSignatureValid method and tests for itLeonid Logvinov2017-05-251-4/+46
|
* Remove spacesLeonid Logvinov2017-05-241-1/+1
|
* Add initial testing config and a dummy testLeonid Logvinov2017-05-241-0/+12