diff options
Diffstat (limited to 'crates/shirabe/tests/question')
| -rw-r--r-- | crates/shirabe/tests/question/main.rs | 1 | ||||
| -rw-r--r-- | crates/shirabe/tests/question/strict_confirmation_question_test.rs | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/crates/shirabe/tests/question/main.rs b/crates/shirabe/tests/question/main.rs new file mode 100644 index 0000000..d3f105a --- /dev/null +++ b/crates/shirabe/tests/question/main.rs @@ -0,0 +1 @@ +mod strict_confirmation_question_test; diff --git a/crates/shirabe/tests/question/strict_confirmation_question_test.rs b/crates/shirabe/tests/question/strict_confirmation_question_test.rs index e5a3299..9045461 100644 --- a/crates/shirabe/tests/question/strict_confirmation_question_test.rs +++ b/crates/shirabe/tests/question/strict_confirmation_question_test.rs @@ -1 +1,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 = "needs Symfony QuestionHelper::ask with ArrayInput/StreamOutput, which are not ported"] +fn test_ask_confirmation_bad_answer() { + todo!() +} + +#[test] +#[ignore = "needs Symfony QuestionHelper::ask with ArrayInput/StreamOutput, which are not ported"] +fn test_ask_confirmation() { + todo!() +} + +#[test] +#[ignore = "needs Symfony QuestionHelper::ask with ArrayInput/StreamOutput, which are not ported"] +fn test_ask_confirmation_with_custom_true_and_false_answer() { + todo!() +} |
