[Author: dmaclach]

Clean up GTMSenTestCase so that the format strings work correctly
Get rid of a lot of bad whitespace.

TBR=thomasvl
DELTA=218  (0 added, 0 deleted, 218 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@554 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Fix up one more format string

TBR=dmaclach

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@555 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: dmaclach]

Turn off warnings on gcc. Leave them on on clang.

R=thomasvl
DELTA=32  (30 added, 2 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@556 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: dmaclach]

Fix up GTM for Xcode 4.2

R=thomasvl
DELTA=9  (9 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@557 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: dmaclach]

Fix up another case of bad format string handling by various versions of Xcode.

R=thomasvl
DELTA=15  (15 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@558 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: dmaclach]

Fix up final GTM issues that I know of for format.

TBR=thomasvl
DELTA=16  (16 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@559 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Fix up string to match.  Probably a stray delete we missed.

R=dmaclach
DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@560 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: ejw]

Remove analyzer warning for returning released memory.

R=thomasvl
APPROVED=thomasvl
DELTA=4  (4 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@561 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: mmentovai]

10.8 SDK compatibility for GTM.

|Object| is gone in Objective-C 2 in the 10.8 SDK, use |NSObject|
instead as for iOS.

R=dmaclach,thomasvl
APPROVED=thomasvl
DELTA=5  (2 added, 0 deleted, 3 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@562 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: mmentovai]

Fix error-case memory leak in GTMSMJobRemove.

GTMPerformOnLabel will create an error in &local_error when it returns
NULL, so there is no need to create yet another error in local_error.
It masks the error created by GTMPerformOnLabel, which is leaked.

R=dmaclach,thomasvl
APPROVED=thomasvl
DELTA=2  (0 added, 2 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@563 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Overhaul how iOS unittests are run.

Newer versions of Xcode have changes in the Simulator and supporting
frameworks so the way GTM had been running unittests no longer works.
The Simulator frameworks bail on launch with a zero exit code, so unless
you look at the raw output, you don't even notice the tests no longer
run.

This new way comes from the work done in Chromium to actually launch the
unittests fully under the simulator to get them a much more realistic
environment. It also takes what was learned there about getting the output
of the binary and how to deal with all the different ways a test and the
simulator can fail to start along with all the different ways the failures/
crashing of the app can come back.

There are some new env variables that let you force a version of the
simulator (assuming it is installed) along with one to say if you want to
run under iPhone or iPad.

- Land a copy of the Chromium iossim util.
- Convert RunIPhoneUnitTest over to use iossim.

R=dmaclach
DELTA=201  (79 added, 77 deleted, 45 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@564 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Reverting changes for launching tests due to some errors not seen in
  testing before hand.

TBR=dmaclach

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@565 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Take 2: Overhaul how iOS unittests are run.

Newer versions of Xcode have changes in the Simulator and supporting
frameworks so the way GTM had been running unittests no longer works.
The Simulator frameworks bail on launch with a zero exit code, so unless
you look at the raw output, you don't even notice the tests no longer
run.

This new way comes from the work done in Chromium to actually launch the
unittests fully under the simulator to get them a much more realistic
environment. It also takes what was learned there about getting the output
of the binary and how to deal with all the different ways a test and the
simulator can fail to start along with all the different ways the failures/
crashing of the app can come back.

There are some new env variables that let you force a version of the
simulator (assuming it is installed) along with one to say if you want to
run under iPhone or iPad.

- Land a copy of the Chromium iossim util.
- Land RuniOSUnitTestsUnderSimulator that uses iossim, projects have to be
  moved over to use it.

R=dmaclach
DELTA=227  (227 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@567 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

But in a version check and error out if the Xcode version appears to be
  too new for support the way unittests are run.

R=dmaclach
DELTA=15  (14 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@568 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Remove unneeded import.

TBR=dmaclach

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@569 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Updated iossim with support for controlling the startup timeout.
Add env variable to the test runner to allow control of the startup timeout.

R=dmaclach
DELTA=18  (7 added, 0 deleted, 11 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@570 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: grobbins]

Modernize GTMObjectSingleton: Use dispatch_once, make ARC compatible, remove non-allocation NSObject methods, 
remove dependence on GTMDevAssert, add link to Chris Hanson's discussion of singletons, add comment discouraging developers from using this header file.

R=thomasvl
APPROVED=thomasvl
DELTA=75  (24 added, 39 deleted, 12 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@571 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: dpb]

Avoid warning of dead store to self when using GTMInvalidateInitializer with
ARC.

R=dmaclach
APPROVED=dmaclach
DELTA=1  (1 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@572 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: grobbins]

Add a reset method to the boolean run loop context since, between tests, [context reset] looks more natural than [context setShouldStop:NO] and is more concise than allocating a new context.

R=thomasvl
APPROVED=dmaclach
DELTA=5  (5 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@573 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: param]

Fix implicit conversion warnings.

R=dmaclach,thomasvl
APPROVED=dmaclach
DELTA=9  (0 added, 0 deleted, 9 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@575 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3