-
Notifications
You must be signed in to change notification settings - Fork 38
How to test an adaptation
bboc edited this page Feb 20, 2023
·
2 revisions
- Create a user adaptation directory via the options menu
- create a new (empty) libary so that you see what's going on (and don't mess up your real library)
When the adapation is added to the user adaptation directory and the Orm is (re-)started Then the Adaptation name is displayed in the list.
The name of the adpatiation should show uWhen the adaptation is in the setup tab
Functions tested:
- createDeviceDetectMessage()
- channelIfValidDeviceResponse()
- needsChannelSpecificDetection()
- deviceDetectWaitMilliseconds()
Steps:
- Given the adapation is activated in the setup tab
- and the device is connected
- When the Auto-Detect button is clicked
- Then the device's usb ports and channel are detected properly
- and the button with the name of the device is underlined in green
Function tested:
- friendlyProgramName()
- bankDescriptors()
- isSingleProgramDump()
- isPartOfSingleProgramDump()
- calculateFingerprint()
- createProgramDumpRequest()
- nameFromDump()
Steps:
- Given:
- the adaptation does not implement the Bank Dump Capability
- and the Library tab is selected
- and the adaptation is selected
- and in the dropdown "Name and #" is selected
- When one of the empty (red) banks is selected in the tree
- Then
- all patches in the bank is are imported
- the panels in the library show the correct names
- the panels in the library show the correct bank names and program locations
- the name of the bank in the tree is no longer red, but white
- the tree shows the correct number of banks and the correct bank names
- Given: two banks have been imported
- When the second bank is selected
- And a patch in that bank is selected
- Then that patch is also selected in the device
- Given the adapation is activated
- When the Adaptation tab is selected
- And the adaptation is selected with its button
- Then the setup help text is visible in the left panel
-
isDefaultName()
-
renamePatch()
-
isEditBufferDump()
-
isPartOfEditBufferDump()
-
createEditBufferRequest()
-
convertToEditBuffer()
-
convertToProgramDump()
-
isPartOfBankDump()
-
isBankDumpFinished()
-
extractPatchesFromBank()
-
generalMessageDelay()
-
friendlyBankName()