Closed aasseman closed 1 year ago
Coverage after merging fix_aggregator_timestamp_check into main will be
80.21% |
---|
File | Stmts | Branches | Funcs | Lines | Uncovered Lines |
---|---|---|---|---|---|
tap_aggregator/src | |||||
aggregator.rs | 92.16% | 100% | 100% | 90.48% | 40–43, 53–56 |
api_versioning.rs | 86.21% | 100% | 76.47% | 90.24% | 15–16 |
error_codes.rs | 0% | 100% | 0% | 0% | 13, 27 |
jsonrpsee_helpers.rs | 43.90% | 100% | 33.33% | 48.28% | 44, 51–57, 9 |
lib.rs | 100% | 100% | 100% | 100% | |
main.rs | 3.70% | 100% | 6.67% | 2.56% | 13, 17–18, 22, 26–27, 31–32, 36–37, 41–42, 45–47, 50–57, 60–65, 68–72, 74 |
server.rs | 86.09% | 100% | 100% | 82.22% | 101, 113–117, 137, 69–77 |
tap_core/src | |||||
eip_712_signed_message.rs | 83.78% | 100% | 80% | 85.19% | 58 |
error.rs | 50% | 100% | 50% | 50% | |
lib.rs | 83.33% | 100% | 87.50% | 81.25% | 26 |
receipt_aggregate_voucher.rs | 92.50% | 100% | 87.50% | 93.75% | 23 |
tap_core/src/adapters/test | |||||
collateral_adapter_mock.rs | 88.33% | 100% | 75% | 90.38% | 18, 44–45 |
collateral_adapter_test.rs | 100% | 100% | 100% | 100% | |
rav_storage_adapter_mock.rs | 92% | 100% | 71.43% | 95.35% | 30 |
rav_storage_adapter_test.rs | 100% | 100% | 100% | 100% | |
receipt_checks_adapter_mock.rs | 97.83% | 100% | 100% | 97.50% | 61 |
receipt_checks_adapter_test.rs | 95.83% | 100% | 100% | 95% | 59 |
receipt_storage_adapter_mock.rs | 71.78% | 100% | 57.14% | 74.14% | 111, 130, 134–136, 148, 163–177, 29, 43, 57, 75, 93 |
receipt_storage_adapter_test.rs | 100% | 100% | 100% | 100% | |
tap_core/src/tap_manager | |||||
manager.rs | 82.50% | 100% | 61.54% | 84.35% | 107, 126–129, 136, 185, 200–203, 209, 95 |
rav_request.rs | 0% | 100% | 0% | 0% | 9 |
tap_core/src/tap_manager/test | |||||
manager_test.rs | 100% | 100% | 100% | 100% | |
tap_core/src/tap_receipt | |||||
mod.rs | 46.34% | 100% | 45.45% | 46.67% | 49–59 |
receipt.rs | 88.46% | 100% | 87.50% | 88.89% | 19 |
receipt_auditor.rs | 84.83% | 100% | 83.33% | 84.96% | 103–105, 115, 139, 161–163, 65, 78–80, 87–90 |
received_receipt.rs | 83.71% | 100% | 78.05% | 84.59% | 119–121, 131, 215–217, 230–232, 238–240, 247–249, 251–253, 282–284, 319, 333–335, 340, 349–350, 359–360, 382, 396–398 |
Pusher: @aasseman, Action: pull_request
, Working Directory: `, Workflow:
tests`
@severiano-sisneros could we also make sure to add a test to the integration tests to ensure this is consistent across the library? Seems like the best place to ensure the consistency.
Rebased onto main + addressed comments
Pusher: @aasseman, Action: pull_request
, Working Directory: `, Workflow:
tests`
Pusher: @aasseman, Action: pull_request
, Working Directory: `, Workflow:
tests`
Coverage after merging fix_aggregator_timestamp_check into main will be
80.21% |
---|
File | Stmts | Branches | Funcs | Lines | Uncovered Lines |
---|---|---|---|---|---|
tap_aggregator/src | |||||
aggregator.rs | 92.16% | 100% | 100% | 90.48% | 40–43, 53–56 |
api_versioning.rs | 86.21% | 100% | 76.47% | 90.24% | 15–16 |
error_codes.rs | 0% | 100% | 0% | 0% | 13, 27 |
jsonrpsee_helpers.rs | 43.90% | 100% | 33.33% | 48.28% | 44, 51–57, 9 |
lib.rs | 100% | 100% | 100% | 100% | |
main.rs | 3.70% | 100% | 6.67% | 2.56% | 13, 17–18, 22, 26–27, 31–32, 36–37, 41–42, 45–47, 50–57, 60–65, 68–72, 74 |
server.rs | 86.09% | 100% | 100% | 82.22% | 101, 113–117, 137, 69–77 |
tap_core/src | |||||
eip_712_signed_message.rs | 83.78% | 100% | 80% | 85.19% | 58 |
error.rs | 50% | 100% | 50% | 50% | |
lib.rs | 83.33% | 100% | 87.50% | 81.25% | 26 |
receipt_aggregate_voucher.rs | 92.50% | 100% | 87.50% | 93.75% | 23 |
tap_core/src/adapters/test | |||||
collateral_adapter_mock.rs | 88.33% | 100% | 75% | 90.38% | 18, 44–45 |
collateral_adapter_test.rs | 100% | 100% | 100% | 100% | |
rav_storage_adapter_mock.rs | 92% | 100% | 71.43% | 95.35% | 30 |
rav_storage_adapter_test.rs | 100% | 100% | 100% | 100% | |
receipt_checks_adapter_mock.rs | 97.83% | 100% | 100% | 97.50% | 61 |
receipt_checks_adapter_test.rs | 95.83% | 100% | 100% | 95% | 59 |
receipt_storage_adapter_mock.rs | 71.78% | 100% | 57.14% | 74.14% | 111, 130, 134–136, 148, 163–177, 29, 43, 57, 75, 93 |
receipt_storage_adapter_test.rs | 100% | 100% | 100% | 100% | |
tap_core/src/tap_manager | |||||
manager.rs | 82.50% | 100% | 61.54% | 84.35% | 107, 126–129, 136, 185, 200–203, 209, 95 |
rav_request.rs | 0% | 100% | 0% | 0% | 9 |
tap_core/src/tap_manager/test | |||||
manager_test.rs | 100% | 100% | 100% | 100% | |
tap_core/src/tap_receipt | |||||
mod.rs | 46.34% | 100% | 45.45% | 46.67% | 49–59 |
receipt.rs | 88.46% | 100% | 87.50% | 88.89% | 19 |
receipt_auditor.rs | 84.83% | 100% | 83.33% | 84.96% | 103–105, 115, 139, 161–163, 65, 78–80, 87–90 |
received_receipt.rs | 83.71% | 100% | 78.05% | 84.59% | 119–121, 131, 215–217, 230–232, 238–240, 247–249, 251–253, 282–284, 319, 333–335, 340, 349–350, 359–360, 382, 396–398 |
Coverage after merging fix_aggregator_timestamp_check into main will be
80.21% |
---|
File | Stmts | Branches | Funcs | Lines | Uncovered Lines |
---|---|---|---|---|---|
tap_aggregator/src | |||||
aggregator.rs | 92.16% | 100% | 100% | 90.48% | 40–43, 53–56 |
api_versioning.rs | 86.21% | 100% | 76.47% | 90.24% | 15–16 |
error_codes.rs | 0% | 100% | 0% | 0% | 13, 27 |
jsonrpsee_helpers.rs | 43.90% | 100% | 33.33% | 48.28% | 44, 51–57, 9 |
lib.rs | 100% | 100% | 100% | 100% | |
main.rs | 3.70% | 100% | 6.67% | 2.56% | 13, 17–18, 22, 26–27, 31–32, 36–37, 41–42, 45–47, 50–57, 60–65, 68–72, 74 |
server.rs | 86.09% | 100% | 100% | 82.22% | 101, 113–117, 137, 69–77 |
tap_core/src | |||||
eip_712_signed_message.rs | 83.78% | 100% | 80% | 85.19% | 58 |
error.rs | 50% | 100% | 50% | 50% | |
lib.rs | 83.33% | 100% | 87.50% | 81.25% | 26 |
receipt_aggregate_voucher.rs | 92.50% | 100% | 87.50% | 93.75% | 23 |
tap_core/src/adapters/test | |||||
collateral_adapter_mock.rs | 88.33% | 100% | 75% | 90.38% | 18, 44–45 |
collateral_adapter_test.rs | 100% | 100% | 100% | 100% | |
rav_storage_adapter_mock.rs | 92% | 100% | 71.43% | 95.35% | 30 |
rav_storage_adapter_test.rs | 100% | 100% | 100% | 100% | |
receipt_checks_adapter_mock.rs | 97.83% | 100% | 100% | 97.50% | 61 |
receipt_checks_adapter_test.rs | 95.83% | 100% | 100% | 95% | 59 |
receipt_storage_adapter_mock.rs | 71.78% | 100% | 57.14% | 74.14% | 111, 130, 134–136, 148, 163–177, 29, 43, 57, 75, 93 |
receipt_storage_adapter_test.rs | 100% | 100% | 100% | 100% | |
tap_core/src/tap_manager | |||||
manager.rs | 82.50% | 100% | 61.54% | 84.35% | 107, 126–129, 136, 185, 200–203, 209, 95 |
rav_request.rs | 0% | 100% | 0% | 0% | 9 |
tap_core/src/tap_manager/test | |||||
manager_test.rs | 100% | 100% | 100% | 100% | |
tap_core/src/tap_receipt | |||||
mod.rs | 46.34% | 100% | 45.45% | 46.67% | 49–59 |
receipt.rs | 88.46% | 100% | 87.50% | 88.89% | 19 |
receipt_auditor.rs | 84.83% | 100% | 83.33% | 84.96% | 103–105, 115, 139, 161–163, 65, 78–80, 87–90 |
received_receipt.rs | 83.71% | 100% | 78.05% | 84.59% | 119–121, 131, 215–217, 230–232, 238–240, 247–249, 251–253, 282–284, 319, 333–335, 340, 349–350, 359–360, 382, 396–398 |
Added #117 to confirm consistent behavior throughout the library.
Fixes #115