don't export module/processor/framer registrations

This commit is contained in:
Joel Wetzell
2026-05-26 17:27:35 -05:00
parent 0ff212742a
commit 80f8152dfb
77 changed files with 299 additions and 258 deletions
@@ -11,7 +11,7 @@ import (
)
func TestMIDINoteOffCreteaFromRegistry(t *testing.T) {
registration, ok := processor.ProcessorRegistry["midi.note_off.create"]
registration, ok := processor.GetProcessorRegistration("midi.note_off.create")
if !ok {
t.Fatalf("midi.note_off.create processor not registered")
}
@@ -56,7 +56,7 @@ func TestGoodMIDINoteOffCretea(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
registration, ok := processor.ProcessorRegistry["midi.note_off.create"]
registration, ok := processor.GetProcessorRegistration("midi.note_off.create")
if !ok {
t.Fatalf("midi.note_off.create processor not registered")
}
@@ -129,7 +129,7 @@ func TestBadMIDINoteOffCretea(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
registration, ok := processor.ProcessorRegistry["midi.note_off.create"]
registration, ok := processor.GetProcessorRegistration("midi.note_off.create")
if !ok {
t.Fatalf("midi.note_off.create processor not registered")
}
@@ -160,7 +160,7 @@ func TestBadMIDINoteOffCretea(t *testing.T) {
}
func BenchmarkMIDINoteOffCreate(b *testing.B) {
registration, ok := processor.ProcessorRegistry["midi.note_off.create"]
registration, ok := processor.GetProcessorRegistration("midi.note_off.create")
if !ok {
b.Fatalf("midi.note_off.create processor not registered")
}