aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/svn_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/util/svn_test.rs')
-rw-r--r--crates/shirabe/tests/util/svn_test.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/crates/shirabe/tests/util/svn_test.rs b/crates/shirabe/tests/util/svn_test.rs
index 65cbeca..018a158 100644
--- a/crates/shirabe/tests/util/svn_test.rs
+++ b/crates/shirabe/tests/util/svn_test.rs
@@ -1 +1,19 @@
//! ref: composer/tests/Composer/Test/Util/SvnTest.php
+
+// These mock IO/Config and use reflection to drive Svn's credential handling; mocking and
+// reflection are not available here.
+macro_rules! stub {
+ ($name:ident) => {
+ #[test]
+ #[ignore = "mocks IO/Config and uses reflection to drive Svn credentials; not ported"]
+ fn $name() {
+ todo!()
+ }
+ };
+}
+
+stub!(test_credentials);
+stub!(test_interactive_string);
+stub!(test_credentials_from_config);
+stub!(test_credentials_from_config_with_cache_credentials_true);
+stub!(test_credentials_from_config_with_cache_credentials_false);