aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command/licenses_command_test.rs
blob: 26a752087a5648fbd63f17ef17a7e3ba69703208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//! ref: composer/tests/Composer/Test/Command/LicensesCommandTest.php

fn set_up() {
    // Builds the temp project and installed.json/composer.lock fixtures via
    // initTempComposer/createInstalledJson/createComposerLock, none of which are ported yet.
    todo!()
}

macro_rules! stub {
    ($name:ident) => {
        #[test]
        #[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
        fn $name() {
            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);