aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/shirabe/tests/repository/main.rs1
-rw-r--r--crates/shirabe/tests/repository/path_repository_test.rs53
2 files changed, 54 insertions, 0 deletions
diff --git a/crates/shirabe/tests/repository/main.rs b/crates/shirabe/tests/repository/main.rs
index 4cbaf2e..54687d8 100644
--- a/crates/shirabe/tests/repository/main.rs
+++ b/crates/shirabe/tests/repository/main.rs
@@ -6,6 +6,7 @@ mod artifact_repository_test;
mod composite_repository_test;
mod filter_repository_test;
mod installed_repository_test;
+mod path_repository_test;
mod repository_factory_test;
mod repository_manager_test;
mod repository_utils_test;
diff --git a/crates/shirabe/tests/repository/path_repository_test.rs b/crates/shirabe/tests/repository/path_repository_test.rs
index 93ef6bf..c2e8e72 100644
--- a/crates/shirabe/tests/repository/path_repository_test.rs
+++ b/crates/shirabe/tests/repository/path_repository_test.rs
@@ -1 +1,54 @@
//! ref: composer/tests/Composer/Test/Repository/PathRepositoryTest.php
+
+// PathRepository does not implement RepositoryInterface and exposes no public
+// getPackages/count/hasPackage; the delegation to its inner ArrayRepository is not yet
+// ported, so there is no way to drive these tests. The unversioned cases additionally
+// require the VersionGuesser (git).
+
+#[test]
+#[ignore = "PathRepository exposes no public getPackages/count/hasPackage (RepositoryInterface delegation not ported)"]
+fn test_load_package_from_file_system_with_incorrect_path() {
+ todo!()
+}
+
+#[test]
+#[ignore = "PathRepository exposes no public getPackages/count/hasPackage (RepositoryInterface delegation not ported)"]
+fn test_load_package_from_file_system_with_version() {
+ todo!()
+}
+
+#[test]
+#[ignore = "PathRepository exposes no public getPackages/count/hasPackage (RepositoryInterface delegation not ported)"]
+fn test_load_package_from_file_system_without_version() {
+ todo!()
+}
+
+#[test]
+#[ignore = "PathRepository exposes no public getPackages/count/hasPackage (RepositoryInterface delegation not ported)"]
+fn test_load_package_from_file_system_with_wildcard() {
+ todo!()
+}
+
+#[test]
+#[ignore = "PathRepository exposes no public getPackages/count/hasPackage (RepositoryInterface delegation not ported)"]
+fn test_load_package_with_explicit_versions() {
+ todo!()
+}
+
+#[test]
+#[ignore = "PathRepository exposes no public getPackages/count/hasPackage (RepositoryInterface delegation not ported)"]
+fn test_url_remains_relative() {
+ todo!()
+}
+
+#[test]
+#[ignore = "PathRepository exposes no public getPackages/count/hasPackage (RepositoryInterface delegation not ported)"]
+fn test_reference_none() {
+ todo!()
+}
+
+#[test]
+#[ignore = "PathRepository exposes no public getPackages/count/hasPackage (RepositoryInterface delegation not ported)"]
+fn test_reference_config() {
+ todo!()
+}