From 65449d1e36959f67f630fd07de50813787ff735e Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:54:13 -0800 Subject: [PATCH 1/7] Apply suggested fix to tests/wasm32.rs from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> --- tests/wasm32.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/wasm32.rs b/tests/wasm32.rs index 75d9a3187..39da95154 100644 --- a/tests/wasm32.rs +++ b/tests/wasm32.rs @@ -54,6 +54,7 @@ fn test_decompress_lzma() { // Without that feature enabled, running these tests will fail with "time not implemented on this platform". mod end_to_end; #[wasm_bindgen_test] +/// Runs the end-to-end integration test suite for wasm32, covering time-dependent behavior. fn test_end_to_end() { end_to_end::end_to_end(); } From 260027dd53dc7a57cd05e7372fff268b2f565a72 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:54:13 -0800 Subject: [PATCH 2/7] Apply suggested fix to tests/wasm32.rs from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> --- tests/wasm32.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/wasm32.rs b/tests/wasm32.rs index 39da95154..3273e5f42 100644 --- a/tests/wasm32.rs +++ b/tests/wasm32.rs @@ -43,6 +43,7 @@ fn test_decompress_xz() { } mod lzma; +/// Test LZMA decompression functionality in the wasm32 environment. #[cfg(feature = "lzma")] #[wasm_bindgen_test] fn test_decompress_lzma() { From 0ee044f41ba51728d9937365614f6eb0f341b9b3 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:54:14 -0800 Subject: [PATCH 3/7] Apply suggested fix to tests/wasm32.rs from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> --- tests/wasm32.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/wasm32.rs b/tests/wasm32.rs index 3273e5f42..ab71c469f 100644 --- a/tests/wasm32.rs +++ b/tests/wasm32.rs @@ -37,6 +37,7 @@ fn test_decompress_deflate64() { mod xz; #[cfg(feature = "xz")] +/// Test XZ decompression functionality. #[wasm_bindgen_test] fn test_decompress_xz() { xz::decompress_xz(); From bd5c779460fbb6b3516257ddc9f2ffa7fdc11bd4 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:54:14 -0800 Subject: [PATCH 4/7] Apply suggested fix to tests/wasm32.rs from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> --- tests/wasm32.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/wasm32.rs b/tests/wasm32.rs index ab71c469f..eb630e9b5 100644 --- a/tests/wasm32.rs +++ b/tests/wasm32.rs @@ -29,6 +29,7 @@ fn test_aes256_encrypted_uncompressed_file() { } mod deflate64; +/// Test Deflate64 decompression functionality. #[cfg(feature = "deflate64")] #[wasm_bindgen_test] fn test_decompress_deflate64() { From 499d311f1f310374f2809206411e31e74c36f612 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:54:14 -0800 Subject: [PATCH 5/7] Apply suggested fix to tests/wasm32.rs from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> --- tests/wasm32.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/wasm32.rs b/tests/wasm32.rs index eb630e9b5..e591830e9 100644 --- a/tests/wasm32.rs +++ b/tests/wasm32.rs @@ -21,7 +21,11 @@ use wasm_bindgen_test::wasm_bindgen_test; mod aes_encryption; -/// Test AES encryption functionality - run with: wasm-pack test --headless --chrome --features aes-crypto +/// Verifies AES-256 encryption and decryption of an uncompressed file in the `wasm32` environment. +/// The test ensures that data encrypted with AES-256 can be correctly decrypted back to its original +/// contents using the WebAssembly build of the library. +/// +/// Run with: `wasm-pack test --headless --chrome --features aes-crypto` #[cfg(feature = "aes-crypto")] #[wasm_bindgen_test] fn test_aes256_encrypted_uncompressed_file() { From 74860a70356576d6f453e547f156361fa1e17897 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 4 Feb 2026 16:54:30 -0800 Subject: [PATCH 6/7] Update tests/wasm32.rs Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> --- tests/wasm32.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wasm32.rs b/tests/wasm32.rs index e591830e9..d1b6a2d8a 100644 --- a/tests/wasm32.rs +++ b/tests/wasm32.rs @@ -60,8 +60,8 @@ fn test_decompress_lzma() { // that must be compiled with its `wasm-bindgen` feature when targeting `wasm32`. // Without that feature enabled, running these tests will fail with "time not implemented on this platform". mod end_to_end; -#[wasm_bindgen_test] /// Runs the end-to-end integration test suite for wasm32, covering time-dependent behavior. +#[wasm_bindgen_test] fn test_end_to_end() { end_to_end::end_to_end(); } From d236e8571140ac39dbc7a7d8d7bc5d9da57290f5 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 4 Feb 2026 16:54:40 -0800 Subject: [PATCH 7/7] Update tests/wasm32.rs Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> --- tests/wasm32.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wasm32.rs b/tests/wasm32.rs index d1b6a2d8a..c1a052709 100644 --- a/tests/wasm32.rs +++ b/tests/wasm32.rs @@ -41,8 +41,8 @@ fn test_decompress_deflate64() { } mod xz; -#[cfg(feature = "xz")] /// Test XZ decompression functionality. +#[cfg(feature = "xz")] #[wasm_bindgen_test] fn test_decompress_xz() { xz::decompress_xz();