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

Issue 12047058: Add NSLogTestEventListener to support running tests on iOS 6 devices. (Closed)

Created:
7 years, 11 months ago by lliabraa
Modified:
7 years, 8 months ago
Reviewers:
CC:
chromium-reviews, erikwright+watch_chromium.org, sail+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add NSLogTestEventListener to support running tests on iOS 6 devices. As of iOS 6, stdout is not written to the device's console log, so this CL adds a TestEventListener that writes all teset output via NSLog. BUG=None

Patch Set 1 #

Total comments: 3

Patch Set 2 : one arg per line in declaration or definitions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -0 lines) Patch
M base/base.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A base/test/nslog_test_event_listener.h View 1 1 chunk +48 lines, -0 lines 0 comments Download
A base/test/nslog_test_event_listener.mm View 1 chunk +262 lines, -0 lines 0 comments Download
M base/test/test_listener_ios.h View 1 chunk +3 lines, -0 lines 0 comments Download
M base/test/test_listener_ios.mm View 2 chunks +15 lines, -0 lines 0 comments Download
M base/test/test_suite.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
lliabraa
@phajdan.jr for review (please let me know if there is someone more appropriate) @jar for ...
7 years, 11 months ago (2013-01-23 18:59:19 UTC) #1
jar (doing other things)
https://codereview.chromium.org/12047058/diff/1/base/test/nslog_test_event_listener.h File base/test/nslog_test_event_listener.h (right): https://codereview.chromium.org/12047058/diff/1/base/test/nslog_test_event_listener.h#newcode37 base/test/nslog_test_event_listener.h:37: const testing::UnitTest& unit_test, int iteration) OVERRIDE; nit: one arg ...
7 years, 11 months ago (2013-01-23 19:13:32 UTC) #2
Paweł Hajdan Jr.
I think we shouldn't duplicate gtest. It's recipe for maintenance troubles and small incompatibilities. Could ...
7 years, 11 months ago (2013-01-24 01:41:53 UTC) #3
lliabraa
I originally took the upstreaming approach but it is a significant refactoring of core gtest ...
7 years, 11 months ago (2013-01-24 12:36:30 UTC) #4
jar (doing other things)
As I understand the patch, rather than getting fixes into stuff that is kindred to ...
7 years, 11 months ago (2013-01-24 17:10:20 UTC) #5
Paweł Hajdan Jr.
On 2013/01/24 17:10:20, jar wrote: > As I understand the patch, rather than getting fixes ...
7 years, 11 months ago (2013-01-24 17:21:37 UTC) #6
lliabraa
7 years, 11 months ago (2013-01-24 17:29:47 UTC) #7
On 2013/01/24 17:21:37, Paweł Hajdan Jr. wrote:
> On 2013/01/24 17:10:20, jar wrote:
> > As I understand the patch, rather than getting fixes into stuff that is
> kindred
> > to third party (actually, gtest), you'd like to add to base with near-copies
> of
> > the file that are modified.
> > 
> > That is probably not a good reason for adding to base... so I'd really like
to
> > see either an upstream effort, or worst case, landing in a place other than
> > base.
> 
> +1
> 
> We're probably not the only ones to hit this issue, so it seems worth it for
> gtest to support it. I can help with convincing gtest maintainers if needed.

Okay..thanks for the input.

Powered by Google App Engine
This is Rietveld 408576698