aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/repository/platform_repository_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/repository/platform_repository_test.rs')
-rw-r--r--crates/shirabe/tests/repository/platform_repository_test.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/crates/shirabe/tests/repository/platform_repository_test.rs b/crates/shirabe/tests/repository/platform_repository_test.rs
index d4028b1..d06f8f5 100644
--- a/crates/shirabe/tests/repository/platform_repository_test.rs
+++ b/crates/shirabe/tests/repository/platform_repository_test.rs
@@ -1 +1,21 @@
//! ref: composer/tests/Composer/Test/Repository/PlatformRepositoryTest.php
+
+// These probe runtime/extension/library versions and assert the synthesized platform
+// packages; the detection mocks ProcessExecutor/Runtime/HhvmDetector and the package
+// versions are parsed through a look-around regex.
+macro_rules! stub {
+ ($name:ident) => {
+ #[test]
+ #[ignore = "not yet ported (platform detection mocks Runtime/ProcessExecutor; version parsing uses a look-around regex)"]
+ fn $name() {
+ todo!()
+ }
+ };
+}
+
+stub!(test_hhvm_package);
+stub!(test_php_version);
+stub!(test_inet_pton_regression);
+stub!(test_library_information);
+stub!(test_composer_platform_version);
+stub!(test_valid_platform_packages);