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

Issue 2697603002: Move iOS tests to XCTest from gtest. (Closed)

Created:
3 years, 10 months ago by kthelgason
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc, kjellander_webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move iOS tests to XCTest from gtest. This enables tighter integration with XCode tooling and is a prereq for adding UI tests. BUG=webrtc:7150 Review-Url: https://codereview.webrtc.org/2697603002 Cr-Commit-Position: refs/heads/master@{#16609} Committed: https://chromium.googlesource.com/external/webrtc/+/4065a5762bdb2fd257586d85552206e2e776382f

Patch Set 1 #

Patch Set 2 : Enable apprtcmobile tests on bots #

Total comments: 15

Patch Set 3 : Code review comments #

Total comments: 1

Patch Set 4 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -935 lines) Patch
M tools-webrtc/ios/tests/common_tests.json View 1 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/examples/BUILD.gn View 1 2 1 chunk +29 lines, -23 lines 0 comments Download
D webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm View 1 chunk +0 lines, -457 lines 0 comments Download
A + webrtc/examples/objc/AppRTCMobile/tests/ARDAppClient_xctest.mm View 5 chunks +12 lines, -204 lines 0 comments Download
A webrtc/examples/objc/AppRTCMobile/tests/ARDSDPUtils_xctest.mm View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
D webrtc/examples/objc/AppRTCMobile/tests/ARDSettingsModelTests.mm View 1 chunk +0 lines, -159 lines 0 comments Download
A + webrtc/examples/objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm View 1 2 3 2 chunks +17 lines, -92 lines 0 comments Download
M webrtc/webrtc.gni View 1 2 3 2 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
kthelgason
kjellander: FYI magjed, denicija: Please take a look. The tests are up and running on ...
3 years, 10 months ago (2017-02-13 15:32:58 UTC) #3
magjed_webrtc
Great that you got this working! I only have one comment, see below. https://codereview.webrtc.org/2697603002/diff/40001/webrtc/examples/objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm File ...
3 years, 10 months ago (2017-02-13 15:57:36 UTC) #4
daniela-webrtc
Some comments and nits that could be addressed if you see fit. In general lgtm ...
3 years, 10 months ago (2017-02-13 16:08:22 UTC) #5
kjellander_webrtc
https://codereview.webrtc.org/2697603002/diff/40001/webrtc/examples/BUILD.gn File webrtc/examples/BUILD.gn (right): https://codereview.webrtc.org/2697603002/diff/40001/webrtc/examples/BUILD.gn#newcode457 webrtc/examples/BUILD.gn:457: ios_xctest_test("apprtcmobile_tests") { The rtc_test template in https://chromium.googlesource.com/external/webrtc/+/master/webrtc/webrtc.gni#232 gets the ...
3 years, 10 months ago (2017-02-14 09:04:10 UTC) #7
kthelgason
https://codereview.webrtc.org/2697603002/diff/40001/webrtc/examples/BUILD.gn File webrtc/examples/BUILD.gn (right): https://codereview.webrtc.org/2697603002/diff/40001/webrtc/examples/BUILD.gn#newcode436 webrtc/examples/BUILD.gn:436: if (is_ios) { On 2017/02/13 16:08:21, denicija-webrtc wrote: > ...
3 years, 10 months ago (2017-02-14 09:48:46 UTC) #8
kjellander_webrtc
lgtm with my comment addressed. Please run at least one trybot per platform as well. ...
3 years, 10 months ago (2017-02-14 09:57:27 UTC) #9
magjed_webrtc
Is the file name *_xctest.mm standard? For example, the name ARDAppClient_xctest.mm looks weird to me. ...
3 years, 10 months ago (2017-02-14 10:00:28 UTC) #12
kthelgason
On 2017/02/14 10:00:28, magjed_webrtc wrote: > Is the file name *_xctest.mm standard? For example, the ...
3 years, 10 months ago (2017-02-14 10:04:21 UTC) #13
daniela-webrtc
On 2017/02/14 10:04:21, kthelgason wrote: > On 2017/02/14 10:00:28, magjed_webrtc wrote: > > Is the ...
3 years, 10 months ago (2017-02-14 10:09:18 UTC) #14
kthelgason
On 2017/02/14 10:09:18, denicija-webrtc wrote: > On 2017/02/14 10:04:21, kthelgason wrote: > > On 2017/02/14 ...
3 years, 10 months ago (2017-02-14 10:43:07 UTC) #20
kthelgason
On 2017/02/14 10:09:18, denicija-webrtc wrote: > On 2017/02/14 10:04:21, kthelgason wrote: > > On 2017/02/14 ...
3 years, 10 months ago (2017-02-14 10:43:09 UTC) #21
magjed_webrtc
lgtm
3 years, 10 months ago (2017-02-14 12:48:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2697603002/100001
3 years, 10 months ago (2017-02-14 12:56:21 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 12:59:00 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/external/webrtc/+/4065a5762bdb2fd257586d855...

Powered by Google App Engine
This is Rietveld 408576698