aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-25 14:50:26 +0900
committernsfisis <nsfisis@gmail.com>2026-06-26 00:19:42 +0900
commit230319ae3db47ed9c35dc7faa733a84f9ce87ff9 (patch)
treec6dafdf30946048112e1a7e75799ab442616a53a /crates/shirabe/tests/util
parent9c6f614aa6ddb5d91340e34b0136be6a14712d63 (diff)
downloadphp-shirabe-230319ae3db47ed9c35dc7faa733a84f9ce87ff9.tar.gz
php-shirabe-230319ae3db47ed9c35dc7faa733a84f9ce87ff9.tar.zst
php-shirabe-230319ae3db47ed9c35dc7faa733a84f9ce87ff9.zip
test: un-ignore tests unblocked by zip/spdx/jsonlint/stream impls
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/util')
-rw-r--r--crates/shirabe/tests/util/config_validator_test.rs3
-rw-r--r--crates/shirabe/tests/util/stream_context_factory_test.rs1
-rw-r--r--crates/shirabe/tests/util/zip_test.rs8
3 files changed, 0 insertions, 12 deletions
diff --git a/crates/shirabe/tests/util/config_validator_test.rs b/crates/shirabe/tests/util/config_validator_test.rs
index 2e4aed0..4f25535 100644
--- a/crates/shirabe/tests/util/config_validator_test.rs
+++ b/crates/shirabe/tests/util/config_validator_test.rs
@@ -29,7 +29,6 @@ fn validate(file: &str) -> Vec<String> {
/// Test ConfigValidator warns on commit reference
#[test]
-#[ignore]
fn test_config_validator_commit_ref_warning() {
let warnings = validate(&fixture("composer_commit-ref.json"));
@@ -39,7 +38,6 @@ fn test_config_validator_commit_ref_warning() {
}
#[test]
-#[ignore]
fn test_config_validator_warns_on_script_description_for_nonexistent_script() {
let warnings = validate(&fixture("composer_scripts-descriptions.json"));
@@ -52,7 +50,6 @@ fn test_config_validator_warns_on_script_description_for_nonexistent_script() {
}
#[test]
-#[ignore]
fn test_config_validator_warns_on_script_alias_for_nonexistent_script() {
let warnings = validate(&fixture("composer_scripts-aliases.json"));
diff --git a/crates/shirabe/tests/util/stream_context_factory_test.rs b/crates/shirabe/tests/util/stream_context_factory_test.rs
index 6491883..ad123aa 100644
--- a/crates/shirabe/tests/util/stream_context_factory_test.rs
+++ b/crates/shirabe/tests/util/stream_context_factory_test.rs
@@ -339,7 +339,6 @@ fn test_ssl_proxy() {
}
#[test]
-#[ignore]
fn test_ensure_thatfix_http_header_field_moves_content_type_to_end_of_options() {
let _tear_down = TearDown;
set_up();
diff --git a/crates/shirabe/tests/util/zip_test.rs b/crates/shirabe/tests/util/zip_test.rs
index 4d883e0..0c7d96a 100644
--- a/crates/shirabe/tests/util/zip_test.rs
+++ b/crates/shirabe/tests/util/zip_test.rs
@@ -18,7 +18,6 @@ fn test_throws_exception_if_zip_extension_is_not_loaded() {
}
#[test]
-#[ignore]
fn test_returns_nullif_the_zip_is_not_found() {
let result = Zip::get_composer_json(&fixture("invalid.zip")).unwrap();
@@ -26,7 +25,6 @@ fn test_returns_nullif_the_zip_is_not_found() {
}
#[test]
-#[ignore]
fn test_returns_null_if_the_zip_is_empty() {
let result = Zip::get_composer_json(&fixture("empty.zip")).unwrap();
@@ -34,19 +32,16 @@ fn test_returns_null_if_the_zip_is_empty() {
}
#[test]
-#[ignore]
fn test_throws_exception_if_the_zip_has_no_composer_json() {
assert!(Zip::get_composer_json(&fixture("nojson.zip")).is_err());
}
#[test]
-#[ignore]
fn test_throws_exception_if_the_composer_json_is_in_a_sub_subfolder() {
assert!(Zip::get_composer_json(&fixture("subfolders.zip")).is_err());
}
#[test]
-#[ignore]
fn test_returns_composer_json_in_zip_root() {
let result = Zip::get_composer_json(&fixture("root.zip")).unwrap();
@@ -57,7 +52,6 @@ fn test_returns_composer_json_in_zip_root() {
}
#[test]
-#[ignore]
fn test_returns_composer_json_in_first_folder() {
let result = Zip::get_composer_json(&fixture("folder.zip")).unwrap();
@@ -68,13 +62,11 @@ fn test_returns_composer_json_in_first_folder() {
}
#[test]
-#[ignore]
fn test_multiple_top_level_dirs_is_invalid() {
assert!(Zip::get_composer_json(&fixture("multiple.zip")).is_err());
}
#[test]
-#[ignore]
fn test_returns_composer_json_from_first_subfolder() {
let result = Zip::get_composer_json(&fixture("single-sub.zip")).unwrap();