aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting
Commit message (Collapse)AuthorAge
* support invoking the script via symlinksGravatar Thomas Van Lenten2015-09-08
|
* Minor update for Xcode 6 unittesting wrapperGravatar Thomas Van Lenten2015-09-08
|
* Updated iossim binary with improved crash detection for Xcode 6.1.Gravatar thomasvl2014-11-17
| | | | | (Source bassed of chromium hash 10318845b6eaca2658d96df562c34579df5a08f2)
* Change output when simulator fails to open to be a note.Gravatar thomasvl2014-11-17
|
* Rebuild of iossim to get things working with Xcode 6.1.Gravatar thomasvl2014-11-06
|
* Updated iossim build that handles iOS 8+ (rather then just 8.0)Gravatar thomasvl2014-10-29
|
* Fix up GTMGoogleTestRunner for Xcode 6.1.Gravatar thomasvl2014-10-29
| | | | | - We now add selectors to the class because Xcode 6.1 appears to take the test name from the selector instead of from the -[XCTest name] method.
* After switching to Xcode 6, the Simulator sometimes fails to open causing theGravatar thomasvl2014-10-29
| | | | | tests to fail. The projects that have more test targets are more vulnerable to the issue. When the simulator fails to open, we should reset it and try again.
* Use 'iOS Simulator' for Xcode6 and 'iPhone Simulator' for earlier versions ↵Gravatar gtm.daemon2014-10-08
| | | | | | to kill the simulator process. DELTA=8 (7 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=sh=8
* Update XCTAssertNotEqualStrings and XCTAssertEqualStrings to use %zd.Gravatar gtm.daemon2014-09-29
| | | | DELTA=2 (0 added, 0 deleted, 2 changed) DELTA_BY_EXTENSION=h=2
* Use our constant instead of the system header one to avoid a deprecated warning.Gravatar gtm.daemon2014-09-22
| | | | | | Turn off deprecated warnings when we do have to use the symbols. DELTA=17 (16 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=h=5,m=12
* Quote DEVELOPER_BIN_DIR in case it has spaces.Gravatar gtm.daemon2014-09-22
| | | | | | This is required if the Xcode path contains "Xcode6-Beta6 2.app" for example. DELTA=1 (0 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=sh=1
* Updated iossim from chromium (d7875158bb93ef51cc3bfc59e23ca35ed50c5042).Gravatar gtm.daemon2014-08-27
| | | | | Adds support for Xcode 5.x and Xcode 6. Note: Xcode 6 renamed the simulator device types, so any values being passed will need to update.
* General fixes for GTM.Gravatar gtm.daemon2014-08-01
| | | | | | | | | a) only define GTM_IPHONE_USE_SENTEST if it hasn't been defined on Mac. It's a horrible name, but it does control us using SENTEST instead of XCTest. b) Object is now found in the runtime on both iOS and MacOS c) MethodCheck had a potential memory leak DELTA=47 (18 added, 5 deleted, 24 changed) DELTA_BY_EXTENSION=h=30,m=12
* Typo in XCTAssertEqualCStringsGravatar gtm.daemon2014-07-30
| | | | | | Means it doens't compile when that macro is used. DELTA=1 (0 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=h=1
* Add a comment pointing to Xcode 6's XCTestExpectation for testing ↵Gravatar gtm.daemon2014-07-25
| | | | | | asynchronous behavior. DELTA=4 (4 added, 0 deleted, 0 changed) DELTA_BY_EXTENSION=h=4
* Fix up GTMSenTestCase so that it pulls in SenTestingKit on Xcode < 5.Gravatar gtm.daemon2014-06-16
| | | | DELTA=2 (1 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=h=2
* Fix up the gate on GTMSenTestCase and iOS 8 so that it is safer in case a ↵Gravatar gtm.daemon2014-06-06
| | | | | | | | new version of Xcode 5 comes out with __IPHONE_8_0 declared in the iOS 7 SDK. DELTA=2 (0 added, 0 deleted, 2 changed) DELTA_BY_EXTENSION=h=2
* Fix up the XCTest support in GTMGravatar gtm.daemon2014-06-04
| | | | DELTA=42 (30 added, 0 deleted, 12 changed) DELTA_BY_EXTENSION=h=42
* Fixes 64-bit compile time warnings - ↵Gravatar gtm.daemon2014-06-04
| | | | | | googlemac/opensource/google-toolbox-for-mac/ DELTA=1 (0 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=m=1
* Cast NSComparisonResult to long before printing for 64-bit compatibility.Gravatar gtm.daemon2014-06-04
| | | | DELTA=1 (0 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=h=1
* Fix up broken GTMSenTestCase.h. Not sure what happened with the merge there.Gravatar gtm.daemon2014-06-02
| | | | DELTA=47 (2 added, 2 deleted, 43 changed) DELTA_BY_EXTENSION=h=42,m=3
* Add support for XCTest (as opposed to OCUnit) to GTM. Define ↵Gravatar gtm.daemon2014-06-02
| | | | | | GTM_USING_XCTEST to 1 to use it. DELTA=486 (352 added, 0 deleted, 134 changed) DELTA_BY_EXTENSION=h=467,m=15,mm=1,txt=3
* Add a different method for the notification vs. the delegate, but channelGravatar gtm.daemon2014-03-26
| | | | | | | the two together after switching back to the application object. DELTA=8 (6 added, 0 deleted, 2 changed) RCL=63807817-p10 RDATE=2014/03/26 08:58:12
* Reverting, change wasn't correct in all cases.Gravatar gtm.daemon2014-03-26
| | | | RCL=63803810-p10 RDATE=2014/03/26 07:41:01
* Pass correct UIApplication object to method runTestsAndExit:Gravatar gtm.daemon2014-03-26
| | | DELTA=2 (0 added, 0 deleted, 2 changed)
* New iossim to work with xcode 5.1 (and 5.0). It will *not* work for Xcode 4.x.Gravatar gtm.daemon2014-03-13
| | | DELTA=1 (0 added, 0 deleted, 1 changed)
* Updating GTM test files to build for x86_64Gravatar gtm.daemon2014-03-10
| | | DELTA=12 (6 added, 0 deleted, 6 changed)
* More support for allowing GTM to compile with -Wundef.Gravatar gtm.daemon2014-02-24
| | | DELTA=8 (8 added, 0 deleted, 0 changed)
* Fix up some cases of GTM not compiling with -Wundef on.Gravatar gtm.daemon2014-02-21
| | | DELTA=23 (16 added, 0 deleted, 7 changed)
* Fix build of Mac GTM project with static analyzer. Remove ↵Gravatar gtm.daemon2013-12-19
| | | | | GTMGarbageCollection. Remove GC build configs. Remove internal dependence on GTMObjectSingleton. DELTA=447 (49 added, 296 deleted, 102 changed)
* Enable code coverage for GTM test suite in iOS 7.Gravatar gtm.daemon2013-11-26
| | | | | Call gcov_flush at end of tests manually if GTMCodeCoverageApp is available to receive request. DELTA=5 (5 added, 0 deleted, 0 changed)
* - Add gcov flushes that will happen within the test bundles to also captureGravatar gtm.daemon2013-11-26
| | | | | | | | | | the coverage data there. Needed if you link some of your code directly into the test bundles or if you have code in headers (inlines, c++ templates, etc.) - Add a preprocessor gate to only bring in the coverage support when enabled, lets you add the source, and then use a Xcode Configuration to control when it is needed, otherwise you can end up linking coverage into your Release builds. DELTA=28 (28 added, 0 deleted, 0 changed)
* Get rid of extra semicolons in my previous change.Gravatar gtm.daemon2013-11-13
| | | DELTA=2 (0 added, 0 deleted, 2 changed)
* Add GoogleTestRunner to GTM.Gravatar gtm.daemon2013-11-12
| | | | | | | | | This allows you to easily mix and match SenTest with GoogleTest https://code.google.com/p/googletest/ which is nice when working with C++ code. Also adds GTMCodeCoverage which allows you to do code coverage with Xcode 5 and iOS7. DELTA=424 (424 added, 0 deleted, 0 changed)
* Put expected-actual-diff image paths each alone on a line, so it’s easier ↵Gravatar gtm.daemon2013-10-22
| | | | | to turn them into 'open' commands or to pick them out to open in other ways. DELTA=3 (0 added, 0 deleted, 3 changed)
* Extend the default timeout for killing apps and allow it to be controlled viaGravatar gtm.daemon2013-09-27
| | | | | an environment variable. DELTA=8 (6 added, 0 deleted, 2 changed)
* Updated iossim binary to pick up the change inGravatar gtm.daemon2013-09-24
| | | | | | https://src.chromium.org/viewvc/chrome?view=rev&revision=222918 to get better support for the iOS 7 simulator. DELTA=1 (0 added, 0 deleted, 1 changed)
* Fix unset variables issue for user dir and env variables.Gravatar gtm.daemon2013-08-30
| | | DELTA=18 (18 added, 0 deleted, 0 changed)
* Revert (script chokes if variables aren't set):Gravatar gtm.daemon2013-08-30
| | | pass optional home directory and environment variables to the iossim binary.
* Pass optional home directory and environment variables to the iossim binary.Gravatar gtm.daemon2013-08-30
| | | DELTA=11 (11 added, 0 deleted, 0 changed)
* Fix "Format string is not a string literal" compile errorGravatar gtm.daemon2013-08-28
| | | DELTA=1 (0 added, 0 deleted, 1 changed)
* Fix up some assertions so that they don't run into issues with format stringsGravatar gtm.daemon2013-07-22
| | | | | not being constants. DELTA=32 (18 added, 0 deleted, 14 changed)
* Adding support for unit tests using ARC.Gravatar gtm.daemon2013-07-09
| | | DELTA=11 (9 added, 0 deleted, 2 changed)
* Added -[gtm_runUpToNSeconds:context:] to GTMFoundationUnitTestingUtilities.Gravatar gtm.daemon2013-05-13
| | | | | | | | Many people were using -[gtm_runUpToSixtySecondsWithContext:] which was fine until you started to see multiple failures in a single build and it could take a long time for a test pass to complete. 60 seconds is often much longer than necessary to know that a failure condition has occurred. DELTA=15 (15 added, 0 deleted, 0 changed)
* Increase the default timeout in the hope it works around problems testingGravatar gtm.daemon2013-04-22
| | | | | | on VMs where it seems the newer simulator is taking longer to start. Drop a TODO that the 10.8 defaults daemon is gonna make near impossible. DELTA=3 (0 added, 2 deleted, 1 changed)
* Update to a new version of Chromium's iossim that fixes the problem withGravatar gtm.daemon2013-04-17
| | | | | 10.8's defaults daemon that was causing device types not to be honored. DELTA=1 (0 added, 0 deleted, 1 changed)
* Try and make scripted builds more stable by killing the app being launched toGravatar gtm.daemon2013-03-01
| | | | | make sure nothing is left between runs to cause problems for the next launch. DELTA=24 (19 added, 0 deleted, 5 changed)
* Remove the second copy of the testing image, fix the project to referenceGravatar gtm.daemon2013-01-29
| | | | | the right one. DELTA=6 (4 added, 2 deleted, 0 changed)
* On second thought, drop the OS X support for now.Gravatar gtm.daemon2013-01-23
| | | DELTA=31 (1 added, 29 deleted, 1 changed)