diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/shirabe/tests/package/loader/mod.rs | 1 | ||||
| -rw-r--r-- | crates/shirabe/tests/package/loader/root_package_loader_test.rs | 34 | ||||
| -rw-r--r-- | crates/shirabe/tests/package/main.rs | 1 |
3 files changed, 36 insertions, 0 deletions
diff --git a/crates/shirabe/tests/package/loader/mod.rs b/crates/shirabe/tests/package/loader/mod.rs new file mode 100644 index 0000000..7890044 --- /dev/null +++ b/crates/shirabe/tests/package/loader/mod.rs @@ -0,0 +1 @@ +mod root_package_loader_test; diff --git a/crates/shirabe/tests/package/loader/root_package_loader_test.rs b/crates/shirabe/tests/package/loader/root_package_loader_test.rs index 6aee231..82d60ba 100644 --- a/crates/shirabe/tests/package/loader/root_package_loader_test.rs +++ b/crates/shirabe/tests/package/loader/root_package_loader_test.rs @@ -1 +1,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!() +} diff --git a/crates/shirabe/tests/package/main.rs b/crates/shirabe/tests/package/main.rs index c5170c2..951983f 100644 --- a/crates/shirabe/tests/package/main.rs +++ b/crates/shirabe/tests/package/main.rs @@ -4,5 +4,6 @@ mod test_case; mod archiver; mod base_package_test; mod complete_package_test; +mod loader; mod root_alias_package_test; mod version; |
