Skip to content

Commit

Permalink
Reenable testLanguageDetectionHttpContentLanguage on device.
Browse files Browse the repository at this point in the history
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: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580024}
  • Loading branch information
Lindsay Pasricha authored and Commit Bot committed Aug 2, 2018
1 parent 47285da commit 032102f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions ios/chrome/browser/translate/translate_egtest.mm
Original file line number Diff line number Diff line change
Expand Up @@ -472,16 +472,8 @@ - (void)testLanguageDetectionWithHashChange {
[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.
- (void)MAYBE_testLanguageDetectionHttpContentLanguage {
- (void)testLanguageDetectionHttpContentLanguage {
// Start the HTTP server.
std::unique_ptr<web::DataResponseProvider> provider(new TestResponseProvider);
web::test::SetUpHttpServer(std::move(provider));
Expand Down

0 comments on commit 032102f

Please sign in to comment.