FUEL/0.1/Tests
Jump to navigation
Jump to search
< FUEL/0.1
Application
- Check for existence of
Application- [expect object is defined] - Complete sub tests for each
ApplicationpropertyConsoleStoragePreferencesEvents- events are - "start", "ready", "quit"
Extensions
Extension
- [TODO] Need to find and use a known extension for these tests
- Use
extension.idto read the id - [expect known id] - Use
extension.nameto read the name - [expect known name] - Complete sub tests for each
ExtensionpropertyStoragePreferencesEvents
Console
- [TODO] There appears to be no automatic way to verify, so we will manually check the Error Console after the tests complete.
- Use
console.logto write test names during all other tests - [succeed]
Storage
- Use
storage.hasto check for non-existent item - [expect false] - Use
storage.getto check value of for non-existent item - [fail] - Use
storage.setto add an item - Use
storage.hasto check for item - [expect true] - Use
storage.getto check value of item - [expect set value] - Use
storage.setto overwrite value of item - Use
storage.getto check overwritten value of item - [expect overwritten value]
Preferences
- REPEAT for STRING, INT and BOOLEAN
- Use
storage.getto check value of for non-existent item - [expect default value] - Use
storage.setto add a pref - Use
storage.getto check value of pref - [expect set value] - Use
storage.setto overwrite value of pref - Use
storage.getto check overwritten value of pref - [expect overwritten value]
- Use
- Use
storage.setto add a STRING pref - Use
storage.setto overwrite with an INT pref [expect ???] - Use
storage.getto check overwritten INT pref [expect ???] - Use
storage.setto add a INT pref - Use
storage.setto overwrite with an BOOLEAN pref [expect ???] - Use
storage.getto check overwritten BOOLEAN pref [expect ???]