Commit graph

243 commits

Author SHA1 Message Date
abitmore
03cc93d0e4 Update WS API test cases due to param type change 2019-04-03 12:06:02 -04:00
Nathan Hourt
2d0122f1ed More tweaks vis-a-vis warnings
Move crc_c fake usage out of strange main() function in a library
Convert manual string formatting to FC string formatting
2019-03-25 09:26:35 -05:00
Nathan Hourt
04c393a53a Add self-assignment test, sans the compiler warning 2019-03-25 09:18:21 -05:00
Nathan Hourt
84c16aeebb Fix some warnings 2019-03-24 10:44:03 -05:00
John Jones
d22f9ed634 whitespace fix 2019-03-05 13:04:44 -05:00
John Jones
d9634f8755 assist MSVC with comparison 2019-03-05 13:03:09 -05:00
John Jones
d5b2be2782 Equality check does not work on Windows 2019-03-04 17:02:14 -05:00
John Jones
29c0e5a0d8 Test to demonstrate fc::mutex and fc::thread 2019-01-22 21:11:46 -05:00
John M. Jones
2bf93ec086
Merge pull request #102 from bitshares/jmj_macwarn
Fix some macOS warnings
2019-01-17 12:28:56 -05:00
Peter Conrad
b2e738af09
Merge pull request #100 from bitshares/fix_limits
Fix limits
2019-01-08 17:33:28 +01:00
jmjatlanta
f7e5f7396b unneccesary capture 2019-01-07 11:18:14 -05:00
John Jones
51f27f1fcd Fix stacktrace test 2018-12-28 14:49:17 -05:00
Peter Conrad
90f8ad5722 Ported test case from STEEM 2018-12-28 20:36:34 +01:00
John Jones
3f5205ad6b Fix warnings in tests 2018-12-28 14:19:19 -05:00
John M. Jones
0468884ea6
Merge pull request #92 from bitshares/mac_stacktrace
boost stacktrace does not play well with mac
2018-11-21 06:35:44 -05:00
John M. Jones
e9886b0628
Merge pull request #95 from bitshares/jmj_readsome
mac fc::io::readsome fix
2018-11-21 06:31:53 -05:00
Peter Conrad
1aecf3ccc8
Merge pull request #85 from crypto-ape/static-variant-memory-optimizations
Memory optimization of static_variant
2018-11-17 10:43:03 +01:00
Peter Conrad
460e7cccc8
Merge pull request #78 from bitshares/multithreading_improvements
Multithreading improvements
2018-11-17 10:41:49 +01:00
John Jones
f4dec89dc3 mac fc::io::readsome fix 2018-11-15 03:53:55 -08:00
John Jones
fd345e5bc2 fix #if for boost versions > 2 2018-11-13 16:06:59 -05:00
Peter Conrad
5b99b41a44 Added missing include 2018-11-10 21:29:32 +01:00
crypto-ape
f8b86fc757 added testcase types_edge_cases_test for static_variant 2018-10-31 10:59:51 +01:00
Abit
8b6a2dd450
Merge pull request #84 from bitshares/jmj_1383
Fix Compiler Warnings
2018-10-25 10:41:45 +02:00
John Jones
0156023680 Fix Compiler Warnings 2018-10-22 07:38:08 -05:00
Peter Conrad
72a8168b2b Added a test for static_variant visitor call depth 2018-10-09 17:54:30 +02:00
Peter Conrad
08a66f52d3 Add option --pool-threads for easier testing 2018-10-06 11:05:45 +02:00
Peter Conrad
e336b0bb5c Added serial_valve 2018-10-05 15:02:31 +02:00
Peter Conrad
b0f4e55aee --list-content doesnt work properly until boost-1.59 2018-10-04 14:29:59 +02:00
Peter Conrad
afcb1e3543 Moved do_parallel to fc::thread-based worker pool implementation 2018-10-03 21:25:10 +02:00
Peter Conrad
6fe8f1d6e6 Added parallel sign/verify test 2018-10-03 21:08:42 +02:00
Peter Conrad
40b2843d15 Added test case for parallel hashing 2018-10-03 21:08:42 +02:00
Peter Conrad
3131c1df43 Implement helper function for real parallel execution 2018-10-03 10:51:15 +02:00
Peter Conrad
79ff75423f Throw overflow_exception instead of silently cutting off data 2018-08-19 18:51:45 +02:00
Peter Conrad
1dcacbafc9 Removed signed_int 2018-08-19 18:26:46 +02:00
Peter Conrad
0c22469090 #993 - unit test 2018-08-19 11:01:05 +02:00
Peter Conrad
a39e0d1a8f Expanded tests for unsigned_int to 64 bits 2018-08-19 11:01:05 +02:00
Peter Conrad
f8940a686a Added unit test for serialization/deserialization of unsigned_int 2018-08-19 11:01:05 +02:00
Valera Cogut
0077926a7c removed comment 2018-07-27 15:00:10 +03:00
Valera Cogut
9e043fb7bc fc::time_point_sec::to_iso_string is broken - issue #597 2018-07-27 10:27:28 +03:00
Valera Cogut
20724f7ecc fixed issue #809 2018-07-09 17:17:32 +03:00
Peter Conrad
0dbf7ffc23
Merge pull request #49 from bitshares/travis_sonar
Modifications to run sonar-scanner during travis build
2018-06-05 15:05:11 +02:00
Alfredo Garcia
0a90eff697
Merge pull request #7 from bitshares/openssl-1.1-support
Openssl 1.1 support
2018-05-31 17:32:21 -03:00
Peter Conrad
0fc569cbfc Remove unused "smaz" compression 2018-05-29 16:36:31 +02:00
John M. Jones
0d689a4894
Remove hard coded number of IO threads (#47)
This allows for control of the number of IO threads before their creation
2018-05-16 09:44:23 -07:00
Peter Conrad
b3285b3bc2 Parallelize unit test execution 2018-05-13 10:52:37 +02:00
Peter Conrad
29ace9b07d Added specific test case for short secret 2018-05-11 18:13:15 +02:00
Peter Conrad
f0dfc64261 Fixed diffie-hellman shared key computation 2018-05-10 15:24:04 +02:00
John Jones
cb2965991f Added comment to clarify test purpose 2018-05-04 07:47:37 -05:00
John Jones
58ef1c2c5d Merge remote-tracking branch 'upstream/master' into Issue_socket 2018-05-04 07:40:05 -05:00
Peter Conrad
a3272e4f9e Ripped out unused blinding stuff 2018-04-26 17:35:45 +02:00
Peter Conrad
fccabf1eb6 Fixed blinding test + implementation 2018-04-21 21:42:45 +02:00
Fabian Schuh
ef27d4b3a1 Initial work for openssl-1.1 support 2018-04-12 14:58:13 +02:00
John Jones
a6738e3265 Added boost stacktrace to segfault handler 2018-04-09 08:11:38 -05:00
John Jones
f84de73e66 added test to demonstrate issue 2018-03-23 17:34:07 -05:00
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