Commit 5d255cb4 authored by Kyle Milka's avatar Kyle Milka Committed by Commit Bot

Add share features to testing config

Add a few share features to the testing config. These features
will be tested in beta soon as the sharing hub is launching.

Bug: None
Change-Id: I960930af2185b30bb749609084bc1bd76bb03d5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495403
Commit-Queue: Kyle Milka <kmilka@chromium.org>
Reviewed-by: default avatarRobert Kaplow <rkaplow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821354}
parent cca7402b
...@@ -295,9 +295,11 @@ public class ChromeProvidedSharingOptionsProviderTest { ...@@ -295,9 +295,11 @@ public class ChromeProvidedSharingOptionsProviderTest {
@Test @Test
@MediumTest @MediumTest
@Features.DisableFeatures({ChromeFeatureList.CHROME_SHARING_HUB_V15}) @Features.DisableFeatures(
{ChromeFeatureList.CHROME_SHARING_HUB_V15, ChromeFeatureList.CHROME_SHARE_SCREENSHOT})
@Features.EnableFeatures({ChromeFeatureList.CHROME_SHARE_HIGHLIGHTS_ANDROID}) @Features.EnableFeatures({ChromeFeatureList.CHROME_SHARE_HIGHLIGHTS_ANDROID})
public void getPropertyModels_sharingHub15Disabled_noHighlights() { public void
getPropertyModels_sharingHub15Disabled_noHighlights() {
setUpChromeProvidedSharingOptionsProviderTest(/*printingEnabled=*/false); setUpChromeProvidedSharingOptionsProviderTest(/*printingEnabled=*/false);
List<PropertyModel> propertyModels = List<PropertyModel> propertyModels =
mChromeProvidedSharingOptionsProvider.getPropertyModels( mChromeProvidedSharingOptionsProvider.getPropertyModels(
...@@ -310,6 +312,7 @@ public class ChromeProvidedSharingOptionsProviderTest { ...@@ -310,6 +312,7 @@ public class ChromeProvidedSharingOptionsProviderTest {
@MediumTest @MediumTest
@Features.EnableFeatures({ChromeFeatureList.CHROME_SHARING_HUB_V15, @Features.EnableFeatures({ChromeFeatureList.CHROME_SHARING_HUB_V15,
ChromeFeatureList.CHROME_SHARE_HIGHLIGHTS_ANDROID}) ChromeFeatureList.CHROME_SHARE_HIGHLIGHTS_ANDROID})
@Features.DisableFeatures({ChromeFeatureList.CHROME_SHARE_SCREENSHOT})
public void public void
getPropertyModels_sharingHub15HighlightsEnabled() { getPropertyModels_sharingHub15HighlightsEnabled() {
setUpChromeProvidedSharingOptionsProviderTest(/*printingEnabled=*/false); setUpChromeProvidedSharingOptionsProviderTest(/*printingEnabled=*/false);
......
...@@ -1615,8 +1615,11 @@ ...@@ -1615,8 +1615,11 @@
{ {
"name": "Enabled", "name": "Enabled",
"enable_features": [ "enable_features": [
"ChromeShareHighlightsAndroid",
"ChromeShareQRCode", "ChromeShareQRCode",
"ChromeSharingHub" "ChromeShareScreenshot",
"ChromeSharingHub",
"ChromeSharingHubV15"
] ]
} }
] ]
......
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