From 3498bb1ca00ab7d051d296b8d482bea987a00fa4 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 25 Jun 2026 17:02:11 +0900 Subject: test: port 24 command/repository/package/util tests; add TlsHelper Port command (9), util gitlab/forgejo/tls (6), package (6), repository (3) tests. Implement TlsHelper. Fix porting bugs: config_command extra merge, RootAliasPackage setters, ValidatingArrayLoader isset, repository_factory name generation, forgejo exception code, version_parser error chaining. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/repository/artifact_repository_test.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/shirabe/tests/repository/artifact_repository_test.rs') diff --git a/crates/shirabe/tests/repository/artifact_repository_test.rs b/crates/shirabe/tests/repository/artifact_repository_test.rs index 63fd238..90e5625 100644 --- a/crates/shirabe/tests/repository/artifact_repository_test.rs +++ b/crates/shirabe/tests/repository/artifact_repository_test.rs @@ -35,7 +35,7 @@ fn create_repo(url: &str) -> ArtifactRepository { } #[test] -#[ignore] +#[ignore = "the artifacts fixtures dir contains a .tar file (jsonInRootTarFile); scanning it routes through Tar::get_composer_json -> PharData::new which is todo!()"] fn test_extracts_configs_from_zip_archives() { if set_up() { return; @@ -85,7 +85,7 @@ fn test_extracts_configs_from_zip_archives() { } #[test] -#[ignore] +#[ignore = "the artifacts fixtures dir contains a .tar file (jsonInRootTarFile); scanning it routes through Tar::get_composer_json -> PharData::new which is todo!()"] fn test_absolute_repo_url_creates_absolute_url_packages() { if set_up() { return; @@ -106,7 +106,7 @@ fn test_absolute_repo_url_creates_absolute_url_packages() { } #[test] -#[ignore] +#[ignore = "the relative url is resolved from the process cwd (the crate manifest dir under cargo, not the composer test root), so the artifacts dir is not found; additionally the dir contains a .tar file routing through PharData::new which is todo!()"] fn test_relative_repo_url_creates_relative_url_packages() { if set_up() { return; -- cgit v1.3.1