MCPcopy
hub / github.com/IBM/sarama / TestRecordBatchEncoding

Function TestRecordBatchEncoding

record_test.go:243–247  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

241}
242
243func TestRecordBatchEncoding(t *testing.T) {
244 for _, tc := range recordBatchTestCases() {
245 testEncodable(t, tc.name, &tc.batch, tc.encoded)
246 }
247}
248
249func TestRecordBatchDecoding(t *testing.T) {
250 for _, tc := range recordBatchTestCases() {

Callers

nothing calls this directly

Calls 2

recordBatchTestCasesFunction · 0.85
testEncodableFunction · 0.85

Tested by

no test coverage detected