Skip to content

Commit

Permalink
Revert "T11574732: Fix renaming file issue from List on Full Screen P…
Browse files Browse the repository at this point in the history
…layer and Mini Player"

This reverts commit e060b5b.
  • Loading branch information
tomekkuzma-mega committed Sep 1, 2023
1 parent 9d974d5 commit 148ee3d
Show file tree
Hide file tree
Showing 22 changed files with 58 additions and 914 deletions.
48 changes: 2 additions & 46 deletions MEGA.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ final class MockAudioPlayerHandler: AudioPlayerHandlerProtocol {

private var _isPlayerDefined = false

var audioPlayer: AudioPlayer?

private(set) var playerResumePlayback_Calls = [TimeInterval]()

func isPlayerDefined() -> Bool { _isPlayerDefined }
func isPlayerEmpty() -> Bool { false }

func currentPlayer() -> AudioPlayer? {
audioPlayer
AudioPlayer()
}

func setCurrent(
Expand All @@ -47,7 +45,6 @@ final class MockAudioPlayerHandler: AudioPlayerHandlerProtocol {
addPlayer_calledTimes += 1
addPlayerTracks_calledTimes += 1
_isPlayerDefined = true
audioPlayer = player
}

func addPlayer(listener: any AudioPlayerObserversProtocol) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@testable import MEGA
import MEGADomain
import MEGASDKRepoMock
import MEGATest
import XCTest

final class AudioPlayerViewRouterTests: XCTestCase {
Expand Down Expand Up @@ -51,6 +52,7 @@ final class AudioPlayerViewRouterTests: XCTestCase {
),
presenter: currentContextViewController
)
trackForMemoryLeaks(on: sut, file: file, line: line)
return sut
}

Expand Down
84 changes: 0 additions & 84 deletions MEGAUnitTests/AudioPlayer/UseCases/AudioPlayerUseCaseTests.swift

This file was deleted.

This file was deleted.

Loading

0 comments on commit 148ee3d

Please sign in to comment.