public void SetUp() { config = new LauncherConfiguration { ApplicationExe = "Test.App.exe", UpdatesLocation = "ftp://*****:*****@ftp.test.com/remotedir" }; ftp = MockRepository.GenerateMock <IFtpAccessor>(); namingConvention = new DefaultNamingConvention(); }
public void SetUp() { config = new LauncherConfiguration { ApplicationExe = "Test.App.exe", UpdatesLocation = "ftp://*****:*****@ftp.test.com/remotedir" }; ftp = MockRepository.GenerateMock<IFtpAccessor>(); namingConvention = new DefaultNamingConvention(); }
public FtpUpdatesProvider(LauncherConfiguration configuration, IFtpAccessor ftp) { this.configuration = configuration; this.ftp = ftp; }