aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/io
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/io')
-rw-r--r--crates/shirabe/tests/io/console_io_test.rs96
1 files changed, 75 insertions, 21 deletions
diff --git a/crates/shirabe/tests/io/console_io_test.rs b/crates/shirabe/tests/io/console_io_test.rs
index 6715978..a931a8b 100644
--- a/crates/shirabe/tests/io/console_io_test.rs
+++ b/crates/shirabe/tests/io/console_io_test.rs
@@ -2,26 +2,80 @@
// These mock Symfony's InputInterface/OutputInterface/HelperSet (and QuestionHelper) to
// drive ConsoleIO; those console abstractions are not ported.
-macro_rules! stub {
- ($name:ident) => {
- #[test]
- #[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
- fn $name() {
- todo!()
- }
- };
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_is_interactive() {
+ todo!()
}
-stub!(test_is_interactive);
-stub!(test_write);
-stub!(test_write_error);
-stub!(test_write_with_multiple_line_string_when_debugging);
-stub!(test_overwrite);
-stub!(test_ask);
-stub!(test_ask_confirmation);
-stub!(test_ask_and_validate);
-stub!(test_select);
-stub!(test_set_and_get_authentication);
-stub!(test_get_authentication_when_did_not_set);
-stub!(test_has_authentication);
-stub!(test_sanitize);
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_write() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_write_error() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_write_with_multiple_line_string_when_debugging() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_overwrite() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_ask() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_ask_confirmation() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_ask_and_validate() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_select() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_set_and_get_authentication() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_get_authentication_when_did_not_set() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_has_authentication() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks Symfony Input/Output/HelperSet to drive ConsoleIO; not ported"]
+fn test_sanitize() {
+ todo!()
+}