mirror of
https://github.com/aler9/gortsplib
synced 2025-11-02 21:14:07 +08:00
cleanup tests
This commit is contained in:
@@ -173,7 +173,7 @@ func TestServerPublishSetupPath(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestServerPublishSetupErrorDifferentPaths(t *testing.T) {
|
||||
func TestServerPublishErrorSetupDifferentPaths(t *testing.T) {
|
||||
serverErr := make(chan error)
|
||||
|
||||
s := &Server{
|
||||
@@ -262,7 +262,7 @@ func TestServerPublishSetupErrorDifferentPaths(t *testing.T) {
|
||||
require.Equal(t, "invalid track path (test2stream/trackID=0)", err.Error())
|
||||
}
|
||||
|
||||
func TestServerPublishSetupErrorTrackTwice(t *testing.T) {
|
||||
func TestServerPublishErrorSetupTrackTwice(t *testing.T) {
|
||||
serverErr := make(chan error)
|
||||
|
||||
s := &Server{
|
||||
@@ -366,7 +366,7 @@ func TestServerPublishSetupErrorTrackTwice(t *testing.T) {
|
||||
require.Equal(t, "track 0 has already been setup", err.Error())
|
||||
}
|
||||
|
||||
func TestServerPublishRecordErrorPartialTracks(t *testing.T) {
|
||||
func TestServerPublishErrorRecordPartialTracks(t *testing.T) {
|
||||
serverErr := make(chan error)
|
||||
|
||||
s := &Server{
|
||||
|
||||
@@ -116,7 +116,7 @@ func TestServerReadSetupPath(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestServerReadSetupErrorDifferentPaths(t *testing.T) {
|
||||
func TestServerReadErrorSetupDifferentPaths(t *testing.T) {
|
||||
connClosed := make(chan struct{})
|
||||
|
||||
s := &Server{
|
||||
@@ -190,7 +190,7 @@ func TestServerReadSetupErrorDifferentPaths(t *testing.T) {
|
||||
<-connClosed
|
||||
}
|
||||
|
||||
func TestServerReadSetupErrorTrackTwice(t *testing.T) {
|
||||
func TestServerReadErrorSetupTrackTwice(t *testing.T) {
|
||||
connClosed := make(chan struct{})
|
||||
|
||||
s := &Server{
|
||||
|
||||
Reference in New Issue
Block a user