There are not enough tests yet. I hope to increase the number in the future, but here are some notes on what we should test, and some use cases.
- Basic mDNS
- Announce check if announced mDNS
- Connect to rtpmidi peers
- Disconnect from rtpmidi peers
- Clock
- Journal N
- More journals
- rtpmidi announces its existence, so rtpmidid ports are created locally
- connect at rtpmidi, and then another rtpmidi port appear.
- Should it be the very same?
- If remote end disconnects, then the alsa connection should be removed.
- Create two rtpmidid
- Connect aseqdump to the peer1/peer1
- Connect vmpk at the peer2/aseqdump
- [optional] close aseqdump
Should: Work no more. Send CK and keep connection.
CK is sent by clients when connection finishes, looks like never finishes?
Does: Stop the connection as nobody does the CK cycles. Leaves garbage aseqdumps at test2
- Remote keyboard A
- Remote synth B
- Connect local/A to local/B
Should: When press key A, receive at B
Does:
- Connect A with local/A, CONNECTED (rtpmidi client and alsa peer)
- DO NOT connect local/B with B. WAITING (alsa listener)
- Not sends data.
Fix: When its an internal connection, special care must be taken for connecting end.