Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5320)

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc

Issue 1651903003: Disable several Lofi tests on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
index eff84c624af49406eda58790799c8f2793e7b5db..4342f14ddbc03be9e769928ed1ce41d2aeac12b0 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
@@ -410,7 +410,12 @@ TEST_F(DataReductionProxyNetworkDelegateTest, LoFiTransitions) {
}
}
-TEST_F(DataReductionProxyNetworkDelegateTest, NetHistograms) {
+#if defined(OS_ANDROID)
+#define MAYBE_NetHistograms DISABLED_NetHistograms
+#else
+#define MAYBE_NetHistograms NetHistograms
+#endif
+TEST_F(DataReductionProxyNetworkDelegateTest, MAYBE_NetHistograms) {
const std::string kReceivedValidOCLHistogramName =
"Net.HttpContentLengthWithValidOCL";
const std::string kOriginalValidOCLHistogramName =
@@ -670,7 +675,12 @@ TEST_F(DataReductionProxyNetworkDelegateTest, NullRequest) {
EXPECT_TRUE(headers.HasHeader(kChromeProxyHeader));
}
-TEST_F(DataReductionProxyNetworkDelegateTest, OnCompletedInternalLoFi) {
+#if defined(OS_ANDROID)
+#define MAYBE_OnCompletedInternalLoFi DISABLED_OnCompletedInternalLoFi
+#else
+#define MAYBE_OnCompletedInternalLoFi OnCompletedInternalLoFi
+#endif
+TEST_F(DataReductionProxyNetworkDelegateTest, MAYBE_OnCompletedInternalLoFi) {
// Enable Lo-Fi.
const struct {
bool lofi_response;
@@ -697,7 +707,14 @@ TEST_F(DataReductionProxyNetworkDelegateTest, OnCompletedInternalLoFi) {
}
}
-TEST_F(DataReductionProxyNetworkDelegateTest, OnCompletedInternalLoFiPreview) {
+#if defined(OS_ANDROID)
+#define MAYBE_OnCompletedInternalLoFiPreview \
+ DISABLED_OnCompletedInternalLoFiPreview
+#else
+#define MAYBE_OnCompletedInternalLoFiPreview OnCompletedInternalLoFiPreview
+#endif
+TEST_F(DataReductionProxyNetworkDelegateTest,
+ MAYBE_OnCompletedInternalLoFiPreview) {
// Enable Lo-Fi.
const struct {
bool is_preview;
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698