-
Notifications
You must be signed in to change notification settings - Fork 132
Closed
Labels
bugA defect in the libraryA defect in the librarymanager-screenRelating to the manager layer - screen managersRelating to the manager layer - screen managers
Description
Bug Report
The SoftButtonObject can be created with states that don't exist or are incorrect. We should check these states on construction to ensure that developers can't send incorrect soft buttons.
- Creating a
SoftButtonObjectwith empty states should throw an exception - Creating a
SoftButtonObjectwith states where the initial state name is not among the set states.
Reproduction Steps
- Create a soft button object with empty state list
- Send the soft button object
Expected Behavior
The soft buttons should throw an exception
Observed Behavior
The soft buttons return a success because no soft buttons are sent in the Show
OS & Version Information
- Android Version: n/a
- SDL Android Version: v5.3.1
- Testing Against: Sync 3
Test Case, Sample Code, and / or Example App
n/a
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugA defect in the libraryA defect in the librarymanager-screenRelating to the manager layer - screen managersRelating to the manager layer - screen managers