Ejemplo n.º 1
0
 void WhenLaunchInstalledUpdateIsCalled()
 {
     _returnedInstalledUpdate = _appUpdater.LaunchInstalledUpdate(_installedUpdate);
 }
Ejemplo n.º 2
0
 void WhenThePreparedUpdateIsApplied()
 {
     _installedUpdated = _appUpdater.ApplyPreparedUpdate(_preparedUpdate);
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 12
0
 static void Quit(InstalledUpdate installedUpdate)
 {
     Environment.Exit(0);
 }