Commit graph

185 commits

Author SHA1 Message Date
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