blob: c59a0fde56f1ff23ea00feb8b9453dd237bf4dca (
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/Question/StrictConfirmationQuestionTest.php
// These drive StrictConfirmationQuestion through Symfony's QuestionHelper::ask using
// ArrayInput/StreamOutput, none of which are ported. The question's normalizer and
// validator are private, so they cannot be exercised directly either.
#[test]
#[ignore = "ArrayInput exposes no public set_stream (its inner Input is pub(crate)); fopen now returns a PhpResource that bridges to StreamOutput::new, but the input-stream wiring is still missing"]
fn test_ask_confirmation_bad_answer() {
todo!()
}
#[test]
#[ignore = "ArrayInput exposes no public set_stream (its inner Input is pub(crate)); fopen now returns a PhpResource that bridges to StreamOutput::new, but the input-stream wiring is still missing"]
fn test_ask_confirmation() {
todo!()
}
#[test]
#[ignore = "ArrayInput exposes no public set_stream (its inner Input is pub(crate)); fopen now returns a PhpResource that bridges to StreamOutput::new, but the input-stream wiring is still missing"]
fn test_ask_confirmation_with_custom_true_and_false_answer() {
todo!()
}
|