Skip to content

Commit

Permalink
Remove unit tests for deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
AKalinich-Luxoft committed May 10, 2021
1 parent 07d5fe0 commit c1d69b6
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/components/media_manager/test/media_manager_impl_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -279,21 +279,6 @@ TEST_F(MediaManagerImplTest, Init_Settings_ExpectFileValue) {
InitMediaManagerFileServerType();
}

TEST_F(MediaManagerImplTest, PlayA2DPSource_WithCorrectA2DP_SUCCESS) {
// media_adapter_mock_ will be deleted in media_manager_impl (dtor)
MockMediaAdapter* media_adapter_mock = new MockMediaAdapter();
media_manager_impl_->set_mock_a2dp_player(media_adapter_mock);
EXPECT_CALL(*media_adapter_mock, StartActivity(kApplicationKey));
media_manager_impl_->PlayA2DPSource(kApplicationKey);
}

TEST_F(MediaManagerImplTest, StopA2DPSource_WithCorrectA2DP_SUCCESS) {
MockMediaAdapter* media_adapter_mock = new MockMediaAdapter();
media_manager_impl_->set_mock_a2dp_player(media_adapter_mock);
EXPECT_CALL(*media_adapter_mock, StopActivity(kApplicationKey));
media_manager_impl_->StopA2DPSource(kApplicationKey);
}

TEST_F(MediaManagerImplTest,
StartMicrophoneRecording_SourceFileIsWritable_ExpectTrue) {
StartMicrophoneCheckHelper();
Expand Down

0 comments on commit c1d69b6

Please sign in to comment.