Commit graph

239 commits

Author SHA1 Message Date
Abit
7e7e3e5fec
Merge pull request #30 from oxarbitrage/time_test
Add travis to FC
2018-03-23 23:15:30 +01:00
oxarbitrage
377235a401
comment out another test 2018-03-23 17:32:01 -03:00
oxarbitrage
6fae537fad
add notes to commented tests 2018-03-23 17:21:15 -03:00
oxarbitrage
eb9cc0be06
add note to commented test 2018-03-23 17:20:13 -03:00
abitmore
5dcebe7b1f Suppress logging when testing mass logging 2018-03-23 14:31:46 -04:00
abitmore
a57879b3a9 Update test case for variant conversions 2018-03-23 12:46:14 -04:00
abitmore
1b3d53114f Add test case for variant conversions 2018-03-23 08:23:50 -04:00
Alfredo
8a96790c78 remove test 2018-03-22 21:49:27 -03:00
Alfredo
636a50f1f6 comment some failing tests 2018-03-22 21:36:28 -03:00
abitmore
a3f8f2f004 Fix websocket_test 2018-03-22 12:42:24 -04:00
jmjatlanta
956085d72f fixed macOS build 2018-03-22 09:57:06 -05:00
Abit
2bb93c8b5d
Merge pull request #21 from pmconrad/variant_fix
Variant fix
2018-03-19 17:35:57 +01:00
abitmore
d9ac2691a1 Remove default pack/unpack functions for class 2018-03-14 17:20:48 -04:00
abitmore
769dd980b7 Add tests for nested class object serialization 2018-03-14 06:15:01 -04:00
Peter Conrad
271a8377a6 Adapted API conversions, incomplete 2018-03-13 22:00:18 +01:00
Peter Conrad
81c8d89341 Added max_depth parameter to variant conversions 2018-03-13 22:00:18 +01:00
Peter Conrad
fca5058464
Merge branch 'master' into sanitize 2018-03-13 21:39:40 +01:00
Abit
67e60367a5
Merge pull request #15 from pmconrad/json_parsing_fix
JSON parsing fix from steem PR 2178
2018-03-13 21:36:15 +01:00
abitmore
782e7d687b Add test case for nested-object serialization 2018-03-11 17:21:44 -04:00
Peter Conrad
d24bee8bf4 Added test case for exception in exception handling 2018-03-09 18:51:48 +01:00
Peter Conrad
f9802f6860 Added max_depth parameter to all to_/from_ methods 2018-03-08 22:33:41 +01:00
Peter Conrad
66ed9fc3dc Minor fixes 2018-03-07 22:42:43 +01:00
Peter Conrad
a7e0c887db Added test case for recursion depth 240 2018-03-07 15:44:01 +01:00
Peter Conrad
b4f3947cb1 Include variants_from_string in parser test 2018-03-07 15:43:25 +01:00
Peter Conrad
cb9c61fa2d Avoid legacy_generator 2018-03-07 15:43:05 +01:00
Peter Conrad
8c09ff09fc Added json write/validate/read test 2018-03-07 15:42:19 +01:00
Peter Conrad
72e96e3c1d Added first json test case 2018-03-06 14:43:35 +01:00
Peter Conrad
0c75709488 Added unit tests for stringstream, [io]fstream and buffered_[io]stream 2018-03-06 14:43:17 +01:00
Alexey Frolov
5138c58e09 sanitize, remove warnings 2018-02-02 15:29:46 +03:00
Peter Conrad
c02fe0aaf6 Added unit test to demonstrate problem with time_point_sec::to_iso_string 2018-01-23 17:58:37 +01:00
Anton Autushka
c2a37a83bd Boost 1.61 compatibility fix 2017-11-09 15:18:58 +03:00
Vikram Rajkumar
cb627980a5 Remove unused CyoEncode and Base32
5c466150ec
2017-06-04 18:13:13 -05:00
Vikram Rajkumar
fe82998021 Remove NTP 2017-03-16 12:29:57 -05:00
Vikram Rajkumar
326140a931 Remove leftover udt code 2017-01-13 13:36:21 -06:00
Daniel Larimer
b07f429556 remove udt and make websocketpp includes public 2017-01-03 15:13:22 -05:00
Daniel Larimer
ee6ee27290 clean up tests and add some utility methods 2016-10-24 17:44:53 -04:00
Daniel Larimer
6bd5a6c73b Merge branch 'master' of https://github.com/steemit/fc 2016-10-10 17:16:59 -04:00
Daniel Larimer
0ace4298c5 adding interprocess lock 2016-10-10 17:16:57 -04:00
theoreticalbts
636d4530e3 sha256: Add method to return approx log as double 2016-10-04 14:19:59 -04:00
theoreticalbts
585cea9472 sha256: Add inverse log and testing 2016-10-04 14:19:59 -04:00
Daniel Larimer
e7d0d26fe2 adding fixed_string definition 2016-09-15 15:29:16 -04:00
theoreticalbts
f3e69d81a9 sha256: Implement and test clz(), approx_log_32() 2016-08-11 12:10:14 -04:00
Daniel Larimer
7e32df4978 Merge pull request #46 from pmconrad/blinding
Blinding a la Oleg Andreev
2015-10-01 09:55:28 -04:00
Peter Conrad
a9364db96b Refactored + extended websocket test 2015-08-30 22:15:20 +02:00
Peter Conrad
899a5c489b Added tests for UTF-8 2015-08-23 22:15:47 +02:00
Peter Conrad
cd7615475f Fixed some tests 2015-08-20 22:57:08 +02:00
Vikram Rajkumar
4c9a6b6dab Add missing include 2015-08-03 10:20:37 -04:00
Peter Conrad
9b37e72140 Added simple randomness test (Wald–Wolfowitz runs) 2015-07-30 18:37:44 +02:00
Peter Conrad
bfa1433cdd Added test for diffie-hellmann key exchange 2015-07-30 17:42:20 +02:00
Peter Conrad
1a342f8fae Added stream test 2015-07-30 16:30:24 +02:00
Peter Conrad
d67c18f6c3 Fixed shift in hashes + more tests 2015-07-29 23:22:34 +02:00
Peter Conrad
ef92e68146 Created + added test vectors, various fixes - working! 2015-07-29 21:00:08 +02:00
Peter Conrad
622de81402 Added tests, fixes (sig format, canonicalization) 2015-07-29 21:00:08 +02:00
Peter Conrad
0f67ca751e Implemented extended keys 2015-07-29 20:59:32 +02:00
Peter Conrad
0575840a9c Implemented HMAC template + test 2015-07-29 20:58:44 +02:00
Peter Conrad
31437bd248 Started with SHA test cases 2015-07-27 23:05:39 +02:00
Peter Conrad
0878e7f8f8 Tested + fixed more cases 2015-07-27 22:22:20 +02:00
Peter Conrad
fe0ec4a42d Added FC_ASSERT to prevent buffer overflow 2015-07-27 21:23:15 +02:00
Peter Conrad
af18f89355 Added hex test 2015-07-27 21:23:15 +02:00
Peter Conrad
8e514128b6 Added blowfish tests 2015-07-27 21:23:15 +02:00
Peter Conrad
0b9066ae48 Added bigint test cases 2015-07-27 21:23:15 +02:00
Peter Conrad
e10f6105a6 Added missing b58 test 2015-07-27 21:23:15 +02:00
Peter Conrad
0e681dfb1c Added tests for base_n encodings, fixed base32 + base36 2015-07-27 21:23:15 +02:00
Peter Conrad
19b6de0e24 Created tests/* subfolders 2015-07-27 21:23:15 +02:00
Peter Conrad
ca896b2c85 More refactoring 2015-07-27 21:23:15 +02:00
Peter Conrad
5f4ff1aa21 More tests refactored 2015-07-27 21:23:15 +02:00
Peter Conrad
dda63f4fc8 Refactored tests, fixed AES test 2015-07-27 21:23:15 +02:00
Peter Conrad
39b47c36f0 Re-enabled + refactored compress test, added zlib test case 2015-07-27 21:23:15 +02:00
Daniel Larimer
7fc2cc43f1 Adding multi_index to/from variant support 2015-07-23 13:16:19 -04:00
Vikram Rajkumar
701b9ac00c Remove problematic easylzma 2015-06-23 16:19:36 -04:00
Eric Frias
10e747409c Fix FC win32 compiling (secp256k1 related errors) 2015-06-15 14:38:33 -04:00
Vikram Rajkumar
f7cf9abe55 Add secp256k1-zkp submodule 2015-06-13 15:28:40 -04:00
Daniel Larimer
3a392eba51 adding typdefs and exta testing 2015-06-12 09:49:40 -04:00
Daniel Larimer
a824aa04a9 Mapping blinding crypto to fc ecc api 2015-06-10 18:34:19 -04:00
Daniel Larimer
ccd14c7260 Merge pull request #4 from pmconrad/libsecp256k1
fc::ecc implementations based on libsecp256k1
2015-05-20 10:30:05 -04:00
Daniel Larimer
4894219fd6 adding bloom test 2015-05-12 13:07:56 -04:00
Peter Conrad
1de9a3ba87 Bugfix 2015-05-07 14:51:03 +02:00
Peter Conrad
bab3864437 Added mixed implementation, fixed interop test script 2015-05-07 14:51:02 +02:00
Peter Conrad
20230b761e Added documentation + automated interop test 2015-05-07 14:51:02 +02:00
Peter Conrad
7b15098f3a Woot! 2015-05-07 14:49:52 +02:00
Peter Conrad
f17444d90b Added ECC_IMPL switch + interop test 2015-05-07 14:48:00 +02:00
Daniel Larimer
72288a25b1 making sure getline doesn't blog 2015-05-04 14:07:22 -04:00
Eric Frias
0e5474e152 Fix non-void function that didn't return a value 2015-04-01 17:06:13 -04:00
Daniel Larimer
1fb31737a7 RPC now supports remote callbacks
to_variant now skips null optional members on reflected objects.
2015-03-31 11:31:56 -04:00
Daniel Larimer
bcd642e31f fix memory leak in circular shared ptrs 2015-03-30 18:34:04 -04:00
Daniel Larimer
94faa4e362 add support for const ref params and fix bugs with implict variant conversion 2015-03-30 14:05:21 -04:00
Daniel Larimer
74b707999c fix bugs with websocket and integrate API support 2015-03-27 16:29:33 -04:00
Daniel Larimer
7008d1419a adding websocket api stub 2015-03-26 18:38:43 -04:00
Daniel Larimer
4ce26f068f implement simple websocket wrapper ontop of websocketpp 2015-03-26 16:51:10 -04:00
Daniel Larimer
171eb212cd refactor api_client and api_server into api_connection and add JSON impl 2015-03-11 10:49:30 -04:00
Daniel Larimer
fa352e14bd nested API calls fully abstracted 2015-03-10 18:52:27 -04:00
Daniel Larimer
cf849b8b54 test code 2015-03-10 09:14:33 -04:00
Daniel Larimer
ee9c2ac4ed api progess 2015-03-09 18:50:20 -04:00
Vikram Rajkumar
683f1dd7bf Fix unused variable warning 2014-12-23 15:48:56 -05:00
Daniel Larimer
a4a90fac05 Update to elliptic curve signature verification 2014-12-10 22:43:37 -08:00
Nathan Hourt
5e7cd9776e A few more real128 tests 2014-10-16 09:31:15 -04:00
Daniel Larimer
ec9e85d268 fix fixed point math 2014-10-15 20:46:24 -04:00
Nathan Hourt
2b76b6d5fe Add another uint128 test 2014-10-15 18:00:31 -04:00
Nathan Hourt
c3a6b40188 Test and bugfix real128 2014-10-15 17:53:50 -04:00
Eric Frias
454573e048 Add support for boost 1.56. 2014-09-08 10:41:59 -04:00
Eric Frias
ac385d1f6b Allow the user to supply a reason string when canceling a task (useful for debugging) 2014-08-27 14:07:44 -04:00
Eric Frias
d9e6a9e568 When a task is canceled while blocking on a mutex, fix the code that removes it from the mutex's block list to null out its "next" pointer, which is assumed to be null whenever not blocked on a mutex 2014-08-27 11:55:14 -04:00
Eric Frias
976bbce668 When locking a mutex, ensure the task has a context before attempting to lock. 2014-08-25 18:44:15 -04:00
Eric Frias
ed2f543c24 Add a test that verifies that canceling a task that has a mutex locked cleans up properly (it does) 2014-08-21 15:22:43 -04:00
Eric Frias
978de7885a Add a macro to check if a task that shouldn't yield actually yields. 2014-08-02 19:43:28 -04:00
Eric Frias
d847f6469a Allow us to require assigning descriptions to all async tasks to aid in debugging 2014-07-27 17:37:21 -04:00
Eric Frias
87196008d4 Rephrase task_cancel tests in the form of a boost_test. 2014-07-09 15:23:18 -04:00
Vikram Rajkumar
39c7f05ea9 Implement LZMA file decompression 2014-07-03 00:01:02 -04:00
Vikram Rajkumar
f56dd6d208 Implement LZMA file compression 2014-07-02 23:28:43 -04:00
Daniel Larimer
c33acad0ab fix udt sockets, actually enable non blocking operation 2014-06-29 01:38:46 -04:00
Daniel Larimer
a0c8d84372 adding missing test 2014-06-28 21:59:48 -04:00
Daniel Larimer
5529b300d9 implemented working UDT socket/server 2014-06-26 11:25:07 -04:00
Daniel Larimer
5c98d7864f Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc 2014-06-26 08:48:12 -04:00
Eric Frias
2c5c1655a6 Add counters to the TCP rate limiter to measure actual upload and download speed, and allow the caller to set how bursty they want the connection to be. 2014-06-25 18:16:58 -04:00
Daniel Larimer
5072768243 adding missing files 2014-06-24 22:30:58 -04:00
Eric Frias
62b479568e Get rate limiting mostly working 2014-05-08 15:13:49 -04:00
Eric Frias
06df18c690 More work towards rate-limited TCP sockets 2014-04-17 19:39:15 -04:00
Daniel Larimer
5c38242a7a fix unit test 2013-09-05 22:12:00 -04:00
Daniel Larimer
68b9fafe9a disable padding for aes_encoder and decoder 2013-09-05 22:09:12 -04:00
Daniel Larimer
113d63c8b2 various missing files 2013-08-23 20:36:43 -04:00
Daniel Larimer
311a9652d4 bug fixes and tests for aes 2013-08-13 13:57:39 -04:00
Daniel Larimer
747d35d922 adding smaz compression utility function 2013-08-13 00:37:54 -04:00
Daniel Larimer
a69abee4c4 adding new test code 2013-08-08 10:20:38 -04:00
Daniel Larimer
59a121d64b Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
Daniel Larimer
7b9a14918c merge latest changes 2013-03-01 18:56:06 -05:00
Daniel Larimer
b527bbbab6 Factored console_appender into its own header/cpp
Added file_appender
Updated tests
2013-02-05 00:06:16 -05:00
Daniel Larimer
71ea16cf8b Adding updated logging system similar to log4
Updates to ssh client
Updated reflect enum
2013-02-04 23:08:48 -05:00
Daniel Larimer
73f94bcebe various updates 2012-12-19 12:23:12 -05:00
Daniel Larimer
161ce54cb8 windows port 2012-12-18 14:37:14 -05:00
Daniel Larimer
e33e78ce51 port to windows 2012-12-03 14:51:31 -05:00
Daniel Larimer
c9e31c9656 fix 2012-11-09 01:45:17 -05:00
Daniel Larimer
c8b75ac96b named parameter for json-rpc 2012-11-09 00:31:39 -05:00
Daniel Larimer
39436c7021 ssh remote process exec 2012-11-08 22:02:07 -05:00
Daniel Larimer
d30664e13f added ssh test 2012-11-08 21:18:35 -05:00
Daniel Larimer
98f4b7026d multi-param json-rpc, fix multi-request 2012-11-07 22:25:42 -05:00
Daniel Larimer
a6541b825a json rpc updates, tcp server/client support 2012-11-05 23:34:58 -05:00
Daniel Larimer
5dcb2ea992 updated json rpc to factor out stream connections 2012-10-29 17:57:34 -04:00
Daniel Larimer
a819694d85 fix undefined methods 2012-10-26 01:18:53 -04:00
Daniel Larimer
2ba214819e adding tests + updating build 2012-10-26 01:03:47 -04:00