Example #1
0
 void WhenLaunchInstalledUpdateIsCalled()
 {
     _returnedInstalledUpdate = _appUpdater.LaunchInstalledUpdate(_installedUpdate);
 }
Example #2
0
 void WhenThePreparedUpdateIsApplied()
 {
     _installedUpdated = _appUpdater.ApplyPreparedUpdate(_preparedUpdate);
 }
Example #3
0
 void AndGivenAnInstalledUpdate()
 {
     _installedUpdate = new InstalledUpdate(_installedVersion, new Version(2, 0));
 }
 void WhenLaunchInstalledUpdateIsCalled()
 {
     _returnedInstalledUpdate = _appUpdater.LaunchInstalledUpdate(_installedUpdate);
 }
 void GivenANullInstalledUpdate()
 {
     _installedUpdate = default(InstalledUpdate);
 }
 void WhenAttemptingToCreateAnInstalledUpdateWithThoseVersions()
 {
     _installedUpdate = new InstalledUpdate(_oldVersion, _newVersion);
 }
 void AndGivenAnInstalledUpdate()
 {
     _installedUpdate = new InstalledUpdate(_installedVersion, new Version(2, 0));
 }
Example #8
0
 static void Quit(InstalledUpdate installedUpdate)
 {
     Environment.Exit(0);
 }
 void WhenAttemptingToCreateAnInstalledUpdateWithThoseVersions()
 {
     _installedUpdate = new InstalledUpdate(_oldVersion, _newVersion);
 }
 void WhenThePreparedUpdateIsApplied()
 {
     _installedUpdated = _appUpdater.ApplyPreparedUpdate(_preparedUpdate);
 }
 void GivenANullInstalledUpdate()
 {
     _installedUpdate = default(InstalledUpdate);
 }
Example #12
0
 static void Quit(InstalledUpdate installedUpdate)
 {
     Environment.Exit(0);
 }