From 25d368d3edf77fe9833c7d2cdefc6242cfec8ebe Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 21 Jun 2026 03:49:40 +0900 Subject: test: port TlsHelperTest and HhvmDetectorTest as stubs TlsHelper is not ported; the HhvmDetector cases are always skipped (no HHVM, no hhvm executable). All ignored/todo!(). setUp not ported. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/platform/hhvm_detector_test.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'crates/shirabe/tests/platform/hhvm_detector_test.rs') 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!() +} -- cgit v1.3.1