aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/package/loader/root_package_loader_test.rs
blob: 82d60ba8bb0f356d60fe2e16ca553ca459f49996 (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
29
30
31
32
33
34
35
//! ref: composer/tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php

// These build a RootPackageLoader with a mocked RepositoryManager and either a mocked
// ProcessExecutor / VersionGuesser or require constraints whose parsing goes through a
// look-around regex the regex crate cannot compile.

#[test]
#[ignore = "RootPackageLoader::load parses require constraints via a look-around regex; mocks RepositoryManager"]
fn test_stability_flags_parsing() {
    todo!()
}

#[test]
#[ignore = "mocks RepositoryManager and a ProcessExecutor returning a non-zero git result"]
fn test_no_version_is_visible_in_pretty_version() {
    todo!()
}

#[test]
#[ignore = "mocks RepositoryManager and a VersionGuesser returning a fixed guessed version"]
fn test_pretty_version_for_root_package_in_version_branch() {
    todo!()
}

#[test]
#[ignore = "mocks RepositoryManager and a ProcessExecutor feeding git branch output"]
fn test_feature_branch_pretty_version() {
    todo!()
}

#[test]
#[ignore = "mocks RepositoryManager and a ProcessExecutor feeding git branch output"]
fn test_non_feature_branch_pretty_version() {
    todo!()
}