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
+4 -4
View File
@@ -9,7 +9,7 @@ import (
)
func TestFloatRandomFromRegistry(t *testing.T) {
registration, ok := processor.ProcessorRegistry["float.random"]
registration, ok := processor.GetProcessorRegistration("float.random")
if !ok {
t.Fatalf("float.random processor not registered")
}
@@ -57,7 +57,7 @@ func TestGoodFloatRandom(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
registration, ok := processor.ProcessorRegistry["float.random"]
registration, ok := processor.GetProcessorRegistration("float.random")
if !ok {
t.Fatalf("float.random processor not registered")
}
@@ -155,7 +155,7 @@ func TestBadFloatRandom(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
registration, ok := processor.ProcessorRegistry["float.random"]
registration, ok := processor.GetProcessorRegistration("float.random")
if !ok {
t.Fatalf("float.random processor not registered")
}
@@ -186,7 +186,7 @@ func TestBadFloatRandom(t *testing.T) {
}
func BenchmarkFloatRandom(b *testing.B) {
registration, ok := processor.ProcessorRegistry["float.random"]
registration, ok := processor.GetProcessorRegistration("float.random")
if !ok {
b.Fatalf("float.random processor not registered")
}