Merge remote-tracking branch 'refs/remotes/OpenLiveWriter/master'

This commit is contained in:
Will Duff 2015-12-21 22:37:54 -08:00
commit 5f0f110df6
4 changed files with 52 additions and 2 deletions

15
TestPlan/InstallAsNew.md Normal file
View File

@ -0,0 +1,15 @@
#Test Plan for Ensuring that Installing as an New Install works properly
Steps | Desired Results | Complete | Comments
----------------------|--------------------------------|----------| --------
Ensure that OpenLiveWriter is not installed. If it is installed, delete registry keys and local files | |
||| Registry Keys are at HKEY_CURRENT_USER\Software\OpenLiveWriter
||| Local files are at %users%\AppData\Local\OpenLiveWriter
Download build | Setup File should be named OpenLiveWriterSetup.exe | |
Run OpenLiveWriterSetup.exe | See OpenLiveWriter Splash | |
OpenLiveWriter Opens | User can add a blog | |
| Post multiple times with each blog | |
| File Tab exists and contains proper options | |
| Home Tab exists and contains proper options | |
| Insert Tab exists and contains proper options | |
| Blog Tab exists and contains proper options | |
| Help Tab exists and contains proper options | |

View File

@ -0,0 +1,16 @@
#Test Plan for Ensuring that Installing as an Update works properly
Steps | Desired Results | Complete | Comments
----------------------|--------------------------------|----------| --------
Download build | Setup File should be named OpenLiveWriterSetup.exe | |
| See OpenLiveWriter Splash | |
| OpenLiveWriter Opens ||
Run Install | OpenLiveWriter opens in Home Tab ||
| All existing blogs are present | |
|Post multiple times with each blog | |
| File Tab exists and contains proper options | |
| Home Tab exists and contains proper options | |
| Insert Tab exists and contains proper options | |
| Blog Tab exists and contains proper options | |
| Help Tab exists and contains proper options | |

View File

@ -0,0 +1,13 @@
### Test Plan Procedures
* Go to the contributors repository - for example if I am the contributor, go to my repositories and get a copy, either by downloading the zip file or by cloning
* Build and run the code. See https://github.com/OpenLiveWriter/OpenLiveWriter/wiki/Building,-Testing,-and-Debugging
* If you don't need to look at the code, use this procedure;
* Go to a pull request
* Scroll down to "All check have passed" and click on "Show all checks"
* Click on 'Details' link next to 'AppVeyor build succeeded'
* You can see the output of the build if it succeeded, click on 'Artifacts'
* Find OpenLiveWiterSetup.exe
* Download that and run it to install OpenLiveWriter.
* Attempt to recreate the bug
* Sanity Test -- I am creating checklists for sanity tests. Test as many individual things as you possibly can.
* When you find a problem, document it in the pull request.

View File

@ -102,7 +102,7 @@ namespace OpenLiveWriter.PostEditor
_editingManager = editingManager;
_editingManager.BlogChanged += new EventHandler(_editingManager_BlogChanged);
_editingManager.BlogSettingsChanged += new WeblogSettingsChangedHandler(_editingManager_BlogSettingsChanged);
_editingSite = editingSite;
BlogSettings.BlogSettingsDeleted += new BlogSettings.BlogSettingsListener(BlogSettings_BlogSettingsDeleted);
@ -114,6 +114,11 @@ namespace OpenLiveWriter.PostEditor
InitializeUI();
}
private void EditingSiteOnWeblogListChanged(object sender, EventArgs eventArgs)
{
commandSelectBlog?.ReloadAndInvalidate();
}
void BlogSettings_BlogSettingsDeleted(string blogId)
{
commandSelectBlog.ReloadAndInvalidate();
@ -130,6 +135,8 @@ namespace OpenLiveWriter.PostEditor
commandWeblogPicker = new CommandWeblogPicker();
_editingSite.CommandManager.Add(commandWeblogPicker);
_editingSite.WeblogListChanged -= EditingSiteOnWeblogListChanged;
_editingSite.WeblogListChanged += EditingSiteOnWeblogListChanged;
commandAddWeblog = new Command(CommandId.AddWeblog);
commandAddWeblog.Execute += new EventHandler(commandAddWeblog_Execute);
@ -154,7 +161,6 @@ namespace OpenLiveWriter.PostEditor
{
if (WeblogSelected != null)
WeblogSelected(BlogSettings.GetBlogs(true)[commandSelectBlog.SelectedIndex].Id);
}
private void InitializeUI()