boinc/sched
Christian Beer 6dbf55fd9a Tests: add unit testing framework using googletest
* enable coverage reports from gcc and disable optimizations via option to configure
* install googletest library into buildcache
* script to compile and run unit tests using cmake
* first set of unit tests originaly contributed by Keith Uplinger

There are several hardcoded paths and assumptions made in order to get this working on Travis CI. New tooling is using cmake for cross platform builds and as such is not easy to use with an autotools based system.
It's not ideal but better than nothing.
2019-04-20 13:30:03 +02:00
..
Makefile.am Tests: add unit testing framework using googletest 2019-04-20 13:30:03 +02:00
adjust_user_priority.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
antique_file_deleter.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
assimilate_handler.h Daemons: add usage function to project specific handler 2015-10-13 16:39:04 +02:00
assimilator.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
assimilator.py
census.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
credit.cpp web: change names of admin functions to e.g. admin_show_user() 2018-05-01 10:47:38 -07:00
credit.h Add support for post-assigned credit 2018-05-15 14:55:30 -07:00
credit_test.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
db_dump.cpp Removed extra .gz 2019-04-03 16:05:42 +02:00
db_dump_spec.xml server: add user_deleted and host_deleted output files for db_dump. 2018-05-03 15:31:42 -05:00
db_purge.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
delete_file.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
edf_sim.cpp Remove VS2010 compiler warnings. A few remain. 2018-08-02 12:18:15 -07:00
edf_sim.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
feeder.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
file_deleter.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
file_upload_handler.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
get_file.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
handle_request.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
handle_request.h scheduler: remove lock file when scheduler caught SIGTERM 2012-03-12 09:10:42 +00:00
hr.cpp Lib/Sched: remove superfluous ';' 2016-09-01 16:40:31 +02:00
hr.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
hr_info.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
hr_info.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
make_work.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
makefile_plan_class_spec - scheduler: debug plan_class_spec a little. 2012-06-06 03:47:13 +00:00
makefile_validator_test Daemons: enhance validator framework 2016-08-16 11:14:42 +02:00
message_handler.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
plan_class_spec.cpp fix WU/batch ID checking in plan class spec: IDs are longs, not ints 2019-04-05 13:59:41 -07:00
plan_class_spec.h fix WU/batch ID checking in plan class spec: IDs are longs, not ints 2019-04-05 13:59:41 -07:00
plan_class_spec.xml.sample Additions and fixes to plan class mechanism 2018-05-15 21:56:17 -07:00
pshelper Remote server management: 2014-05-26 14:13:58 +02:00
put_file.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
pymw_assimilator.py
sample_assimilator.cpp sample_assimilator: add --outdir cmdline arg 2016-06-28 11:25:52 -07:00
sample_bitwise_validator.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sample_db_dump_spec.xml
sample_dummy_assimilator.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sample_hr_info.txt
sample_substr_validator.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sample_trivial_validator.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sample_work_generator.cpp use snprintf to prevent buffer overflow 2015-10-21 15:39:21 +02:00
sched_array.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_array.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_assign.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_assign.h scheduler: assigned jobs should respect user app preferences 2013-10-06 21:23:28 -07:00
sched_check.cpp back end: add keyword-based component to job scheduling score. 2017-07-22 00:48:38 -07:00
sched_check.h back end: add keyword-based component to job scheduling score. 2017-07-22 00:48:38 -07:00
sched_config.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_config.h Tweaks to user URL/country flags 2018-12-14 20:20:24 -08:00
sched_customize.cpp scheduler plan class spec: avoid unnecessarily searching for plan classes 2018-07-25 11:31:09 +01:00
sched_customize.h scheduler plan class spec: avoid unnecessarily searching for plan classes 2018-07-25 11:31:09 +01:00
sched_driver.cpp sanitize nrequests option 2015-10-28 17:45:25 +01:00
sched_files.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
sched_files.h - scheduler: add feature for deleting no-longer-used sticky files. 2013-03-04 17:39:24 +01:00
sched_hr.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_hr.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
sched_keyword.cpp client: parse keyword file and export keywords in get_state() GUI RPC 2017-07-30 13:12:16 -07:00
sched_keyword.h back end: add keyword-based component to job scheduling score. 2017-07-22 00:48:38 -07:00
sched_limit.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
sched_limit.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
sched_locality.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_locality.h
sched_main.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_main.h
sched_nci.cpp scheduler: use "allow_non_preferred_apps" to match PHP code 2017-06-27 23:45:53 -07:00
sched_nci.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_resend.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_resend.h
sched_result.cpp Server: add "punitive validation" mechanism 2019-02-18 21:29:04 -08:00
sched_result.h
sched_score.cpp scheduler: fix crashing bug in keyword scheduling code 2017-07-27 23:36:32 -07:00
sched_score.h back end: add keyword-based component to job scheduling score. 2017-07-22 00:48:38 -07:00
sched_send.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_send.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
sched_shmem.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_shmem.h Merge pull request #1638 from BOINC/fix_c++11_build 2017-08-14 16:56:02 -07:00
sched_timezone.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_timezone.h
sched_types.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_types.h Additions and fixes to plan class mechanism 2018-05-15 21:56:17 -07:00
sched_util.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
sched_util.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
sched_util_basic.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
sched_util_basic.h Sched: make get_file_size request in file_upload_handler read-only 2017-08-22 11:40:44 +02:00
sched_version.cpp Server: add "punitive validation" mechanism 2019-02-18 21:29:04 -08:00
sched_version.h Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
script_assimilator.cpp Assimilator: cosmetic changes to usage output 2015-10-29 09:18:18 +01:00
script_validator.cpp script_validator segfault fix 2018-07-20 16:12:28 +03:00
show_shmem.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
single_job_assimilator.cpp Server: use MAXPATHLEN for char arrays when they contain filenames 2016-04-25 09:33:26 +02:00
size_regulator.cpp use snprintf to prevent buffer overflow 2015-10-21 16:37:55 +02:00
start start script: create lock and pid files non-world-writeable 2017-01-27 12:12:49 -08:00
target_batch.cpp cppcheck: printf format string 2018-03-28 18:01:14 +02:00
testasm.py
time_stats_log.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
time_stats_log.h check return value of dup_element_contents() 2015-10-28 14:22:21 +01:00
transitioner.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
transitioner_catchup.php transitioner_catchup.php: fix it. 2015-07-10 10:24:40 -07:00
trickle_credit.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
trickle_deadline.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
trickle_echo.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
trickle_handler.cpp Merge pull request #2630 from BOINC/dpa_trickle 2019-02-02 10:56:03 +01:00
trickle_handler.h declare new variable 2018-08-04 21:21:53 -07:00
update_stats.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
validate_util.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
validate_util.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
validate_util2.cpp validator: raise the quorum for 'suspicious' results to ensure validation 2017-09-22 13:09:14 +02:00
validate_util2.h Server: add "punitive validation" mechanism 2019-02-18 21:29:04 -08:00
validator.cpp added the check_punitive usage option 2019-03-15 10:02:12 +01:00
validator.h validator: raise the quorum for 'suspicious' results to ensure validation 2017-09-22 13:09:14 +02:00
validator_test.cpp Daemons: enhance validator framework 2016-08-16 11:14:42 +02:00
wu_check.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00