generated file

This commit is contained in:
David Zhao
2024-03-29 14:26:09 -07:00
parent 8b70959493
commit f282fdb0ba
@@ -158,6 +158,16 @@ type FakeLocalParticipant struct {
connectedAtReturnsOnCall map[int]struct {
result1 time.Time
}
ConnectionDurationStub func() time.Duration
connectionDurationMutex sync.RWMutex
connectionDurationArgsForCall []struct {
}
connectionDurationReturns struct {
result1 time.Duration
}
connectionDurationReturnsOnCall map[int]struct {
result1 time.Duration
}
DebugInfoStub func() map[string]interface{}
debugInfoMutex sync.RWMutex
debugInfoArgsForCall []struct {
@@ -1707,6 +1717,59 @@ func (fake *FakeLocalParticipant) ConnectedAtReturnsOnCall(i int, result1 time.T
}{result1}
}
func (fake *FakeLocalParticipant) ConnectionDuration() time.Duration {
fake.connectionDurationMutex.Lock()
ret, specificReturn := fake.connectionDurationReturnsOnCall[len(fake.connectionDurationArgsForCall)]
fake.connectionDurationArgsForCall = append(fake.connectionDurationArgsForCall, struct {
}{})
stub := fake.ConnectionDurationStub
fakeReturns := fake.connectionDurationReturns
fake.recordInvocation("ConnectionDuration", []interface{}{})
fake.connectionDurationMutex.Unlock()
if stub != nil {
return stub()
}
if specificReturn {
return ret.result1
}
return fakeReturns.result1
}
func (fake *FakeLocalParticipant) ConnectionDurationCallCount() int {
fake.connectionDurationMutex.RLock()
defer fake.connectionDurationMutex.RUnlock()
return len(fake.connectionDurationArgsForCall)
}
func (fake *FakeLocalParticipant) ConnectionDurationCalls(stub func() time.Duration) {
fake.connectionDurationMutex.Lock()
defer fake.connectionDurationMutex.Unlock()
fake.ConnectionDurationStub = stub
}
func (fake *FakeLocalParticipant) ConnectionDurationReturns(result1 time.Duration) {
fake.connectionDurationMutex.Lock()
defer fake.connectionDurationMutex.Unlock()
fake.ConnectionDurationStub = nil
fake.connectionDurationReturns = struct {
result1 time.Duration
}{result1}
}
func (fake *FakeLocalParticipant) ConnectionDurationReturnsOnCall(i int, result1 time.Duration) {
fake.connectionDurationMutex.Lock()
defer fake.connectionDurationMutex.Unlock()
fake.ConnectionDurationStub = nil
if fake.connectionDurationReturnsOnCall == nil {
fake.connectionDurationReturnsOnCall = make(map[int]struct {
result1 time.Duration
})
}
fake.connectionDurationReturnsOnCall[i] = struct {
result1 time.Duration
}{result1}
}
func (fake *FakeLocalParticipant) DebugInfo() map[string]interface{} {
fake.debugInfoMutex.Lock()
ret, specificReturn := fake.debugInfoReturnsOnCall[len(fake.debugInfoArgsForCall)]
@@ -6343,6 +6406,8 @@ func (fake *FakeLocalParticipant) Invocations() map[string][][]interface{} {
defer fake.closeSignalConnectionMutex.RUnlock()
fake.connectedAtMutex.RLock()
defer fake.connectedAtMutex.RUnlock()
fake.connectionDurationMutex.RLock()
defer fake.connectionDurationMutex.RUnlock()
fake.debugInfoMutex.RLock()
defer fake.debugInfoMutex.RUnlock()
fake.getAdaptiveStreamMutex.RLock()