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.rs47
1 files changed, 33 insertions, 14 deletions
diff --git a/crates/shirabe/tests/repository/platform_repository_test.rs b/crates/shirabe/tests/repository/platform_repository_test.rs
index d06f8f5..d19b615 100644
--- a/crates/shirabe/tests/repository/platform_repository_test.rs
+++ b/crates/shirabe/tests/repository/platform_repository_test.rs
@@ -3,19 +3,38 @@
// 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!()
- }
- };
+#[test]
+#[ignore = "not yet ported (platform detection mocks Runtime/ProcessExecutor; version parsing uses a look-around regex)"]
+fn test_hhvm_package() {
+ 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);
+#[test]
+#[ignore = "not yet ported (platform detection mocks Runtime/ProcessExecutor; version parsing uses a look-around regex)"]
+fn test_php_version() {
+ todo!()
+}
+
+#[test]
+#[ignore = "not yet ported (platform detection mocks Runtime/ProcessExecutor; version parsing uses a look-around regex)"]
+fn test_inet_pton_regression() {
+ todo!()
+}
+
+#[test]
+#[ignore = "not yet ported (platform detection mocks Runtime/ProcessExecutor; version parsing uses a look-around regex)"]
+fn test_library_information() {
+ todo!()
+}
+
+#[test]
+#[ignore = "not yet ported (platform detection mocks Runtime/ProcessExecutor; version parsing uses a look-around regex)"]
+fn test_composer_platform_version() {
+ todo!()
+}
+
+#[test]
+#[ignore = "not yet ported (platform detection mocks Runtime/ProcessExecutor; version parsing uses a look-around regex)"]
+fn test_valid_platform_packages() {
+ todo!()
+}