public void ValidServiceCmd() { Assert.AreEqual("C:\\Program Files\\Storj\\Storage Node\\\\", CustomActionRunner.ExtractInstallDir("\"C:\\Program Files\\Storj\\Storage Node\\storagenode.exe\" run --config-dir \"C:\\Program Files\\Storj\\Storage Node\\\\\"")); }
public void EmptyServiceCmd() { Assert.IsNull(CustomActionRunner.ExtractInstallDir("")); }
public void MissingConfigDirFlag() { Assert.IsNull(CustomActionRunner.ExtractInstallDir("\"C:\\Program Files\\Storj\\Storage Node\\storagenode.exe\" run")); }
public void NullServiceCmd() { Assert.IsNull(CustomActionRunner.ExtractInstallDir(null)); }