aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-25 13:51:12 +0900
committernsfisis <nsfisis@gmail.com>2026-06-25 23:47:47 +0900
commit06cee6c62b9c4fe9ec275283526c3093ceddd918 (patch)
tree1ec4b754d4346cad0c5f46750798206b9c8e9350 /crates/shirabe
parent4573629d9fc7321171cd8b134e68869950b02045 (diff)
downloadphp-shirabe-06cee6c62b9c4fe9ec275283526c3093ceddd918.tar.gz
php-shirabe-06cee6c62b9c4fe9ec275283526c3093ceddd918.tar.zst
php-shirabe-06cee6c62b9c4fe9ec275283526c3093ceddd918.zip
test: un-ignore tests that now pass
Remove #[ignore] from 18 tests across array_loader, package_sorter, svn, pool_optimizer, and html_output_formatter that pass now that their implementations are in place. Verified under parallel execution. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe')
-rw-r--r--crates/shirabe/tests/console/html_output_formatter_test.rs1
-rw-r--r--crates/shirabe/tests/dependency_resolver/pool_optimizer_test.rs1
-rw-r--r--crates/shirabe/tests/package/loader/array_loader_test.rs10
-rw-r--r--crates/shirabe/tests/util/package_sorter_test.rs1
-rw-r--r--crates/shirabe/tests/util/svn_test.rs5
5 files changed, 0 insertions, 18 deletions
diff --git a/crates/shirabe/tests/console/html_output_formatter_test.rs b/crates/shirabe/tests/console/html_output_formatter_test.rs
index 2274ffe..31bd460 100644
--- a/crates/shirabe/tests/console/html_output_formatter_test.rs
+++ b/crates/shirabe/tests/console/html_output_formatter_test.rs
@@ -7,7 +7,6 @@ use shirabe_external_packages::symfony::console::formatter::{
};
#[test]
-#[ignore]
fn test_formatting() {
let mut styles: IndexMap<String, Box<dyn OutputFormatterStyleInterface>> = IndexMap::new();
styles.insert(
diff --git a/crates/shirabe/tests/dependency_resolver/pool_optimizer_test.rs b/crates/shirabe/tests/dependency_resolver/pool_optimizer_test.rs
index 408c191..b5f70a1 100644
--- a/crates/shirabe/tests/dependency_resolver/pool_optimizer_test.rs
+++ b/crates/shirabe/tests/dependency_resolver/pool_optimizer_test.rs
@@ -254,7 +254,6 @@ fn run_test_pool_optimizer(
);
}
-#[ignore]
#[test]
fn test_pool_optimizer() {
let tests = provide_integration_tests();
diff --git a/crates/shirabe/tests/package/loader/array_loader_test.rs b/crates/shirabe/tests/package/loader/array_loader_test.rs
index b006f15..d975033 100644
--- a/crates/shirabe/tests/package/loader/array_loader_test.rs
+++ b/crates/shirabe/tests/package/loader/array_loader_test.rs
@@ -111,7 +111,6 @@ fn fix_config_when_load_config_is_false(
expected_config
}
-#[ignore]
#[test]
fn test_self_version() {
let loader = set_up();
@@ -165,7 +164,6 @@ fn test_normalized_version_optimization() {
assert_eq!("1.2.3.4", package.get_version());
}
-#[ignore]
#[test]
fn test_parse_dump_default_load_config() {
let loader = set_up();
@@ -176,7 +174,6 @@ fn test_parse_dump_default_load_config() {
assert_eq!(expected_config, dumper.dump(package));
}
-#[ignore]
#[test]
fn test_parse_dump_true_load_config() {
let config = valid_config();
@@ -187,7 +184,6 @@ fn test_parse_dump_true_load_config() {
assert_eq!(expected_config, dumper.dump(package));
}
-#[ignore]
#[test]
fn test_parse_dump_false_load_config() {
let config = valid_config();
@@ -388,7 +384,6 @@ fn provide_plugin_api_versions() -> Vec<&'static str> {
]
}
-#[ignore]
#[test]
fn test_plugin_api_version_are_kept_as_declared() {
let loader = set_up();
@@ -414,7 +409,6 @@ fn test_plugin_api_version_are_kept_as_declared() {
}
}
-#[ignore]
#[test]
fn test_plugin_api_version_does_support_self_version() {
let loader = set_up();
@@ -438,7 +432,6 @@ fn test_plugin_api_version_does_support_self_version() {
);
}
-#[ignore]
#[test]
fn test_parse_links_integer_target() {
let loader = set_up();
@@ -454,7 +447,6 @@ fn test_parse_links_integer_target() {
assert!(links.contains_key("1"));
}
-#[ignore]
#[test]
fn test_parse_links_invalid_version() {
let loader = set_up();
@@ -532,7 +524,6 @@ fn test_branch_alias_integer_index() {
assert_eq!(None, loader.get_branch_alias(&config).unwrap());
}
-#[ignore]
#[test]
fn test_package_links_require() {
let loader = set_up();
@@ -571,7 +562,6 @@ fn test_package_links_require_invalid() {
assert_eq!(0, package.get_requires().len());
}
-#[ignore]
#[test]
fn test_package_links_replace() {
let loader = set_up();
diff --git a/crates/shirabe/tests/util/package_sorter_test.rs b/crates/shirabe/tests/util/package_sorter_test.rs
index 0a8d395..aeb94e7 100644
--- a/crates/shirabe/tests/util/package_sorter_test.rs
+++ b/crates/shirabe/tests/util/package_sorter_test.rs
@@ -141,7 +141,6 @@ fn sorting_orders_dependencies_higher_than_package_cases() -> Vec<(
}
#[test]
-#[ignore]
fn test_sorting_orders_dependencies_higher_than_package() {
for (packages, expected_ordered_list, weights) in
sorting_orders_dependencies_higher_than_package_cases()
diff --git a/crates/shirabe/tests/util/svn_test.rs b/crates/shirabe/tests/util/svn_test.rs
index 25e3f4e..7a30d8b 100644
--- a/crates/shirabe/tests/util/svn_test.rs
+++ b/crates/shirabe/tests/util/svn_test.rs
@@ -42,7 +42,6 @@ fn url_provider() -> Vec<(&'static str, Vec<&'static str>)> {
}
#[test]
-#[ignore]
fn test_credentials() {
for (url, expect) in url_provider() {
let io: Rc<RefCell<dyn IOInterface>> = Rc::new(RefCell::new(NullIO::new()));
@@ -55,7 +54,6 @@ fn test_credentials() {
}
#[test]
-#[ignore]
fn test_interactive_string() {
let url = "http://svn.example.org";
@@ -76,7 +74,6 @@ fn test_interactive_string() {
}
#[test]
-#[ignore]
fn test_credentials_from_config() {
let url = "http://svn.apache.org";
@@ -98,7 +95,6 @@ fn test_credentials_from_config() {
}
#[test]
-#[ignore]
fn test_credentials_from_config_with_cache_credentials_true() {
let url = "http://svn.apache.org";
@@ -121,7 +117,6 @@ fn test_credentials_from_config_with_cache_credentials_true() {
}
#[test]
-#[ignore]
fn test_credentials_from_config_with_cache_credentials_false() {
let url = "http://svn.apache.org";