Refactor mount point setting and controller :

* remove CustomMountPath, winDriveLetter and usesCustomMountPath
* new property mountPoint (can be null)
* differentiation between driveLetter and directory happens in controller
This commit is contained in:
Armin Schrenk
2022-11-11 19:42:59 +01:00
parent 3c5502955a
commit 5143fdccbb
8 changed files with 154 additions and 147 deletions
@@ -34,8 +34,6 @@ public class VaultSettingsJsonAdapterTest {
() -> assertEquals("foo", vaultSettings.getId()),
() -> assertEquals(Paths.get("/foo/bar"), vaultSettings.path().get()),
() -> assertEquals("test", vaultSettings.displayName().get()),
() -> assertEquals("X", vaultSettings.winDriveLetter().get()),
() -> assertEquals("/home/test/crypto", vaultSettings.customMountPath().get()),
() -> assertEquals("--foo --bar", vaultSettings.mountFlags().get())
);
}