mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[PR #219] [MERGED] Test setup and minor fixes #251
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#251
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/devgianlu/go-librespot/pull/219
Author: @devgianlu
Created: 9/19/2025
Status: ✅ Merged
Merged: 9/19/2025
Merged by: @devgianlu
Base:
master← Head:tests📝 Commits (10+)
14582dfchore: rename paged_list to paged-list8dea99ffeat: add NullLogger5acbd87test: introduce mockery74f21dctest: improve tracks paged list unit tests1593855chore: enable tests in CIe65d82achore: rename chunked_reader to chunked-reader6c794f0fix: clamp audio chunk HTTP range request37a5392feat: addClosemethod toHttpChunkedReader2681783test: addHttpChunkedReaderintegration tests56b5db8test: addLatencyReaderunit tests📊 Changes
15 files changed (+1735 additions, -251 deletions)
View changed files
📝
.github/workflows/build_test.yml(+1 -1)➕
.mockery.yaml(+13 -0)📝
audio/chunked-reader.go(+27 -2)➕
audio/chunked-reader_integration_test.go(+327 -0)➕
audio/chunked-reader_internal_test.go(+93 -0)➕
audio/latency_test.go(+102 -0)📝
gen.go(+1 -0)📝
go.mod(+5 -0)📝
go.sum(+4 -0)📝
logger.go(+17 -0)➕
mock_Logger.go(+655 -0)➕
mock_PageResolver.go(+108 -0)📝
tracks/paged-list.go(+0 -0)➕
tracks/paged-list_internal_test.go(+382 -0)➖
tracks/paged_list_test.go(+0 -248)📄 Description
This PR adds some test infrastructure as well as some new tests for
pagedList,HttpChunkedReaderandLatencyReader.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.