Commit 032102f0 authored by Lindsay Pasricha's avatar Lindsay Pasricha Committed by Commit Bot

Reenable testLanguageDetectionHttpContentLanguage on device.

Bug: 847948
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I1aa8d2b06ccbe326beb9e7832cee69d60882b25c
Reviewed-on: https://chromium-review.googlesource.com/1159193
Commit-Queue: Lindsay Pasricha <lindsayw@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580024}
parent 47285da8
...@@ -472,16 +472,8 @@ using translate::LanguageDetectionController; ...@@ -472,16 +472,8 @@ using translate::LanguageDetectionController;
[self assertLanguageDetails:expectedLanguageDetails]; [self assertLanguageDetails:expectedLanguageDetails];
} }
// TODO(crbug.com/847948): This test is faling on devices.
#if TARGET_IPHONE_SIMULATOR
#define MAYBE_testLanguageDetectionHttpContentLanguage \
testLanguageDetectionHttpContentLanguage
#else
#define MAYBE_testLanguageDetectionHttpContentLanguage \
DISABLED_testLanguageDetectionHttpContentLanguage
#endif
// Tests that language in http content is detected. // Tests that language in http content is detected.
- (void)MAYBE_testLanguageDetectionHttpContentLanguage { - (void)testLanguageDetectionHttpContentLanguage {
// Start the HTTP server. // Start the HTTP server.
std::unique_ptr<web::DataResponseProvider> provider(new TestResponseProvider); std::unique_ptr<web::DataResponseProvider> provider(new TestResponseProvider);
web::test::SetUpHttpServer(std::move(provider)); web::test::SetUpHttpServer(std::move(provider));
......
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