Commit 59468723 authored by Muyao Xu's avatar Muyao Xu Committed by Commit Bot

Explicitly handled CastDialogViewBrowserTest.InvokeUi_NoSinks

Bug: 1060448
Change-Id: I54a1681f9fbf05b6ec08eea8811e58f029e4d8fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2140924Reviewed-by: default avatarTakumi Fujimoto <takumif@chromium.org>
Commit-Queue: Muyao Xu <muyaoxu@google.com>
Cr-Commit-Position: refs/heads/master@{#757598}
parent ee7f8ee8
...@@ -95,6 +95,10 @@ class CastDialogViewBrowserTest : public DialogBrowserTest { ...@@ -95,6 +95,10 @@ class CastDialogViewBrowserTest : public DialogBrowserTest {
CreateConnectedSink(), CreateConnectedSink(),
CreateUnavailableSink(), CreateUnavailableSink(),
}); });
} else if (name == "NoSinks") {
model = CreateModelWithSinks({});
} else {
NOTREACHED() << "Unexpected test name " << name;
} }
media_router::CastDialogView* dialog = media_router::CastDialogView* dialog =
media_router::CastDialogView::GetInstance(); media_router::CastDialogView::GetInstance();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment