IDE Test Cases
From SalasagaWiki
[edit] List of Test Cases
- Test 01 - Enabling / disabling menu items
- This tests if the Project, Slide, Layer and Export top menu items are being enabled and disabled correctly in English and non English languages
- Start the IDE in English
- $ export LANG=en_AU.UTF-8
- $ salasaga
- Verify the Project, Slide, Layer, and Export top menu items are disabled
- Load a project
- Verify the Project, Slide, Layer, and Export top menu iterms are enabled
- Close the project
- Verify the Project, Slide, Layer, and Export top menu items are disabled
- Import a screenshot
- Verify the Project, Slide, Layer, and Export top menu items are enabled
- Quit the IDE
- Start the IDE in Bulgarian
- $ export LANG=bg_BG.UTF-8
- $ salasaga
- Verify the Проект, Слайд, Слой, and Изнеси top menu items are disabled
- Load a project
- Verify the Проект, Слайд, Слой, and Изнеси top menu items are enabled
- Close the project
- Verify the Проект, Слайд, Слой, and Изнеси top menu items are disabled
- Import a screenshot
- Verify the Проект, Слайд, Слой, and Изнеси top menu items are enabled
- Quit the IDE
- Test 02 - English "Fit to width" string in Zoom selector
- This tests if the English "Fit to width" zoom level is being correctly used and understood by the interface
- Start the IDE in English
- $ export LANG=en_AU.UTF-8
- $ salasaga
- Verify the last option in the zoom selector in the middle of the status bar is in English "Fit to width"
- Open the Preferences Dialog (Edit -> Preferences)
- Verify the last option in the "Default Zoom Level" selector is in English "Fit to width"
- Change the "Default Zoom Level" to be "100%", then click OK
- Quit the IDE
- Start the IDE in English again
- $ salasaga
- Verify the last option in the zoom selector in the middle of the status bar is "100%"
- Open the Preferences Dialog (Edit -> Preferences)
- Change the "Default Zoom Level" to be "Fit to width", then click OK
- Quit the IDE
- Start the IDE in English again
- $ salasaga
- Verify the last option in the zoom selector in the middle of the status bar is "Fit to width"
- Test 03 - Localised "Fit to width" string in Zoom selector
- This tests if the localised "Fit to width" zoom level (ie "Поместване в ширината" in Bulgarian) is being correctly used and understood by the interface
- Start the IDE in Bulgarian
- $ export LANG=bg_BG.UTF-8
- $ salasaga
- Verify the last option in the zoom selector in the middle of the status bar is "Поместване в ширината"
- Open the Preferences Dialog (Редактиране -> Настройки)
- Verify the last option in the "Ниво на приближение по подразбиране" selector is "Поместване в ширината"
- Change the "Ниво на приближение по подразбиране" to be "100%", then click OK
- Quit the IDE
- Start the IDE in Bulgarian again
- $ salasaga
- Verify the last option in the zoom selector in the middle of the status bar is "100%"
- Open the Preferences Dialog (Редактиране -> Настройки)
- Change the "Ниво на приближение по подразбиране" to be "Поместване в ширината", then click OK
- Quit the IDE
- Start the IDE in Bulgarian again
- $ salasaga
- Verify the last option in the zoom selector in the middle of the status bar is "Поместване в ширината"
[edit] Results of Test Case Runs
| Source code snapshot | Test 01 | Test 02 | Test 03 |
|---|---|---|---|
| 2009-11-29 ??:?? | ? | ? | ? |

