diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-22 02:33:21 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-22 02:34:14 +0900 |
| commit | 9506cfafe29417a5c4149cf618f7e8c79d463e4e (patch) | |
| tree | 357f8ef9b0436c6aee9c1b883c1f8223f83520ea /crates/shirabe/tests | |
| parent | 822d9a872807a92a5337ee8b7bab96dc9845cdbb (diff) | |
| download | php-shirabe-9506cfafe29417a5c4149cf618f7e8c79d463e4e.tar.gz php-shirabe-9506cfafe29417a5c4149cf618f7e8c79d463e4e.tar.zst php-shirabe-9506cfafe29417a5c4149cf618f7e8c79d463e4e.zip | |
test: un-ignore tests that now pass
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests')
18 files changed, 0 insertions, 87 deletions
diff --git a/crates/shirabe/tests/advisory/audit_config_test.rs b/crates/shirabe/tests/advisory/audit_config_test.rs index 008fb4f..30bbb92 100644 --- a/crates/shirabe/tests/advisory/audit_config_test.rs +++ b/crates/shirabe/tests/advisory/audit_config_test.rs @@ -35,7 +35,6 @@ fn audit_config_from(audit_section: PhpMixed) -> anyhow::Result<AuditConfig> { } #[test] -#[ignore = "Config::merge reaches array_merge, a todo!() in the php-shim"] fn test_simple_format() { let audit_config = audit_config_from(arr(vec![( "ignore", @@ -54,7 +53,6 @@ fn test_simple_format() { } #[test] -#[ignore = "Config::merge reaches array_merge, a todo!() in the php-shim"] fn test_detailed_format_audit_only() { let audit_config = audit_config_from(arr(vec![( "ignore", @@ -76,7 +74,6 @@ fn test_detailed_format_audit_only() { } #[test] -#[ignore = "Config::merge reaches array_merge, a todo!() in the php-shim"] fn test_detailed_format_block_only() { let audit_config = audit_config_from(arr(vec![( "ignore", @@ -136,7 +133,6 @@ fn test_mixed_formats() { } #[test] -#[ignore = "Config::merge reaches array_merge, a todo!() in the php-shim"] fn test_ignore_severity_simple_array() { let audit_config = audit_config_from(arr(vec![( "ignore-severity", @@ -155,7 +151,6 @@ fn test_ignore_severity_simple_array() { } #[test] -#[ignore = "Config::merge reaches array_merge, a todo!() in the php-shim"] fn test_ignore_severity_detailed_format() { let audit_config = audit_config_from(arr(vec![( "ignore-severity", @@ -183,7 +178,6 @@ fn test_ignore_severity_detailed_format() { } #[test] -#[ignore = "Config::merge reaches array_merge, a todo!() in the php-shim"] fn test_ignore_abandoned_simple_format() { let audit_config = audit_config_from(arr(vec![( "ignore-abandoned", @@ -202,7 +196,6 @@ fn test_ignore_abandoned_simple_format() { } #[test] -#[ignore = "Config::merge reaches array_merge, a todo!() in the php-shim"] fn test_ignore_abandoned_detailed_format() { let audit_config = audit_config_from(arr(vec![( "ignore-abandoned", @@ -236,7 +229,6 @@ fn test_ignore_abandoned_detailed_format() { } #[test] -#[ignore = "Config::merge reaches array_merge, a todo!() in the php-shim"] fn test_invalid_apply_value() { let result = audit_config_from(arr(vec![( "ignore", diff --git a/crates/shirabe/tests/advisory/auditor_test.rs b/crates/shirabe/tests/advisory/auditor_test.rs index 038c675..7e02db8 100644 --- a/crates/shirabe/tests/advisory/auditor_test.rs +++ b/crates/shirabe/tests/advisory/auditor_test.rs @@ -88,7 +88,6 @@ fn test_audit_with_ignore_severity() { } #[test] -#[ignore] fn test_needs_complete_advisory_load() { let cases: Vec<( IndexMap<String, Vec<AnySecurityAdvisory>>, diff --git a/crates/shirabe/tests/command/init_command_test.rs b/crates/shirabe/tests/command/init_command_test.rs index 7c296a0..589afc5 100644 --- a/crates/shirabe/tests/command/init_command_test.rs +++ b/crates/shirabe/tests/command/init_command_test.rs @@ -35,7 +35,6 @@ fn test_parse_author_string_with_invalid_email() { todo!() } -#[ignore] #[test] fn test_namespace_from_valid_package_name() { set_up(); @@ -48,7 +47,6 @@ fn test_namespace_from_valid_package_name() { ); } -#[ignore] #[test] fn test_namespace_from_invalid_package_name() { set_up(); @@ -58,7 +56,6 @@ fn test_namespace_from_invalid_package_name() { assert_eq!(None, namespace); } -#[ignore] #[test] fn test_namespace_from_missing_package_name() { set_up(); diff --git a/crates/shirabe/tests/config_test.rs b/crates/shirabe/tests/config_test.rs index 956e76b..fb40cac 100644 --- a/crates/shirabe/tests/config_test.rs +++ b/crates/shirabe/tests/config_test.rs @@ -183,7 +183,6 @@ fn test_add_packagist_repository() { // htaccess-protect, var/realpath replacement, oauth, audit, ...) without the env isolation // their setUp/tearDown provides, or exercise plugin-config merge details. They are not // ported yet. -#[ignore] #[test] fn test_preferred_install_as_string() { let mut config = Config::new(false, None); @@ -208,7 +207,6 @@ fn test_preferred_install_as_string() { ); } -#[ignore] #[test] fn test_merge_preferred_install() { let mut config = Config::new(false, None); @@ -240,7 +238,6 @@ fn test_merge_preferred_install() { } } -#[ignore] #[test] fn test_merge_github_oauth() { let mut config = Config::new(false, None); @@ -269,7 +266,6 @@ fn test_merge_github_oauth() { } } -#[ignore] #[test] fn test_var_replacement() { let mut config = Config::new(false, None); @@ -301,7 +297,6 @@ fn test_var_replacement() { ); } -#[ignore] #[test] fn test_realpath_replacement() { let mut config = Config::new(false, Some("/foo/bar".to_string())); @@ -333,7 +328,6 @@ fn test_realpath_replacement() { ); } -#[ignore] #[test] fn test_stream_wrapper_dirs() { let mut config = Config::new(false, Some("/foo/bar".to_string())); @@ -351,7 +345,6 @@ fn test_stream_wrapper_dirs() { ); } -#[ignore] #[test] fn test_fetching_relative_paths() { let mut config = Config::new(false, Some("/foo/bar".to_string())); @@ -466,7 +459,6 @@ fn test_allowed_urls_pass() { } } -#[ignore] #[test] fn test_prohibited_urls_throw_exception() { let urls = vec![ @@ -516,7 +508,6 @@ fn test_disable_tls_can_be_overridden() { assert_eq!(PhpMixed::Bool(true), config.get("disable-tls")); } -#[ignore] #[test] fn test_process_timeout() { Platform::put_env("COMPOSER_PROCESS_TIMEOUT", "0"); @@ -538,7 +529,6 @@ fn test_htaccess_protect() { assert_eq!(PhpMixed::Bool(false), result); } -#[ignore] #[test] fn test_get_source_of_value() { Platform::clear_env("COMPOSER_PROCESS_TIMEOUT"); @@ -561,7 +551,6 @@ fn test_get_source_of_value() { ); } -#[ignore] #[test] fn test_get_source_of_value_env_variables() { Platform::put_env("COMPOSER_HTACCESS_PROTECT", "0"); @@ -572,7 +561,6 @@ fn test_get_source_of_value_env_variables() { assert_eq!("COMPOSER_HTACCESS_PROTECT", result.as_str()); } -#[ignore] #[test] fn test_audit() { let mut config = Config::new(true, None); @@ -659,7 +647,6 @@ fn test_audit() { assert_eq!(Some(&PhpMixed::Bool(false)), result.get("block-abandoned")); } -#[ignore] #[test] fn test_get_defaults_to_an_empty_array() { let config = Config::new(true, None); @@ -681,7 +668,6 @@ fn test_get_defaults_to_an_empty_array() { } } -#[ignore] #[test] fn test_merges_plugin_config() { let mut config = Config::new(false, None); @@ -718,7 +704,6 @@ fn test_merges_plugin_config() { } } -#[ignore] #[test] fn test_overrides_global_boolean_plugins_config() { let mut config = Config::new(false, None); @@ -744,7 +729,6 @@ fn test_overrides_global_boolean_plugins_config() { } } -#[ignore] #[test] fn test_allows_all_plugins_from_local_boolean() { let mut config = Config::new(false, None); diff --git a/crates/shirabe/tests/dependency_resolver/rule_set_test.rs b/crates/shirabe/tests/dependency_resolver/rule_set_test.rs index f1e573e..c1faa11 100644 --- a/crates/shirabe/tests/dependency_resolver/rule_set_test.rs +++ b/crates/shirabe/tests/dependency_resolver/rule_set_test.rs @@ -45,7 +45,6 @@ fn iterator_count(mut iterator: shirabe::dependency_resolver::RuleSetIterator) - } #[test] -#[ignore = "RuleSet::add computes Rule::get_hash, which reaches hash_raw (todo!()) in the php-shim"] fn test_add() { let request0 = rule(vec![1]); let request1 = rule(vec![2]); @@ -78,7 +77,6 @@ fn test_add() { } #[test] -#[ignore = "RuleSet::add computes Rule::get_hash, which reaches hash_raw (todo!()) in the php-shim"] fn test_add_ignores_duplicates() { let mut rule_set = RuleSet::new(); rule_set.add(rule(vec![]), RuleSet::TYPE_REQUEST).unwrap(); @@ -100,7 +98,6 @@ fn test_add_when_type_is_not_recognized() { } #[test] -#[ignore = "RuleSet::add computes Rule::get_hash, which reaches hash_raw (todo!()) in the php-shim"] fn test_count() { let mut rule_set = RuleSet::new(); rule_set.add(rule(vec![1]), RuleSet::TYPE_REQUEST).unwrap(); @@ -110,7 +107,6 @@ fn test_count() { } #[test] -#[ignore = "RuleSet::add computes Rule::get_hash, which reaches hash_raw (todo!()) in the php-shim"] fn test_rule_by_id() { let mut rule_set = RuleSet::new(); let rule = rule(vec![]); @@ -120,7 +116,6 @@ fn test_rule_by_id() { } #[test] -#[ignore = "RuleSet::add computes Rule::get_hash, which reaches hash_raw (todo!()) in the php-shim"] fn test_get_iterator() { let mut rule_set = RuleSet::new(); let rule1 = rule(vec![1]); @@ -135,7 +130,6 @@ fn test_get_iterator() { } #[test] -#[ignore = "RuleSet::add computes Rule::get_hash, which reaches hash_raw (todo!()) in the php-shim"] fn test_get_iterator_for() { let mut rule_set = RuleSet::new(); let rule1 = rule(vec![1]); @@ -148,7 +142,6 @@ fn test_get_iterator_for() { } #[test] -#[ignore = "RuleSet::add computes Rule::get_hash, which reaches hash_raw (todo!()) in the php-shim"] fn test_get_iterator_without() { let mut rule_set = RuleSet::new(); let rule1 = rule(vec![1]); @@ -164,7 +157,6 @@ fn test_get_iterator_without() { // "No package found" branch is taken; the RepositorySet/Request collaborators are never // actually consulted (PHP mocks them with the constructor disabled). #[test] -#[ignore] fn test_pretty_string() { let p = get_package("foo", "2.1"); let mut pool = Pool::new( diff --git a/crates/shirabe/tests/dependency_resolver/rule_test.rs b/crates/shirabe/tests/dependency_resolver/rule_test.rs index 156931c..8216848 100644 --- a/crates/shirabe/tests/dependency_resolver/rule_test.rs +++ b/crates/shirabe/tests/dependency_resolver/rule_test.rs @@ -26,7 +26,6 @@ fn generic_rule(literals: Vec<i64>) -> Rule { )) } -#[ignore] #[test] fn test_get_hash() { let rule = generic_rule(vec![123]); @@ -108,7 +107,6 @@ fn test_is_assertions() { // PHP mocks RepositorySet and Request with the constructor disabled; the RULE_PACKAGE_REQUIRES // branch with a non-empty requires list never consults them, so real minimal instances suffice. -#[ignore] #[test] fn test_pretty_string() { let p1 = get_package("foo", "2.1"); diff --git a/crates/shirabe/tests/dependency_resolver/security_advisory_pool_filter_test.rs b/crates/shirabe/tests/dependency_resolver/security_advisory_pool_filter_test.rs index 1232241..98ac131 100644 --- a/crates/shirabe/tests/dependency_resolver/security_advisory_pool_filter_test.rs +++ b/crates/shirabe/tests/dependency_resolver/security_advisory_pool_filter_test.rs @@ -32,7 +32,6 @@ fn test_dont_filter_packages_with_block_insecure_disabled() { todo!() } -#[ignore] #[test] fn test_dont_filter_packages_with_abandoned_package() { let package_name_ignore_abandoned = "acme/ignore-abandoned"; diff --git a/crates/shirabe/tests/installer/installer_event_test.rs b/crates/shirabe/tests/installer/installer_event_test.rs index 8d75fb7..8a85cab 100644 --- a/crates/shirabe/tests/installer/installer_event_test.rs +++ b/crates/shirabe/tests/installer/installer_event_test.rs @@ -11,7 +11,6 @@ use shirabe::io::IOInterface; use shirabe::io::null_io::NullIO; #[test] -#[ignore = "Transaction::new reaches shirabe_php_shim::uasort_map which is still todo!()"] fn test_getter() { let composer_rc = Rc::new(RefCell::new(PartialOrFullComposer::new_full())); let composer = ComposerHandle::from_rc_unchecked(composer_rc); diff --git a/crates/shirabe/tests/installer/suggested_packages_reporter_test.rs b/crates/shirabe/tests/installer/suggested_packages_reporter_test.rs index bd7672e..b0654fe 100644 --- a/crates/shirabe/tests/installer/suggested_packages_reporter_test.rs +++ b/crates/shirabe/tests/installer/suggested_packages_reporter_test.rs @@ -36,14 +36,12 @@ fn test_constructor() { todo!() } -#[ignore] #[test] fn test_get_packages_empty_by_default() { let reporter = reporter(); assert!(reporter.get_packages().is_empty()); } -#[ignore] #[test] fn test_get_packages() { let suggested_package = get_suggested_package_array(); @@ -56,7 +54,6 @@ fn test_get_packages() { assert_eq!(&vec![suggested_package], reporter.get_packages()); } -#[ignore] #[test] fn test_add_package_appends() { let suggested_package_a = get_suggested_package_array(); diff --git a/crates/shirabe/tests/io/console_io_test.rs b/crates/shirabe/tests/io/console_io_test.rs index c1adbd4..a79b7ca 100644 --- a/crates/shirabe/tests/io/console_io_test.rs +++ b/crates/shirabe/tests/io/console_io_test.rs @@ -81,7 +81,6 @@ fn test_select() { todo!() } -#[ignore] #[test] fn test_set_and_get_authentication() { let mut console_io = make_console_io(); @@ -97,7 +96,6 @@ fn test_set_and_get_authentication() { assert_eq!(expected, console_io.get_authentication("repoName")); } -#[ignore] #[test] fn test_get_authentication_when_did_not_set() { let console_io = make_console_io(); @@ -108,7 +106,6 @@ fn test_get_authentication_when_did_not_set() { assert_eq!(expected, console_io.get_authentication("repoName")); } -#[ignore] #[test] fn test_has_authentication() { let mut console_io = make_console_io(); diff --git a/crates/shirabe/tests/json/json_file_test.rs b/crates/shirabe/tests/json/json_file_test.rs index 0224ae6..e8d87a3 100644 --- a/crates/shirabe/tests/json/json_file_test.rs +++ b/crates/shirabe/tests/json/json_file_test.rs @@ -182,35 +182,30 @@ fn test_unicode() { } #[test] -#[ignore] fn test_only_unicode() { let data = PhpMixed::String("\\/ƌ".to_string()); assert_json_format("\"\\\\\\/ƌ\"", &data, Some(unescaped_unicode_only())); } #[test] -#[ignore] fn test_escaped_slashes() { let data = PhpMixed::String("\\/foo".to_string()); assert_json_format("\"\\\\\\/foo\"", &data, Some(JsonEncodeOptions::none())); } #[test] -#[ignore] fn test_escaped_backslashes() { let data = PhpMixed::String("a\\b".to_string()); assert_json_format("\"a\\\\b\"", &data, Some(JsonEncodeOptions::none())); } #[test] -#[ignore] fn test_escaped_unicode() { let data = PhpMixed::String("ƌ".to_string()); assert_json_format("\"\\u018c\"", &data, Some(JsonEncodeOptions::none())); } #[test] -#[ignore] fn test_double_escaped_unicode() { let data = PhpMixed::List(vec![ PhpMixed::String("Zdjęcia".to_string()), @@ -515,7 +510,6 @@ fn merge_conflict_simple_data() -> PhpMixed { } #[test] -#[ignore] fn test_composer_lock_file_merge_conflict_simple() { let data = merge_conflict_simple_data(); let json = @@ -527,7 +521,6 @@ fn test_composer_lock_file_merge_conflict_simple() { } #[test] -#[ignore] fn test_composer_lock_file_merge_conflict_simple_crlf() { let data = merge_conflict_simple_data(); let json = @@ -563,7 +556,6 @@ fn test_composer_lock_file_merge_conflict_complex_crlf() { } #[test] -#[ignore] fn test_composer_lock_file_merge_conflict_extended() { let data = std::fs::read_to_string(fixture_path("composer-lock-merge-conflict-extended.txt")).unwrap(); diff --git a/crates/shirabe/tests/json/json_manipulator_test.rs b/crates/shirabe/tests/json/json_manipulator_test.rs index 96b74f7..d303346 100644 --- a/crates/shirabe/tests/json/json_manipulator_test.rs +++ b/crates/shirabe/tests/json/json_manipulator_test.rs @@ -3869,7 +3869,6 @@ fn test_remove_config_setting_can_remove_sub_key_in_hash_with_siblings() { } #[test] -#[ignore] fn test_add_main_key() { let mut manipulator = JsonManipulator::new( r#"{ @@ -4183,7 +4182,6 @@ fn test_remove_main_key_removes_key_where_value_is_null() { } #[test] -#[ignore] fn test_indent_detection() { let mut manipulator = JsonManipulator::new("{\n\n \"require\": {\n \"php\": \"5.*\"\n }\n}".to_string()) diff --git a/crates/shirabe/tests/package/loader/array_loader_test.rs b/crates/shirabe/tests/package/loader/array_loader_test.rs index d35f671..b006f15 100644 --- a/crates/shirabe/tests/package/loader/array_loader_test.rs +++ b/crates/shirabe/tests/package/loader/array_loader_test.rs @@ -129,7 +129,6 @@ fn test_self_version() { ); } -#[ignore] #[test] fn test_type_default() { let loader = set_up(); @@ -148,7 +147,6 @@ fn test_type_default() { assert_eq!("foo", package.get_type()); } -#[ignore] #[test] fn test_normalized_version_optimization() { let loader = set_up(); @@ -200,7 +198,6 @@ fn test_parse_dump_false_load_config() { assert_eq!(expected_config, dumper.dump(package)); } -#[ignore] #[test] fn test_package_with_branch_alias() { let loader = set_up(); @@ -287,7 +284,6 @@ fn test_package_with_branch_alias() { assert_eq!("4.x-dev", package.get_pretty_version()); } -#[ignore] #[test] fn test_package_aliasing_without_branch_alias() { let loader = set_up(); @@ -343,7 +339,6 @@ fn test_package_aliasing_without_branch_alias() { assert_eq!("2.9999999.9999999.9999999-dev", package.get_version()); } -#[ignore] #[test] fn test_abandoned() { let loader = set_up(); @@ -362,7 +357,6 @@ fn test_abandoned() { ); } -#[ignore] #[test] fn test_not_abandoned() { let loader = set_up(); @@ -478,7 +472,6 @@ fn test_parse_links_invalid_version() { ); } -#[ignore] #[test] fn test_none_string_version() { let loader = set_up(); @@ -491,7 +484,6 @@ fn test_none_string_version() { assert_eq!("1", package.get_pretty_version()); } -#[ignore] #[test] fn test_none_string_source_dist_reference() { let loader = set_up(); @@ -521,7 +513,6 @@ fn test_none_string_source_dist_reference() { assert_eq!(Some("2019".to_string()), package.get_dist_reference()); } -#[ignore] #[test] fn test_branch_alias_integer_index() { let loader = set_up(); @@ -564,7 +555,6 @@ fn test_package_links_require() { ); } -#[ignore] #[test] fn test_package_links_require_invalid() { let loader = set_up(); @@ -604,7 +594,6 @@ fn test_package_links_replace() { ); } -#[ignore] #[test] fn test_package_links_replace_invalid() { let loader = set_up(); @@ -618,7 +607,6 @@ fn test_package_links_replace_invalid() { assert_eq!(0, package.get_replaces().len()); } -#[ignore] #[test] fn test_support_string_value() { let loader = set_up(); @@ -633,7 +621,6 @@ fn test_support_string_value() { assert_eq!(0, package.get_support().len()); } -#[ignore] #[test] fn test_invalid_version() { let loader = set_up(); diff --git a/crates/shirabe/tests/package/version/version_guesser_test.rs b/crates/shirabe/tests/package/version/version_guesser_test.rs index 76cd672..1ec0ed4 100644 --- a/crates/shirabe/tests/package/version/version_guesser_test.rs +++ b/crates/shirabe/tests/package/version/version_guesser_test.rs @@ -117,7 +117,6 @@ fn test_remote_branches_are_selected() { todo!() } -#[ignore] #[test] fn test_get_root_version_from_env() { // @dataProvider rootEnvVersionsProvider diff --git a/crates/shirabe/tests/repository/filesystem_repository_test.rs b/crates/shirabe/tests/repository/filesystem_repository_test.rs index ae6e4ef..1914927 100644 --- a/crates/shirabe/tests/repository/filesystem_repository_test.rs +++ b/crates/shirabe/tests/repository/filesystem_repository_test.rs @@ -24,7 +24,6 @@ fn create_temp_json_file(contents: &str) -> String { path.to_str().unwrap().to_string() } -#[ignore] #[test] fn test_repository_read() { let path = create_temp_json_file( @@ -60,7 +59,6 @@ fn test_corrupted_repository_file() { ); } -#[ignore] #[test] fn test_unexistent_repository_file() { let mut path = std::env::temp_dir(); diff --git a/crates/shirabe/tests/repository/platform_repository_test.rs b/crates/shirabe/tests/repository/platform_repository_test.rs index fb84fd6..c85af4b 100644 --- a/crates/shirabe/tests/repository/platform_repository_test.rs +++ b/crates/shirabe/tests/repository/platform_repository_test.rs @@ -36,7 +36,6 @@ fn test_composer_platform_version() { } #[test] -#[ignore] fn test_valid_platform_packages() { let cases: Vec<(&str, bool)> = vec![ ("php", true), diff --git a/crates/shirabe/tests/util/filesystem_test.rs b/crates/shirabe/tests/util/filesystem_test.rs index 9e41b1f..f5896b0 100644 --- a/crates/shirabe/tests/util/filesystem_test.rs +++ b/crates/shirabe/tests/util/filesystem_test.rs @@ -350,7 +350,6 @@ fn provide_path_couples_as_code() ] } -#[ignore] #[test] fn test_find_shortest_path_code() { let fs = Filesystem::new(None); @@ -461,7 +460,6 @@ fn provide_path_couples() -> Vec<(&'static str, &'static str, &'static str, bool ] } -#[ignore] #[test] fn test_find_shortest_path() { let fs = Filesystem::new(None); @@ -473,7 +471,6 @@ fn test_find_shortest_path() { } } -#[ignore] #[test] fn test_remove_directory_php() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -492,7 +489,6 @@ fn test_remove_directory_php() { ))); } -#[ignore] #[test] fn test_file_size() { let unique_tmp = tempfile::TempDir::new().unwrap(); @@ -504,7 +500,6 @@ fn test_file_size() { assert!(fs.size(&test_file).unwrap() >= 5); } -#[ignore] #[test] fn test_directory_size() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -544,7 +539,6 @@ fn provide_normalized_paths() -> Vec<(&'static str, &'static str)> { ] } -#[ignore] #[test] fn test_normalize_path() { let fs = Filesystem::new(None); @@ -553,7 +547,6 @@ fn test_normalize_path() { } } -#[ignore] #[test] fn test_unlink_symlinked_directory() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -579,7 +572,6 @@ fn test_unlink_symlinked_directory() { assert!(!file_exists(&symlinked)); } -#[ignore] #[test] fn test_remove_symlinked_directory_with_trailing_slash() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -613,7 +605,6 @@ fn test_remove_symlinked_directory_with_trailing_slash() { assert!(!file_exists(&symlinked)); } -#[ignore] #[test] fn test_junctions() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -667,7 +658,6 @@ fn test_junctions() { assert!(!is_dir(&junction), "{junction} is not a directory"); } -#[ignore] #[test] fn test_override_junctions() { if !Platform::is_windows() { @@ -713,7 +703,6 @@ fn test_override_junctions() { ); } -#[ignore] #[test] fn test_copy() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -769,7 +758,6 @@ fn test_copy() { assert!(file_exists(format!("{working_dir}/testfile.file"))); } -#[ignore] #[test] fn test_copy_then_remove() { let working_dir = tempfile::TempDir::new().unwrap(); diff --git a/crates/shirabe/tests/util/process_executor_test.rs b/crates/shirabe/tests/util/process_executor_test.rs index f17f162..e5ee7c2 100644 --- a/crates/shirabe/tests/util/process_executor_test.rs +++ b/crates/shirabe/tests/util/process_executor_test.rs @@ -54,7 +54,6 @@ fn test_execute_captures_stderr() { ); } -#[ignore] #[test] fn test_timeout() { ProcessExecutor::set_timeout(1_i64); @@ -199,7 +198,6 @@ fn data_escape_arguments() -> Vec<(&'static str, &'static str)> { ] } -#[ignore] #[test] fn test_escape_argument() { for (argument, unix) in data_escape_arguments() { |
