aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Expand)AuthorAgeFilesLines
...
* | Address feedbackLeonid Logvinov2017-06-071-2/+2
* | Fix testsLeonid Logvinov2017-06-061-1/+1
* | Remove onlyLeonid Logvinov2017-06-061-1/+1
* | Add test when the order was already cancelled or filledLeonid Logvinov2017-06-061-0/+5
* | Add checks and tests for expired order and zero fill amountLeonid Logvinov2017-06-061-1/+17
* | Merge branch 'master' into cancelAsyncLeonid Logvinov2017-06-062-3/+5
|\|
| * Pass nonExistentSenderAddress so that we get the proper rejectionFabio Berger2017-06-061-1/+2
| * avoid newline issues by putting the assertion message on a single lineFabio Berger2017-06-061-2/+3
* | Add initial implementation with success testLeonid Logvinov2017-06-062-4/+30
|/
* Update schema_test.tsLeonid2017-06-061-1/+1
* Merge pull request #39 from 0xProject/senderAccountLeonid2017-06-065-57/+66
|\
| * Rename isSenderAddressHexAsync to isSenderAddressAsyncLeonid Logvinov2017-06-061-3/+3
| * Last round of renamingsLeonid Logvinov2017-06-062-13/+13
| * Use variable name in assertin messageLeonid Logvinov2017-06-061-1/+1
| * Remove unused variableLeonid Logvinov2017-06-061-1/+0
| * Rename accounts to addresesLeonid Logvinov2017-06-063-3/+3
| * Remove message param from beforeLeonid Logvinov2017-06-061-1/+1
| * Rename assert.isSenderAccountHexAsync to assert.isSenderAddressHexAsyncLeonid Logvinov2017-06-061-3/+3
| * Add tests for isSenderAccountHexAsyncLeonid Logvinov2017-06-061-0/+33
| * Make methods accept senderAccountLeonid Logvinov2017-06-054-57/+34
* | Merge pull request #35 from 0xProject/chai-setupLeonid2017-06-065-18/+22
|\ \
| * | Update chai_setup.tsLeonid2017-06-061-1/+1
| * | Merge branch 'master' into chai-setupLeonid2017-06-062-4/+16
| |\ \
| * | | Address feedbackLeonid Logvinov2017-06-065-12/+12
| * | | Add chai_setupLeonid Logvinov2017-06-055-17/+22
| | |/ | |/|
* | | Merge pull request #34 from 0xProject/number-regexLeonid2017-06-061-0/+46
|\ \ \ | |_|/ |/| |
| * | Address feedbackLeonid Logvinov2017-06-061-18/+23
| * | Add tests to number regex and BigNumber serialization & fix bugsLeonid Logvinov2017-06-051-0/+41
| |/
* | Merge pull request #38 from 0xProject/async-errorsLeonid2017-06-061-4/+6
|\ \
| * | Add chai-as-promisedLeonid Logvinov2017-06-051-0/+2
| * | Add a couple of awaits and returns for async testsLeonid Logvinov2017-06-051-4/+4
| |/
* | Address feedbackLeonid Logvinov2017-06-061-1/+2
* | Add regression test for transferFrom bugLeonid Logvinov2017-06-051-0/+10
|/
* Merge pull request #32 from 0xProject/addEventSubscriptionsFabio Berger2017-06-032-5/+87
|\
| * remove spaceFabio Berger2017-06-031-1/+1
| * Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-032-9/+5
| |\
| * \ Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-034-0/+4
| |\ \
| * \ \ Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-034-98/+252
| |\ \ \
| * \ \ \ Merge branch 'fillOrderAsync' into addEventSubscriptionsFabio Berger2017-06-021-0/+25
| |\ \ \ \
| * | | | | Add tests for subscribeAsync, making sure events are caught and that subscrip...Fabio Berger2017-06-021-1/+83
| * | | | | Implement zeroEx.exchange.subscribeAsync made sure to clean up subscriptions ...Fabio Berger2017-06-021-3/+3
| * | | | | Merge branch 'fillOrderAsync' into addEventSubscriptionsFabio Berger2017-06-022-29/+80
| |\ \ \ \ \
* | \ \ \ \ \ Merge branch 'master' into remainingTokenMethodsFabio Berger2017-06-032-8/+96
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Merge pull request #31 from 0xProject/unavailableFilledCancelledLeonid2017-06-032-8/+96
| |\ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| | * | | | | Merge branch 'master' into unavailableFilledCancelledFabio Berger2017-06-034-99/+249
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | |
| | * | | | | Merge branch 'fillOrderAsync' into unavailableFilledCancelledFabio Berger2017-06-022-29/+105
| | |\ \ \ \ \ | | | |_|/ / / | | |/| | | / | | | | |_|/ | | | |/| |
| | * | | | Simplify testsFabio Berger2017-06-021-16/+11
| | * | | | Write tests for getUnavailableTakerAmountAsync, getFilledTakerAmountAsync and...Fabio Berger2017-06-022-8/+97
* | | | | | Fix bugFabio Berger2017-06-031-7/+5
* | | | | | Merge branch 'master' into remainingTokenMethodsFabio Berger2017-06-039-145/+536
|\| | | | |
| * | | | | Add includeStack config to chai setup so that we get stackTracesFabio Berger2017-06-034-0/+4
| | |_|/ / | |/| | |
| * | | | Fix undefined web3 issueFabio Berger2017-06-031-2/+2
| * | | | Fix linter errorsLeonid Logvinov2017-06-031-4/+12
| * | | | Address feedbackLeonid Logvinov2017-06-032-3/+5
| * | | | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-033-36/+34
| |\ \ \ \
| | * | | | Address feedbackLeonid Logvinov2017-06-031-8/+8
| | * | | | Address feedbackLeonid Logvinov2017-06-032-10/+10
| | * | | | Fix test nameLeonid Logvinov2017-06-031-1/+1
| | * | | | Add ZRX_TOKEN_NOT_IN_REGISTRYLeonid Logvinov2017-06-031-1/+1
| | * | | | Remove spacesLeonid Logvinov2017-06-031-3/+1
| | * | | | Address feedbackLeonid Logvinov2017-06-031-8/+8
| | * | | | Move FillOrderValidatinErrs to ExchangeContractErrsLeonid Logvinov2017-06-031-13/+13
| | * | | | Rename EXPIRED to FILL_ORDER_EXPIREDLeonid Logvinov2017-06-021-1/+1
| | * | | | Rename NOT_A_TAKER to TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKERLeonid Logvinov2017-06-021-1/+1
| * | | | | Fix orderingFabio Berger2017-06-031-1/+1
| |/ / / /
| * | | | rename fillTakerAmountInBaseUnits to fillTakerAmountFabio Berger2017-06-021-21/+21
| * | | | Rename coinBase to coinbaseLeonid Logvinov2017-06-022-12/+12
| * | | | Refactor balance & allowance testsLeonid Logvinov2017-06-021-47/+42
| * | | | Add tests and checks for fees balances and allowancesLeonid Logvinov2017-06-021-1/+44
| * | | | Add success test for fill with feesLeonid Logvinov2017-06-022-5/+33
| * | | | Add token utilsLeonid Logvinov2017-06-021-0/+23
| * | | | Add fill scenario with feesLeonid Logvinov2017-06-022-10/+41
| * | | | Add check for ROUNDING_ERROR and test for itLeonid Logvinov2017-06-022-18/+40
| | |/ / | |/| |
| * | | Validate maker balance and allowance & testsLeonid Logvinov2017-06-021-0/+25
| | |/ | |/|
| * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-021-0/+17
| |\ \
| | * | Add test for valid partial fillLeonid Logvinov2017-06-021-0/+17
| * | | Fix getTransactionSenderAccountIfExistsAsync to return true senderAddress or ...Fabio Berger2017-06-021-2/+2
| |/ /
| * | Add test for insufficient balance and make all async tests asyncLeonid Logvinov2017-06-021-15/+32
| * | Introduce coinBase accountLeonid Logvinov2017-06-022-16/+29
| |/
| * Fix testsLeonid Logvinov2017-06-021-2/+2
| * WorkLeonid Logvinov2017-06-022-15/+30
| * Create a FillsScenario utils module and use it in the fillOrder testsFabio Berger2017-06-022-37/+56
| * Change test nameLeonid Logvinov2017-06-021-3/+2
| * Make validateFillOrder asyncronousLeonid Logvinov2017-06-021-1/+2
| * Add not enough taker balance testsLeonid Logvinov2017-06-021-7/+17
| * Revert "Add test to check the balance"Leonid Logvinov2017-06-021-10/+0
| * Add test to check the balanceLeonid Logvinov2017-06-011-0/+10
| * rename variableFabio Berger2017-06-011-2/+2
| * Follow constants conventionLeonid Logvinov2017-06-011-2/+2
| * Fix getOrderHashAsync testFabio Berger2017-06-011-0/+13
| * remove unused argFabio Berger2017-06-012-7/+4
| * Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-011-15/+3
| |\
| | * Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncLeonid Logvinov2017-06-011-2/+2
| | |\
| | * | Remove duplicate declarationsLeonid Logvinov2017-06-011-15/+3
| * | | Add missing comma and semi-colonFabio Berger2017-06-011-2/+2
| * | | Stop passing exchangeAddress into getOrderHash and instead get it from the ar...Fabio Berger2017-06-012-24/+23
| | |/ | |/|
| * | move external imports to topFabio Berger2017-06-011-2/+2
| |/
| * get rid of literal amount paramsFabio Berger2017-06-011-6/+16
| * remove duplicate declarationsFabio Berger2017-06-011-3/+0
| * Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-011-8/+18
| |\
| | * give some balance and allowance by defaultLeonid Logvinov2017-06-011-5/+4
| | * Add test, for throw when order is expiredLeonid Logvinov2017-06-011-3/+14
| * | Add async suffix and fix alignmentFabio Berger2017-06-011-9/+9
| |/
| * reorder variabledFabio Berger2017-06-011-3/+3
| * remove legacy codeFabio Berger2017-06-011-1/+0
| * reorder importFabio Berger2017-06-011-1/+1
| * Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-011-9/+10
| |\
| | * Add shouldCheckTransferLeonid Logvinov2017-06-011-1/+1
| | * Refactor testsLeonid Logvinov2017-06-011-10/+11
| * | put external imports at the topFabio Berger2017-06-011-6/+6
| * | remove commentFabio Berger2017-06-011-1/+0
| |/
| * Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-011-3/+7
| |\
| | * Add timestamp parameter to order factoryLeonid Logvinov2017-06-011-3/+7
| * | Add comment for fillOrderAsync method, rename fillAmount to fillTakerAmountIn...Fabio Berger2017-06-011-3/+4
| |/
| * Revert "Add EXPIRED test"Leonid Logvinov2017-06-012-29/+19
| * 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
| |\
| * | 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
| |\ \
| * | | 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
| |\ \ \
| * | | | 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
| |\ \ \ \
| * | | | | Finish ecSignature renamingLeonid Logvinov2017-05-301-1/+1
* | | | | | remove unneeded calls to toBaseUnitAmountFabio Berger2017-06-021-8/+4
* | | | | | pass numbers to BigNumber unless it's too big for the number typeFabio Berger2017-06-021-4/+4
* | | | | | use BigNumber(0) instead of with a string zeroFabio Berger2017-06-021-4/+4
* | | | | | Add balance check to `transferAsync` and related testFabio Berger2017-06-021-3/+14
* | | | | | Add tests for transferFromAsync, setAllowanceAsync and getAllowanceAsync and ...Fabio Berger2017-06-021-21/+125
| |_|_|_|/ |/| | | |
* | | | | Address feedbackLeonid Logvinov2017-05-311-26/+28
| |_|_|/ |/| | |
* | | | 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 getProxyAllowance...Fabio Berger2017-05-301-2/+32
* | | | 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 supp...Fabio Berger2017-05-301-1/+1
* | | | Merge branch 'master' into erc20WrapperFabio Berger2017-05-304-10/+41
|\ \ \ \ | | |_|/ | |/| |
| * | | use .be.undefined instead of .be.an('undefined')Fabio Berger2017-05-301-4/+4
| * | | Refactor exchangeWrapper and tokenRegistryWrapper to use contract getter that...Fabio Berger2017-05-301-2/+2
| * | | Also test that web3Wrapper nested under tokenRegistryWrapper has updated prov...Fabio Berger2017-05-301-2/+4
| * | | 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
| | |\ \ \
| | * | | | use to.have.lengthOfFabio Berger2017-05-301-2/+2
| * | | | | Add tests for setProviderFabio Berger2017-05-302-3/+30
| | |/ / / | |/| | |
| * | | | make web3Wrapper a private instance variableFabio Berger2017-05-301-4/+4
| | |_|/ | |/| |
* | | | Merge branch 'tokenRegistry' into erc20WrapperFabio Berger2017-05-301-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'removeSrcFilesNotUsedByTests' into tokenRegistryFabio Berger2017-05-301-0/+0
| |\| |
| | * | name exchangeWrapper test file properlyFabio Berger2017-05-301-0/+0
| | |/
* | / Add tests for getBalanceAsyncFabio Berger2017-05-301-0/+55
|/ /
* / Add tests for getTokensAsync including schema validationFabio Berger2017-05-301-0/+43
|/
* 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
|\
| * Merge pull request #16 from 0xProject/umd-testsFabio Berger2017-05-292-15/+12
| |\
| | * 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 di...Fabio Berger2017-05-291-4/+2
* | | Implement tests for signOrderHashAsync that test the logic for Parity < v1.6....Fabio Berger2017-05-291-0/+72
|/ /
* / 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
|\
| * improve commentFabio Berger2017-05-271-1/+2
| * rename BlockClean to BlockchainLifecycle and setupAsync to startAsync, restor...Fabio Berger2017-05-272-7/+7
| * 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 tests...Fabio Berger2017-05-265-0/+194
| * 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
| |\
| * | 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
* 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