aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command/licenses_command_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/command/licenses_command_test.rs')
-rw-r--r--crates/shirabe/tests/command/licenses_command_test.rs77
1 files changed, 60 insertions, 17 deletions
diff --git a/crates/shirabe/tests/command/licenses_command_test.rs b/crates/shirabe/tests/command/licenses_command_test.rs
index 26a7520..113a77e 100644
--- a/crates/shirabe/tests/command/licenses_command_test.rs
+++ b/crates/shirabe/tests/command/licenses_command_test.rs
@@ -6,23 +6,66 @@ fn set_up() {
todo!()
}
-macro_rules! stub {
- ($name:ident) => {
- #[test]
- #[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
- fn $name() {
- set_up();
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_basic_run() {
+ set_up();
- todo!()
- }
- };
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_no_dev() {
+ set_up();
+
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_format_json() {
+ set_up();
+
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_format_summary() {
+ set_up();
+
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_format_unknown() {
+ set_up();
+
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_locked() {
+ set_up();
+
+ todo!()
}
-stub!(test_basic_run);
-stub!(test_no_dev);
-stub!(test_format_json);
-stub!(test_format_summary);
-stub!(test_format_unknown);
-stub!(test_locked);
-stub!(test_locked_no_dev);
-stub!(test_locked_without_lock_file);
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_locked_no_dev() {
+ set_up();
+
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_locked_without_lock_file() {
+ set_up();
+
+ todo!()
+}