blob: 1b35450fcadb888793c3685fca14f712dd38f096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//! ref: composer/tests/Composer/Test/Platform/HhvmDetectorTest.php
use shirabe::platform::hhvm_detector::HhvmDetector;
fn set_up() -> HhvmDetector {
let hhvm_detector = HhvmDetector::new(None, None);
hhvm_detector.reset();
hhvm_detector
}
#[test]
#[ignore = "skipped unless running under HHVM (HHVM_VERSION_ID defined), which never holds here"]
fn test_hhvm_version_when_executing_in_hhvm() {
let _hhvm_detector = set_up();
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() {
let _hhvm_detector = set_up();
todo!()
}
|