aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe')
-rw-r--r--crates/shirabe/tests/platform/hhvm_detector_test.rs12
-rw-r--r--crates/shirabe/tests/platform/main.rs1
-rw-r--r--crates/shirabe/tests/util/main.rs1
-rw-r--r--crates/shirabe/tests/util/tls_helper_test.rs12
4 files changed, 26 insertions, 0 deletions
diff --git a/crates/shirabe/tests/platform/hhvm_detector_test.rs b/crates/shirabe/tests/platform/hhvm_detector_test.rs
index 11cb28c..8c420e5 100644
--- a/crates/shirabe/tests/platform/hhvm_detector_test.rs
+++ b/crates/shirabe/tests/platform/hhvm_detector_test.rs
@@ -1 +1,13 @@
//! ref: composer/tests/Composer/Test/Platform/HhvmDetectorTest.php
+
+#[test]
+#[ignore = "skipped unless running under HHVM (HHVM_VERSION_ID defined), which never holds here"]
+fn test_hhvm_version_when_executing_in_hhvm() {
+ todo!()
+}
+
+#[test]
+#[ignore = "needs an installed hhvm executable plus ExecutableFinder/ProcessExecutor; skipped in PHP when hhvm is absent"]
+fn test_hhvm_version_when_executing_in_php() {
+ todo!()
+}
diff --git a/crates/shirabe/tests/platform/main.rs b/crates/shirabe/tests/platform/main.rs
index ec5caf5..936049a 100644
--- a/crates/shirabe/tests/platform/main.rs
+++ b/crates/shirabe/tests/platform/main.rs
@@ -1,2 +1,3 @@
+mod hhvm_detector_test;
mod runtime_test;
mod version_test;
diff --git a/crates/shirabe/tests/util/main.rs b/crates/shirabe/tests/util/main.rs
index 1fb221b..4327bda 100644
--- a/crates/shirabe/tests/util/main.rs
+++ b/crates/shirabe/tests/util/main.rs
@@ -8,5 +8,6 @@ mod package_sorter_test;
mod platform_test;
mod silencer_test;
mod tar_test;
+mod tls_helper_test;
mod url_test;
mod zip_test;
diff --git a/crates/shirabe/tests/util/tls_helper_test.rs b/crates/shirabe/tests/util/tls_helper_test.rs
index 13abf77..260ff47 100644
--- a/crates/shirabe/tests/util/tls_helper_test.rs
+++ b/crates/shirabe/tests/util/tls_helper_test.rs
@@ -1 +1,13 @@
//! ref: composer/tests/Composer/Test/Util/TlsHelperTest.php
+
+#[test]
+#[ignore = "Composer\\Util\\TlsHelper is not yet ported"]
+fn test_check_certificate_host() {
+ todo!()
+}
+
+#[test]
+#[ignore = "Composer\\Util\\TlsHelper is not yet ported"]
+fn test_get_certificate_names() {
+ todo!()
+}