Commit 19e7ece
committed
Add comprehensive coverage tests for database inventory and scan rules
- Introduced `database_inventory_coverage_tests.cpp` to validate project inventory repository functionality, including error handling for invalid project IDs and missing payload keys.
- Implemented tests for persisting and pruning files, autoloads, classes, and unknown entries in the project inventory.
- Added `scan_rules_coverage_tests.cpp` to cover various scenarios for scan rules, including classification, hint detection, and dirty state detection.
- Enhanced existing functionality with additional checks for file types, extensions, and type hints.
- Updated binary object files for native scan rules and script parser.1 parent 614b896 commit 19e7ece
21 files changed
Lines changed: 3841 additions & 2720 deletions
File tree
- project/addons/GoToolCenter/bin
- src
- database
- gen
- project_context
- project_scanner
- tests/native
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
446 | 448 | | |
447 | 449 | | |
448 | 450 | | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
453 | 455 | | |
454 | | - | |
455 | | - | |
| 456 | + | |
| 457 | + | |
456 | 458 | | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
461 | 463 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
466 | 472 | | |
467 | | - | |
468 | | - | |
| 473 | + | |
| 474 | + | |
469 | 475 | | |
470 | | - | |
471 | | - | |
| 476 | + | |
| 477 | + | |
472 | 478 | | |
473 | 479 | | |
474 | 480 | | |
| |||
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments