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

Issue 2050153003: Update Unit test for AppRTCMobile app (Closed)

Created:
4 years, 6 months ago by afedor
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add a GN target for unit tests, get them working again and added a test. BUG=webrtc:3417 Committed: https://crrev.com/bcc5d87f0932e96efdd90dc7fcc50ebab301ce62 Cr-Commit-Position: refs/heads/master@{#14959}

Patch Set 1 #

Patch Set 2 : Rebase to current master #

Total comments: 10

Patch Set 3 : Update tests for AppRTCMobile app #

Total comments: 8

Patch Set 4 : Updates based on comments #

Total comments: 1

Patch Set 5 : Wrap test code build. Use containsString for SDP check #

Patch Set 6 : Remove unneeded/undefined deps #

Patch Set 7 : Fixes to pass tests on iOS simulator #

Total comments: 1

Patch Set 8 : Add test Info.plist #

Patch Set 9 : Use existing Info.plist #

Total comments: 1

Patch Set 10 : Various requested cleanups #

Total comments: 9

Patch Set 11 : More cleanup requests #

Total comments: 5

Patch Set 12 : More styling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -12 lines) Patch
M AUTHORS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/examples/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +27 lines, -0 lines 0 comments Download
M webrtc/examples/objc/AppRTCMobile/ARDAppClient.m View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 chunks +75 lines, -11 lines 0 comments Download

Messages

Total messages: 58 (21 generated)
afedor
Followup to the previous patch enabling AVFoundation support on Mac. FYI, curiously, the test I ...
4 years, 6 months ago (2016-06-09 14:48:11 UTC) #3
afedor
Updated due to a conflict with the current master. Any update on if this is ...
4 years, 5 months ago (2016-06-30 20:03:51 UTC) #4
tkchin_webrtc
sorry for the delay, I hadn't seen the mails If you check the reviewer name ...
4 years, 2 months ago (2016-09-29 11:14:40 UTC) #6
kthelgason
On 2016/06/30 20:03:51, afedor wrote: > Updated due to a conflict with the current master. ...
4 years, 2 months ago (2016-09-29 11:20:35 UTC) #7
kthelgason
Also, the BUG field should be webrtc:3417, otherwise this refers to a chromium bug.
4 years, 2 months ago (2016-09-29 11:21:43 UTC) #8
afedor
Updated to just include the Unit tests now. Comments?
4 years, 2 months ago (2016-10-13 22:32:42 UTC) #11
kthelgason
This lgtm. Thanks Adam. https://codereview.webrtc.org/2050153003/diff/40001/webrtc/examples/BUILD.gn File webrtc/examples/BUILD.gn (right): https://codereview.webrtc.org/2050153003/diff/40001/webrtc/examples/BUILD.gn#newcode381 webrtc/examples/BUILD.gn:381: ] This should be the ...
4 years, 2 months ago (2016-10-17 08:27:37 UTC) #13
daniela-webrtc
Few comments to address https://codereview.webrtc.org/2050153003/diff/40001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm File webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm (left): https://codereview.webrtc.org/2050153003/diff/40001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm#oldcode88 webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm:88: NSAssert(NO, @"Expectation timed out."); By ...
4 years, 2 months ago (2016-10-17 11:33:31 UTC) #14
afedor
Updated https://codereview.webrtc.org/2050153003/diff/40001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm File webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm (right): https://codereview.webrtc.org/2050153003/diff/40001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm#newcode381 webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm:381: EXPECT_TRUE([h264Desc.description webrtc_containsString: expectedSdpLines[0]] On 2016/10/17 11:33:31, denicija-webrtc wrote: ...
4 years, 2 months ago (2016-10-19 03:10:47 UTC) #15
kthelgason
On 2016/10/19 03:10:47, afedor wrote: > ... but I > though I'd just test for ...
4 years, 2 months ago (2016-10-19 07:44:43 UTC) #16
kthelgason
https://codereview.webrtc.org/2050153003/diff/60001/webrtc/examples/BUILD.gn File webrtc/examples/BUILD.gn (right): https://codereview.webrtc.org/2050153003/diff/60001/webrtc/examples/BUILD.gn#newcode386 webrtc/examples/BUILD.gn:386: } Both the config and the target should be ...
4 years, 2 months ago (2016-10-19 07:58:33 UTC) #17
afedor
OK. Also switched to using just 'containsString' for the SDP test
4 years, 2 months ago (2016-10-19 14:29:50 UTC) #18
daniela-webrtc
On 2016/10/19 14:29:50, afedor wrote: > OK. > > Also switched to using just 'containsString' ...
4 years, 2 months ago (2016-10-20 08:05:27 UTC) #19
afedor
Tested on iOS, Hopefully should pass now
4 years, 2 months ago (2016-10-20 14:51:01 UTC) #24
afedor
Sorry, few more fixes to pass tests on IOS simulator. Also, FYI [[NSError alloc] init] ...
4 years, 2 months ago (2016-10-20 15:16:17 UTC) #25
kthelgason
Thanks Fedor, this is great! I just have one minor comment. I'd still like tkchin@ ...
4 years, 1 month ago (2016-10-24 08:57:27 UTC) #30
afedor
Add Info.plist for tests
4 years, 1 month ago (2016-10-25 15:10:24 UTC) #31
kthelgason
On 2016/10/25 15:10:24, afedor wrote: > Add Info.plist for tests Sorry, I wasn't clear enough ...
4 years, 1 month ago (2016-10-26 08:31:14 UTC) #32
afedor
On 2016/10/26 08:31:14, kthelgason wrote: > On 2016/10/25 15:10:24, afedor wrote: > > Add Info.plist ...
4 years, 1 month ago (2016-10-26 13:21:03 UTC) #33
kthelgason
On 2016/10/26 13:21:03, afedor wrote: > Wouldn't that one have the wrong Bundle Identifier? I'm ...
4 years, 1 month ago (2016-10-28 13:58:59 UTC) #34
afedor
Uses the existing Info.plist
4 years, 1 month ago (2016-10-28 14:31:25 UTC) #35
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/2050153003/160001
4 years, 1 month ago (2016-10-28 14:32:09 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/9642)
4 years, 1 month ago (2016-10-28 14:35:22 UTC) #40
kthelgason
On 2016/10/28 14:35:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 1 month ago (2016-10-28 14:36:39 UTC) #41
kthelgason
On 2016/10/28 14:35:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 1 month ago (2016-10-28 14:36:43 UTC) #42
tkchin_webrtc
On 2016/10/28 14:36:43, kthelgason wrote: > On 2016/10/28 14:35:22, commit-bot: I haz the power wrote: ...
4 years, 1 month ago (2016-11-01 21:51:31 UTC) #43
afedor
Sorry, I must have missed those. Not sure I completely understood your comments, so please ...
4 years, 1 month ago (2016-11-02 14:11:02 UTC) #44
tkchin_webrtc
https://codereview.webrtc.org/2050153003/diff/160001/webrtc/examples/BUILD.gn File webrtc/examples/BUILD.gn (right): https://codereview.webrtc.org/2050153003/diff/160001/webrtc/examples/BUILD.gn#newcode368 webrtc/examples/BUILD.gn:368: rtc_test("test_apprtcmobile") { nit: apprtcmobile_tests https://codereview.webrtc.org/2050153003/diff/180001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm File webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm (right): https://codereview.webrtc.org/2050153003/diff/180001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm#newcode12 ...
4 years, 1 month ago (2016-11-07 19:14:21 UTC) #45
afedor
https://codereview.webrtc.org/2050153003/diff/180001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm File webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm (right): https://codereview.webrtc.org/2050153003/diff/180001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm#newcode61 webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm:61: handler:(void (^)(BOOL didError))handler; On 2016/11/07 19:14:21, tkchin_webrtc wrote: > ...
4 years, 1 month ago (2016-11-07 20:25:25 UTC) #46
tkchin_webrtc
On 2016/11/07 20:25:25, afedor wrote: > https://codereview.webrtc.org/2050153003/diff/180001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm > File webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm (right): > > https://codereview.webrtc.org/2050153003/diff/180001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm#newcode61 > ...
4 years, 1 month ago (2016-11-07 20:38:29 UTC) #47
afedor
On 2016/11/07 20:38:29, tkchin_webrtc wrote: > On 2016/11/07 20:25:25, afedor wrote: > > > https://codereview.webrtc.org/2050153003/diff/180001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm ...
4 years, 1 month ago (2016-11-07 20:42:17 UTC) #48
tkchin_webrtc
Just some style nits remaining. https://codereview.webrtc.org/2050153003/diff/200001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm File webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm (right): https://codereview.webrtc.org/2050153003/diff/200001/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm#newcode270 webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm:270: } connectedHandler:^(void){ nit: ^{ ...
4 years, 1 month ago (2016-11-07 20:51:09 UTC) #49
afedor
OK. Other styling issues updated.
4 years, 1 month ago (2016-11-07 21:09:50 UTC) #50
tkchin_webrtc
On 2016/11/07 21:09:50, afedor wrote: > OK. Other styling issues updated. lgtm!
4 years, 1 month ago (2016-11-07 21:11:41 UTC) #51
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/2050153003/220001
4 years, 1 month ago (2016-11-07 21:32:45 UTC) #54
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 1 month ago (2016-11-07 22:53:32 UTC) #56
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 22:53:46 UTC) #58
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/bcc5d87f0932e96efdd90dc7fcc50ebab301ce62
Cr-Commit-Position: refs/heads/master@{#14959}

Powered by Google App Engine
This is Rietveld 408576698