Skip to content

Add interceptor tests

Codecov / codecov/patch succeeded Jan 20, 2025 in 0s

83.64% of diff hit (target 70.00%)

View this Pull Request on Codecov

83.64% of diff hit (target 70.00%)

Annotations

Check warning on line 114 in internal/test/mock_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/test/mock_stream.go#L114

Added line #L114 was not covered by tests

Check warning on line 30 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L26-L30

Added lines #L26 - L30 were not covered by tests

Check warning on line 82 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L81-L82

Added lines #L81 - L82 were not covered by tests

Check warning on line 87 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L86-L87

Added lines #L86 - L87 were not covered by tests

Check warning on line 151 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L150-L151

Added lines #L150 - L151 were not covered by tests

Check warning on line 159 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L158-L159

Added lines #L158 - L159 were not covered by tests

Check warning on line 167 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L166-L167

Added lines #L166 - L167 were not covered by tests

Check warning on line 174 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L173-L174

Added lines #L173 - L174 were not covered by tests

Check warning on line 177 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L177

Added line #L177 was not covered by tests

Check warning on line 186 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L185-L186

Added lines #L185 - L186 were not covered by tests

Check warning on line 196 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L195-L196

Added lines #L195 - L196 were not covered by tests

Check warning on line 201 in pkg/ccfb/interceptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/interceptor.go#L200-L201

Added lines #L200 - L201 were not covered by tests

Check warning on line 35 in pkg/ccfb/twcc_receiver.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/twcc_receiver.go#L29-L35

Added lines #L29 - L35 were not covered by tests

Check warning on line 52 in pkg/ccfb/twcc_receiver.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/twcc_receiver.go#L46-L52

Added lines #L46 - L52 were not covered by tests

Check warning on line 83 in pkg/ccfb/twcc_receiver.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ccfb/twcc_receiver.go#L77-L83

Added lines #L77 - L83 were not covered by tests