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

Unified Diff: ios/third_party/earl_grey/xctest_shell.mm

Issue 2173493002: Convert ios_web_shell_test to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eg-tests-deps
Patch Set: Created 4 years, 5 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
Index: ios/third_party/earl_grey/xctest_shell.mm
diff --git a/ios/third_party/earl_grey/xctest_shell.mm b/ios/third_party/earl_grey/xctest_shell.mm
new file mode 100644
index 0000000000000000000000000000000000000000..dea72985ce3c0b3632fe856367e6df72e6249b4e
--- /dev/null
+++ b/ios/third_party/earl_grey/xctest_shell.mm
@@ -0,0 +1,23 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import <UIKit/UIKit.h>
+#import <XCTest/XCTest.h>
+
+// For Chrome on iOS we want to run EarlGrey tests (that are XCTests) for all
+// our build configurations (Debug, Release, ...). In addition, the symbols
+// visibility is configured to private by default. To simplify testing with
+// those constraints, our tests are compiled in the TEST_HOST target instead
+// of the .xctest bundle that all link against this single test (just there to
+// ensure that the bundle is not empty).
+
+@interface XCTestShellTests : XCTestCase
+@end
+
+@implementation XCTestShellTests
+
+- (void)testThatShouldPass {
justincohen 2016/07/21 18:42:05 Does this need to be an xctest at all? the empty
sdefresne 2016/07/22 13:32:08 No, changed to a empty class like in shell_test.mm
+}
+
+@end

Powered by Google App Engine
This is Rietveld 408576698