Skip to content

Commit

Permalink
Move CastMessagePortImplTest to //components/cast_streaming
Browse files Browse the repository at this point in the history
This also removes remaining unused files in //fuchsia/cast_streaming,
removing the directory.

Bug: 1207721
Change-Id: Ib45255d626b2a2893e4992d29c3bcb13927a59b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2895226
Auto-Submit: Fabrice de Gans <fdegans@chromium.org>
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Jordan Bayles <jophba@chromium.org>
Commit-Queue: Fabrice de Gans <fdegans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#884637}
  • Loading branch information
Steelskin authored and Chromium LUCI CQ committed May 19, 2021
1 parent 211cd26 commit 3c69fc2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 242 deletions.
17 changes: 10 additions & 7 deletions components/cast_streaming/browser/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ test("e2e_tests") {
":test_receiver",
":test_sender",
"//base/test:test_support",
"//components/cast/message_port:test_message_port_receiver",
"//components/openscreen_platform:openscreen_platform_net",
"//media",
"//mojo/core/embedder",
Expand All @@ -140,12 +139,16 @@ test("e2e_tests") {
]
}

# NOTE: This source set is intentionally empty. It is used to force the building
# of the code defined in this directory, as it is production code which must
# be validated as part of the CQ.
# TODO(crbug.com/1207721): Add unit tests for code in this directory.
# TODO(crbug.com/1207721): Add more unit tests for code in this directory.
source_set("unit_tests") {
testonly = true
deps = [ ":browser" ]
sources = []
deps = [
":browser",
":core",
"//base",
"//base/test:test_support",
"//components/cast/message_port:test_message_port_receiver",
"//testing/gtest",
]
sources = [ "cast_message_port_impl_unittest.cc" ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "fuchsia/cast_streaming/cast_message_port_impl.h"
#include "components/cast_streaming/browser/cast_message_port_impl.h"

#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "components/cast/message_port/test_message_port_receiver.h"
#include "fuchsia/cast_streaming/message_serialization.h"
#include "components/cast_streaming/browser/message_serialization.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace cast_streaming {
Expand Down
9 changes: 0 additions & 9 deletions fuchsia/cast_streaming/DEPS

This file was deleted.

167 changes: 0 additions & 167 deletions fuchsia/cast_streaming/cast_message_port_impl.cc

This file was deleted.

57 changes: 0 additions & 57 deletions fuchsia/cast_streaming/cast_message_port_impl.h

This file was deleted.

0 comments on commit 3c69fc2

Please sign in to comment.