aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Expand)AuthorAgeFilesLines
* Add tests for zeroEx.exchange.getLogsAsyncLeonid Logvinov2017-10-042-2/+44
* Add tests for zeroEx.token.getLogsAsyncLeonid Logvinov2017-10-041-0/+37
* Remove old testsLeonid Logvinov2017-10-041-25/+0
* Don't text for an exact block hashLeonid Logvinov2017-10-041-2/+1
* Add tests for zeroEx.getLogsAsyncLeonid Logvinov2017-10-041-0/+26
* Merge pull request #173 from 0xProject/feature/ropsten-supportLeonid2017-09-292-1/+19
|\
| * Add tests for ropsten artifactsLeonid Logvinov2017-09-282-1/+19
* | Fixed nitsBrandon Millman2017-09-281-66/+41
* | Add testsBrandon Millman2017-09-281-18/+216
|/
* fix testFabio Berger2017-09-261-1/+1
* fix testFabio Berger2017-09-261-1/+1
* Merge branch 'development' into addOrderValidationFabio Berger2017-09-261-0/+7
|\
| * Add a test for getZRXTokenAddressAsyncLeonid Logvinov2017-09-261-0/+7
* | Fix linter issueFabio Berger2017-09-261-1/+3
* | Add success test and regression test for previous bug where comparing makerTo...Fabio Berger2017-09-261-0/+19
* | Add tests for validateOrderFillableOrThrowAsyncFabio Berger2017-09-261-0/+21
|/
* Fix a typoLeonid Logvinov2017-09-181-1/+1
* Add tests for contracts address configLeonid Logvinov2017-09-181-2/+27
* Fetch tokenTransferProxy address from exchange contractLeonid Logvinov2017-09-181-1/+1
* Fix log decoder to return correct typesLeonid Logvinov2017-09-061-5/+3
* Fix type errorLeonid Logvinov2017-09-061-1/+2
* Merge branch 'development' into fix/signature-verificationLeonid2017-09-066-77/+56
|\
| * Fix a typo in test nameLeonid Logvinov2017-09-061-1/+1
| * Add lifecycle methodsLeonid Logvinov2017-09-061-0/+8
| * Add test for logs decoding in awaitTransactionMinedAsyncLeonid Logvinov2017-09-061-0/+20
| * Decode logs args in awaitTransactionMinedAsyncLeonid Logvinov2017-09-061-2/+4
| * Change non-exhange contracts to also return txHashLeonid Logvinov2017-09-053-7/+10
| * Implement zeroEx.awaitTransactionMinedLeonid Logvinov2017-09-052-7/+4
| * Temporarily remove web3_beta, cause it breaks installation and testsLeonid Logvinov2017-09-052-22/+0
| * Make the functions immidiately return txHash instead of awaiting for a transa...Leonid Logvinov2017-09-052-48/+19
| * Fix tests descriptionsLeonid Logvinov2017-09-041-2/+2
* | Add signature verification as a part of order validation and tests for itLeonid Logvinov2017-09-061-1/+11
|/
* Add 'content-type' header with value 'application/json' for http requests mad...Brandon Millman2017-09-011-0/+3
* Don't create whole web3 object in beta testsLeonid Logvinov2017-08-302-9/+3
* Add tests for web3@1.0Leonid Logvinov2017-08-301-0/+16
* Use zeroEx.getAvailableAddressesAsync instead of web3.eth.getAccountsLeonid Logvinov2017-08-304-4/+4
* Add web3@1.0 to web3FactoryLeonid Logvinov2017-08-301-0/+12
* Use zeroExConfig in testsLeonid Logvinov2017-08-291-1/+4
* Specify gasPrice in WETH testsLeonid Logvinov2017-08-291-1/+2
* Use 0x-json-schemasLeonid Logvinov2017-08-282-360/+4
* Add an explanatory commentLeonid Logvinov2017-08-251-1/+4
* Add a test that unlimited allowance reduces gas costLeonid Logvinov2017-08-251-0/+28
* Add tests for unlimited allowanceLeonid Logvinov2017-08-251-0/+21
* Change the unregistered token in testsLeonid Logvinov2017-08-241-2/+2
* Add tests for tokenRegistry public gettersLeonid Logvinov2017-08-241-3/+57
* Add test for getTokenAddressesAsyncLeonid Logvinov2017-08-241-0/+14
* Add validation for the case where the order is fully filled or canceled and a...Leonid Logvinov2017-08-241-0/+9
* Fix order validation testsLeonid Logvinov2017-08-241-19/+20
* Remove And's from namesLeonid Logvinov2017-08-241-33/+36
* Separate order validation errors tests from exchange testsLeonid Logvinov2017-08-242-84/+95
* Merge pull request #131 from 0xProject/addTokenRegistryMethodFabio Berger2017-08-241-0/+16
|\
| * rename method for clarity since we return a Token and not tokenMetadataFabio Berger2017-08-241-3/+3
| * use non-checksummed addressFabio Berger2017-08-241-1/+1
| * Add public method `getTokenMetadataIfExistsAsync` to TokenRegistry wrapper, r...Fabio Berger2017-08-231-0/+16
* | rename proxy_wrapper_test to token_transfer_proxy_wrapper_testFabio Berger2017-08-231-0/+0
|/
* Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance in ...Leonid Logvinov2017-08-224-37/+41
* Rename internally Proxy to TokenTransferProxyLeonid Logvinov2017-08-222-3/+3
* Put the last test address on it's own lineLeonid Logvinov2017-08-221-1/+3
* Use lowercase address in testsLeonid Logvinov2017-08-221-1/+1
* Reject checksummed addressesLeonid Logvinov2017-08-222-4/+8
* Merge pull request #118 from 0xProject/artifacts-updateFabio Berger2017-08-211-4/+0
|\
| * Remove url from token registryLeonid Logvinov2017-08-151-4/+0
* | set default value to hasAddresses booleanFabio Berger2017-08-171-1/+1
* | remove unnecessary assertion and add regression testFabio Berger2017-08-171-17/+40
* | Remove isUserAddressAvailable assertion from getBalanceAsync and add regressi...Fabio Berger2017-08-172-21/+43
|/
* Indent callbacksLeonid Logvinov2017-07-261-2/+2
* Rearrange importsLeonid Logvinov2017-07-261-1/+1
* Remove unused importsLeonid Logvinov2017-07-264-4/+1
* Fix testsLeonid Logvinov2017-07-261-1/+1
* Factor out order validation testsLeonid Logvinov2017-07-262-147/+203
* Cover all possible branches of order validation errors with testsLeonid Logvinov2017-07-261-14/+59
* Add a test: should throw when maker has balance to cover fees or transfer but...Leonid Logvinov2017-07-261-0/+15
* Use actual exception values in test namesLeonid Logvinov2017-07-121-3/+3
* Use PascalCase names as string enum keysLeonid Logvinov2017-07-124-30/+30
* Make getOrderHashHex staticLeonid Logvinov2017-07-123-11/+11
* Migrate to using a single Exchange contractLeonid Logvinov2017-07-124-81/+24
* Migrate eventsLeonid Logvinov2017-07-111-4/+4
* Merge pull request #100 from 0xProject/improveSignOrderFabio Berger2017-07-081-9/+3
|\
| * Modify signOrderHashAsync to parse the signatureHex string as V + R + S AND R...Fabio Berger2017-07-081-9/+3
* | Merge branch 'master' into cache_net_versionLeonid2017-07-083-49/+49
|\ \
| * \ Merge pull request #97 from 0xProject/speedup-testsLeonid2017-07-081-30/+30
| |\ \
| | * | Add noop commentLeonid2017-07-081-1/+1
| | * | Paralellize fill scenariosLeonid Logvinov2017-07-081-30/+30
| * | | Merge pull request #98 from 0xProject/typosLeonid2017-07-081-6/+6
| |\ \ \ | | |_|/ | |/| |
| | * | Rename batchCancelOrderAsync to batchCancelOrdersAsyncLeonid Logvinov2017-07-081-3/+3
| | * | Rename batchFillOrderAsync to batchFillOrdersAsyncLeonid Logvinov2017-07-081-3/+3
| | |/
| * / Remove space after `it` keywork in testsFabio Berger2017-07-082-13/+13
| |/
* | Rename networkId to networkIdIfExistsLeonid Logvinov2017-07-071-2/+2
* | Fix a typo in a filenameLeonid Logvinov2017-07-071-0/+0
* | Rename RPC_NETWORK_ID to TESTRPC_NETWORK_IDLeonid Logvinov2017-07-072-3/+3
* | Remove onlyLeonid Logvinov2017-07-071-1/+1
* | Add tests for networkId caching and invalidationLeonid Logvinov2017-07-072-0/+30
|/
* Fix comments to use web3 provider instead of web3 instanceLeonid Logvinov2017-07-072-2/+2
* Move zeroEx.exchange.getAvailableContractAddressesAsync to zeroEx.getAvailabl...Leonid Logvinov2017-07-064-32/+26
* Make all fields of subscriptionOpts schema optionalLeonid Logvinov2017-07-051-3/+3
* move order hash schema to a separate fileLeonid Logvinov2017-07-051-1/+2
* Add exchangeContractAddress to an order in schema testsLeonid Logvinov2017-07-051-0/+1
* Use .bignumber for BigNumber comparationLeonid Logvinov2017-07-051-2/+2
* Refactor event testsLeonid Logvinov2017-07-051-13/+12
* Add tests for order hash SchemaLeonid Logvinov2017-07-051-1/+20
* Add tests for subscriptionOptsSchema and blockParamSchemaLeonid Logvinov2017-07-041-0/+38
* Handle errors from pseudo-async subscription testsLeonid Logvinov2017-07-042-10/+10
* Merge branch 'master' into subscribe-tokenLeonid2017-07-042-4/+13
|\
| * Merge pull request #89 from 0xProject/proxyLeonid2017-07-042-4/+13
| |\
| | * Add zeroEx.proxy.getAuthorizedAddressesAsync and testsLeonid Logvinov2017-07-041-0/+11
| | * Make proxy wrapper public on zeroEx instanceLeonid Logvinov2017-07-042-4/+2
* | | Add initial implementation and tests for zeroEx.token.subscribeAsyncLeonid Logvinov2017-07-041-1/+112
|/ /
* | Fix merge problemsLeonid Logvinov2017-07-041-2/+3
* | Merge branch 'master' into wrap-log-bignumberLeonid2017-07-046-61/+145
|\|
| * Merge branch 'master' into add-exchange-address-to-order-structLeonid2017-07-041-0/+3
| |\
| | * Assert correct event names in subscribeAsync testsLeonid Logvinov2017-07-011-0/+3
| * | Fix commentLeonid Logvinov2017-07-011-1/+1
| * | Add tests for getProxyAuthorizedContractAddressesAsyncLeonid Logvinov2017-06-301-0/+12
| * | Remove unused code from test/proxy_wrapper_test.tsLeonid Logvinov2017-06-301-12/+0
| * | Add a test for a ProxyWrapperLeonid Logvinov2017-06-301-0/+35
| * | Make zeroEx.getOrderHashHex non-asyncLeonid Logvinov2017-06-302-10/+10
| * | Fix typo in getAvailableContractAddressesAsyncLeonid Logvinov2017-06-302-3/+3
| * | Make it clear that we are using a fake address in testsLeonid Logvinov2017-06-301-2/+2
| * | Fix a typo in a nameLeonid Logvinov2017-06-301-2/+2
| * | Make getOrderHashHex a non-async functionLeonid Logvinov2017-06-301-13/+2
| * | Allow multiple exchange versions t be functional at the same timeLeonid Logvinov2017-06-275-38/+95
| |/
* / Wrap all event args in a newer version of BigNumber and test itLeonid Logvinov2017-07-021-21/+24
|/
* Merge pull request #81 from 0xProject/addWrappedETHSupportLeonid2017-06-271-0/+106
|\
| * refactor getBalanceInEthAsync to getBalanceInWeiAsync and change the test ass...Fabio Berger2017-06-271-18/+25
| * Fix typoFabio Berger2017-06-271-1/+1
| * Implement EtherTokenWrapper and tests, with deposit and withdraw methodsFabio Berger2017-06-261-0/+99
* | Rename KOVAN_URL to KOVAN_RPC_URLLeonid Logvinov2017-06-232-2/+2
* | Simplify integration testsLeonid Logvinov2017-06-231-34/+4
* | Refactor KOVAN_URL to constants and fetch mnemonic from package.jsonLeonid Logvinov2017-06-232-2/+7
* | Add kovan integration testsLeonid Logvinov2017-06-231-0/+54
|/
* Merge branch 'master' into fill-order-amuontLeonid2017-06-235-20/+16
|\
| * Revert "Use different lodash import syntax which allows to include only used ...Leonid2017-06-225-20/+16
* | Add test for return amount from fillOrdersUpToAsyncLeonid Logvinov2017-06-221-0/+6
* | Add test for cancelOrderAsync return valueLeonid Logvinov2017-06-221-0/+4
* | Add simple test checking that fillOrderAsync return filled amountLeonid Logvinov2017-06-221-0/+10
* | Return filledAmount from fillOrderAsyncLeonid Logvinov2017-06-211-0/+18
|/
* Fall back to import x = require() syntaxLeonid Logvinov2017-06-215-9/+9
* Use different lodash import syntax which allows to include only used functionsLeonid Logvinov2017-06-215-16/+20
* Fix bug in 0x.js tests when passing Web3 instead of Web3 ProviderLeonid Logvinov2017-06-151-1/+1
* Make ZeroEx constructor accept Web3Provider instead of Web3 instanceLeonid Logvinov2017-06-155-7/+7
* Remove types that are not used in public interface from export and rename Eve...Leonid Logvinov2017-06-142-3/+2
* Address feedbackLeonid Logvinov2017-06-141-2/+2
* Add tests for stopWatchingAsyncLeonid Logvinov2017-06-131-0/+20
* Refactor subscription to return zeroExSignature objectLeonid Logvinov2017-06-131-10/+16
* Add getContractAddressAsync and testsLeonid Logvinov2017-06-131-0/+7
* Fix testLeonid Logvinov2017-06-131-1/+1
* Fix testLeonid Logvinov2017-06-131-1/+1
* Introduce index.ts file which defines public interfaceLeonid Logvinov2017-06-137-12/+7
* Change main file name from 0x.js.ts to 0x.tsLeonid Logvinov2017-06-127-7/+7
* Fix last testsLeonid Logvinov2017-06-111-3/+3
* Fix some testsLeonid Logvinov2017-06-101-12/+12
* Prefix private vars with _Leonid Logvinov2017-06-102-8/+8
* Merge branch 'master' into subscribe-async-testsLeonid2017-06-101-2/+1
|\
| * Merge branch 'master' into json-schemaLeonid2017-06-101-10/+258
| |\
| * \ Merge branch 'master' into json-schemaLeonid2017-06-101-3/+8
| |\ \
| * | | Fix testsLeonid Logvinov2017-06-101-2/+1
* | | | Merge branch 'master' into subscribe-async-testsLeonid2017-06-101-10/+258
|\ \ \ \ | | |_|/ | |/| |
| * | | Address feedbackLeonid Logvinov2017-06-101-10/+20
| * | | Fix bugs in schemasLeonid Logvinov2017-06-101-3/+3
| * | | Merge branch 'master' into schema-testsLeonid2017-06-101-3/+8
| |\ \ \ | | | |/ | | |/|
| * | | Merge branch 'master' into schema-testsLeonid2017-06-091-0/+34
| |\ \ \ | | | |/ | | |/|
| * | | Fix testsLeonid Logvinov2017-06-091-1/+1
| * | | Add tests for fillOrderRequests schemaLeonid Logvinov2017-06-091-0/+26
| * | | Add tests for orderCancellationRequestsSchemaLeonid Logvinov2017-06-091-0/+26
| * | | Fix tests and add fillOrKillRequests schemaLeonid Logvinov2017-06-091-11/+37
| * | | Refactor testsLeonid Logvinov2017-06-091-53/+47
| * | | Add tests for signedOrderSchemaLeonid Logvinov2017-06-091-0/+35
| * | | Add tests for order schemaLeonid Logvinov2017-06-091-0/+36
| * | | Tolerate more than one validation error in testsLeonid Logvinov2017-06-091-1/+5
| * | | Rename to validateAgainstSchemaLeonid Logvinov2017-06-091-11/+11
| * | | Add tests for TokenSchemaLeonid Logvinov2017-06-091-2/+37
| * | | Add ecSignatureSchema testsLeonid Logvinov2017-06-091-36/+58
| * | | Add ecSignatureParameter testLeonid Logvinov2017-06-091-0/+20
| * | | Add tests for address schemaLeonid Logvinov2017-06-091-7/+21
* | | | Merge branch 'master' into subscribe-async-testsLeonid2017-06-101-3/+8
|\ \ \ \ | | |_|/ | |/| |
| * | | Add test for zeroEx.exchange.getCanceledTakerAmountAsyncLeonid Logvinov2017-06-101-3/+8
| | |/ | |/|
* | | Fix testsLeonid Logvinov2017-06-101-4/+4
* | | Remove onlyLeonid Logvinov2017-06-091-1/+1
* | | Add LogCancel test to subscribeAsyncLeonid Logvinov2017-06-091-2/+18
|/ /
* | Address feedbackLeonid Logvinov2017-06-091-1/+1
* | Merge branch 'master' into fillOrderUpToAsyncLeonid2017-06-092-52/+77
|\|
| * Add orderFillOrKillRequestsSchema and validate using it instead of looping ov...Fabio Berger2017-06-091-1/+1
| * Merge branch 'master' into batchFillOrKillFabio Berger2017-06-093-314/+254
| |\
| * \ Merge branch 'master' into batchFillOrKillFabio Berger2017-06-081-0/+22
| |\ \
| * \ \ Merge branch 'master' into batchFillOrKillFabio Berger2017-06-081-23/+72
| |\ \ \
| * | | | Implement batchFillOrKill and testsFabio Berger2017-06-081-51/+76
* | | | | Merge branch 'master' into fillOrderUpToAsyncLeonid2017-06-091-16/+18
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Fix isValidSignature testsFabio Berger2017-06-091-16/+18
* | | | | Add tests for fillOrdersUpToLeonid Logvinov2017-06-091-0/+34
|/ / / /
* | | | Merge pull request #48 from 0xProject/interfaceTweaksLeonid2017-06-081-2/+2
|\ \ \ \
| * \ \ \ Merge branch 'master' into interfaceTweaksLeonid2017-06-081-0/+22
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Make web3Wrapper protected instead of publicFabio Berger2017-06-081-2/+2
| | |_|/ | |/| |
* | | | Merge pull request #47 from 0xProject/is-valid-signature-contractLeonid2017-06-082-121/+25
|\ \ \ \
| * \ \ \ Merge branch 'master' into is-valid-signature-contractLeonid2017-06-081-0/+22
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | Fix linter errorLeonid Logvinov2017-06-081-3/+3
| * | | | Rewrite isValidSignature testsLeonid Logvinov2017-06-081-51/+25
| * | | | Remove tests for isValidSignatureUsingContractCallAsyncLeonid Logvinov2017-06-081-78/+0
| * | | | Refactor isValidSignatureLeonid Logvinov2017-06-081-13/+21
| | |/ / | |/| |
* | | | Don't pass expressions as parametersLeonid Logvinov2017-06-081-2/+4
* | | | Don't pass expressions as parametersLeonid Logvinov2017-06-081-2/+4
* | | | Merge branch 'master' into batchFillAsyncLeonid2017-06-081-0/+22
|\ \ \ \ | | |/ / | |/| |
| * | | Add getOrderHashHexUsingContractCallAsyncLeonid Logvinov2017-06-081-0/+22
| |/ /
* | | Address feedbackLeonid Logvinov2017-06-082-7/+17
* | | Merge branch 'master' into batchFillAsyncLeonid Logvinov2017-06-082-7/+79
|\| |
| * | Format inputsLeonid Logvinov2017-06-081-1/+2
| * | Merge branch 'master' into batchCancelAsyncLeonid2017-06-082-2/+100
| |\|
| | * add `hex` to function and variable name for clarityFabio Berger2017-06-071-1/+1
| | * Fix tests with removed shouldCheckTransferFabio Berger2017-06-071-6/+3
| | * merge masterFabio Berger2017-06-072-5/+52
| | |\
| | * | Implement fillOrKill & testsFabio Berger2017-06-071-1/+102
| * | | Address feedbackLeonid Logvinov2017-06-071-8/+4
* | | | Add no-op testLeonid Logvinov2017-06-081-3/+3
* | | | Add success testLeonid Logvinov2017-06-082-5/+33
* | | | Remove onlyLeonid Logvinov2017-06-071-1/+1
* | | | Merge branch 'batchCancelAsync' into batchFillAsyncLeonid Logvinov2017-06-071-12/+22
|\| | |
| * | | Refactor to use OrderCancellationRequestLeonid Logvinov2017-06-071-11/+21
| * | | Add tests for batchCancelAsyncLeonid Logvinov2017-06-071-23/+65
| | |/ | |/|
| * | Add comments for datesLeonid Logvinov2017-06-071-2/+2
* | | Move fillableAmount to initialization sectionLeonid Logvinov2017-06-071-8/+17
* | | Move initialization upLeonid Logvinov2017-06-071-15/+15
* | | Move fillOrderAsync to fill order describe blockLeonid Logvinov2017-06-071-179/+185
* | | Add tests for batchCancelAsyncLeonid Logvinov2017-06-071-23/+65
* | | Add comments for datesLeonid Logvinov2017-06-071-2/+2
|/ /
* | 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