Bump petitparser from 5.4.0 to 6.0.2 #54
GitHub Actions / Test report
succeeded
Feb 5, 2024 in 1s
151 passed, 0 failed and 0 skipped
✅ reports/test-results.json
158 tests were completed in 6s with 151 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/src/armor_test.dart | 6✅ | 213ms | ||
test/src/encoding_test.dart | 4✅ | 58ms | ||
test/src/file_test.dart | 5✅ | 463ms | ||
test/src/header_test.dart | 3✅ | 175ms | ||
test/src/keypair_test.dart | 1✅ | 28ms | ||
test/src/plugin_test.dart | 1✅ | 24ms | ||
test/src/scrypt_test.dart | 5✅ | 45ms | ||
test/src/stanza_test.dart | 2✅ | 162ms | ||
test/src/stream_test.dart | 4✅ | 55ms | ||
test/src/testkit/testkit_test.dart | 114✅ | 2s | ||
test/src/x25519_test.dart | 6✅ | 138ms |
✅ test/src/armor_test.dart
✅ Can parse armored
✅ Fails when parsing prepended garbage
✅ Fails when parsing appended garbage
✅ Can write armored
✅ Armored file is armored
✅ Not armored file is not armored
✅ test/src/encoding_test.dart
✅ raw base64 MUST reject normal base64 with padding
✅ can decode unpadded base64
✅ can encode bytes to raw base64
✅ creates chunks from a list
✅ test/src/file_test.dart
(setUpAll)
✅ encrypt
✅ decrypt
✅ encrypts and decrypts multiple chunks
✅ encrypts and decrypts with passphrase
✅ only one stanza is allowed when decrypting with a password
✅ test/src/header_test.dart
(setUpAll)
✅ header
✅ parse header
✅ incorrect version
✅ test/src/keypair_test.dart
(setUpAll)
✅ keypair to string
✅ test/src/plugin_test.dart
✅ Plugins can be added
✅ test/src/scrypt_test.dart
(setUpAll)
✅ parse stanza
✅ MUST ignore if tag is not scrypt
✅ MUST reject if arguments length is not 3
✅ MUST reject if second argument is not 16 bytes
✅ MUST reject if body is not 32 bytes
✅ test/src/stanza_test.dart
(setUpAll)
✅ create age recipient stanza
✅ parse age recipient stanza
✅ test/src/stream_test.dart
(setUpAll)
✅ parses header
✅ parses complex header
✅ parses payload after header, removes newline
✅ mac is part of the header
✅ test/src/testkit/testkit_test.dart
testkit
✅ stanza_empty_last_line should succeed
✅ stanza_empty_body should succeed
✅ stream_empty_payload should succeed
✅ stream_last_chunk_full should succeed
✅ armor_no_eol should succeed
✅ x25519_multiple_recipients should succeed
✅ armor_whitespace_outside should succeed
✅ x25519_grease should succeed
✅ armor_full_last_line should succeed
✅ stream_three_chunks should succeed
✅ scrypt should succeed
✅ stanza_valid_characters should succeed
✅ stream_last_chunk_full_second should succeed
✅ x25519 should succeed
✅ armor should succeed
✅ armor_crlf should succeed
✅ stream_two_chunks should succeed
✅ stream_short_nonce should fail
✅ hmac_no_space should fail
✅ scrypt_work_factor_wrong should fail
✅ scrypt_uppercase should fail
✅ armor_whitespace_end should fail
✅ stanza_base64_padding should fail
✅ armor_garbage_encoded should fail
✅ armor_whitespace_last_line should fail
✅ stream_trailing_garbage_long should fail
✅ scrypt_extra_argument should fail
✅ x25519_low_order should fail
✅ version_unsupported should fail
✅ stanza_not_canonical should fail
✅ armor_eol_between_padding should fail
✅ x25519_extra_argument should fail
✅ scrypt_work_factor_hex should fail
✅ scrypt_work_factor_23 should fail
✅ scrypt_double should fail
✅ stream_bad_tag_second_chunk should fail
✅ scrypt_work_factor_leading_garbage should fail
✅ stanza_no_arguments should fail
✅ scrypt_work_factor_leading_zero_decimal should fail
✅ stream_two_final_chunks should fail
✅ scrypt_no_match should fail
✅ scrypt_and_x25519 should fail
✅ stanza_spurious_cr should fail
✅ scrypt_work_factor_leading_zero_octal should fail
✅ scrypt_work_factor_negative should fail
✅ armor_short_line should fail
✅ scrypt_work_factor_trailing_garbage should fail
✅ armor_no_padding should fail
✅ stanza_empty_argument should fail
✅ hmac_bad should fail
✅ scrypt_long_file_key should fail
✅ armor_whitespace_begin should fail
✅ stream_no_final should fail
✅ armor_empty_line_end should fail
✅ hmac_trailing_space should fail
✅ stream_missing_tag should fail
✅ x25519_short_share should fail
✅ armor_pgp_checksum should fail
✅ stanza_multiple_short_lines should fail
✅ scrypt_salt_long should fail
✅ header_crlf should fail
✅ armor_wrong_type should fail
✅ scrypt_not_canonical_salt should fail
✅ stanza_long_line should fail
✅ stanza_missing_final_line should fail
✅ stanza_invalid_character should fail
✅ x25519_identity should fail
✅ armor_whitespace_line_start should fail
✅ armor_no_end_line should fail
✅ hmac_extra_space should fail
✅ scrypt_salt_missing should fail
✅ stream_last_chunk_empty should fail
✅ stream_bad_tag_second_chunk_full should fail
✅ x25519_bad_tag should fail
✅ stanza_missing_body should fail
✅ stream_short_chunk should fail
✅ x25519_lowercase should fail
✅ x25519_long_file_key should fail
✅ scrypt_work_factor_zero should fail
✅ scrypt_work_factor_leading_plus should fail
✅ stream_no_final_two_chunks_full should fail
✅ scrypt_bad_tag should fail
✅ scrypt_work_factor_missing should fail
✅ scrypt_work_factor_overflow should fail
✅ hmac_garbage should fail
✅ x25519_not_canonical_body should fail
✅ stream_no_final_full should fail
✅ armor_whitespace_eol should fail
✅ armor_garbage_leading should fail
✅ armor_header_crlf should fail
✅ hmac_missing should fail
✅ stream_no_final_two_chunks should fail
✅ armor_invalid_character_header should fail
✅ stream_bad_tag should fail
✅ armor_not_canonical should fail
✅ scrypt_not_canonical_body should fail
✅ armor_no_match should fail
✅ stream_no_chunks should fail
✅ hmac_not_canonical should fail
✅ stream_no_nonce should fail
✅ x25519_long_share should fail
✅ armor_garbage_trailing should fail
✅ stream_short_second_chunk should fail
✅ x25519_not_canonical_share should fail
✅ armor_empty_line_begin should fail
✅ scrypt_salt_short should fail
✅ armor_lowercase should fail
✅ armor_long_line should fail
✅ stanza_bad_start should fail
✅ x25519_no_match should fail
✅ armor_headers should fail
✅ stream_trailing_garbage_short should fail
✅ armor_invalid_character_payload should fail
✅ hmac_truncated should fail
✅ test/src/x25519_test.dart
(setUpAll)
✅ calculates recipient from identity
✅ MUST ignore if tag is not X25519
✅ MUST reject if arguments length is not 2
✅ MUST reject if second argument is not 32 bytes
✅ MUST reject if body is not 32 bytes
✅ can parse stanza if formed correctly
Loading