| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Add Quaternions to our list of things the GTMSenTestCase can handle.
R=fvaucher
DELTA=3 (3 added, 0 deleted, 0 changed)
|
|
|
|
|
| |
Add support for doing asserts on GLK types (GLKVector*, GLKMatrix*)
R=thomasvl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move a bunch of tests over onto the GTM test base class.
Fetch some test images from the bundle the test is compiled into instead
of assuming main app.
Change the default iOS logging directory to just be the documents directory
since it should work for all iOS versions.
Add initial support for using SenTestingKit instead of our custom version
to allow the Xcode 4 UI for unittesting.
Add a target for using SenTestingKit.
Add a shell app for the TEST_HOST for SenTestingKit usage (since there are
UI tests, we need to use a real app and not the octest binary).
R=dmaclach
DELTA=517 (482 added, 9 deleted, 26 changed)
|
|
|
|
|
|
|
| |
Clean up GTMSenTest so that the test predicates match more closely the ones supplied with SenTest
and also gets rid of "Using NULL in arithmetic" warnings when running through C++ compiler.
R=grobbins
DELTA=62 (0 added, 8 deleted, 54 changed)
|
|
|
|
|
|
|
|
| |
Makes GTMSenTestCase work better with abstract test classes in cases where
we want to tag a class as being an abstract test case even if it doesn't
have any subclasses.
R=thomasvl
DELTA=36 (0 added, 19 deleted, 17 changed)
|
|
|
|
|
|
|
| |
Fix up the unit testing stack that I broke on iPhone. This makes the unittesting stuff on iPhone
much closer to the original SenTestCase design.
R=thomasvl,altse
DELTA=180 (96 added, 61 deleted, 23 changed)
|
|
|
|
|
|
| |
Fix syntax error in STAssertEqualObjects
R=thomasvl
DELTA=1 (0 added, 0 deleted, 1 changed)
|
|
|
|
|
|
|
|
|
| |
Add support for more complex unit test class hierarchies than what is
available out of the box in SenTestCase. I currently have the release notes
checked out as part of a separate change, and will update them accordingly
for this as well.
R=thomasvl,mrossetti
DELTA=80 (79 added, 0 deleted, 1 changed)
|
|
|
|
|
|
|
| |
Fix up GTMSenTestCase to compile nicely under clang.
Fix for http://code.google.com/p/google-toolbox-for-mac/issues/detail?id=34.
R=thomasvl
DELTA=17 (0 added, 0 deleted, 17 changed)
|
|
|
|
|
|
|
| |
Fixes up some warnings that were being generated when compiling with the 4.2 compiler.
Also cleans up code to look prettier.
DELTA=111 (0 added, 0 deleted, 111 changed)
R=thomasvl
|
|
|
|
|
|
| |
Allow inclusion of GTMSenTestCase from objective-C++ classes.
R=dmaclach,thomasvl
DELTA=7 (7 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
stack.
- Added GTM_EXTERN that makes it easier to mix and match objc and objc++ code.
- Added GTMHotKeysTextField for display and editing of hot key settings.
- Added GTMCarbonEvent for dealing with Carbon Events and HotKeys in a ObjC like way.
- Backported the Atomic Barrier Swap functions for Objective C back to Tiger.
- Added a variety of new functions to GTMUnitTestingUtilities for checking if the screensaver is in the way, waiting on user events, and generating keystrokes.
- If you are using any Carbon routines that log (DebugStr, AssertMacros.h) and use GTMUnitTestDevLog, the log routines now go through _GTMDevLog so that they can be caught in GTMUnitTestDevLog and verified like any _GTMDevLog calls you may make. For an example of this in action see GTMCarbonEventTest.m.
- Added GTMFileSystemKQueue. It provides a simple wrapper for kqueuing something in the file system and tracking changes to it.
- RunIPhoneUnitTest.sh now cleans up the user home directory and creates a documents directory within it, used when requesting a NSDocumentDirectory.
- Added GTMNSFileManager+Carbon which contains routines for path <-> Alias conversion and path <-> FSRef conversion.
- Added GTMNSArray+Merge for merging one array into another with or without a custom merging function, returning a new array with the merged contents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
way for all GTM code to do it.
- Added GTMDebugThreadValidation to allow you to enforce the fact that your
code must run in the main thread in DEBUG builds.
- Updated some internals of the iPhone unittesting so it doesn't double print
the test descriptions, file names, or lines numbers of a test failure line.
Also includes the test names in the error output.
- Changed the xcconfigs so that know it's easier to set different settings at
the different levels and not accidentally overwrite settings set at lower
levels in the "settings collapse". Also tightened up warnings significantly.
- Changed how gtm_unitTestExposedBindingsTestValues works. If you have an
implementation of gtm_unitTestExposedBindingsTestValues in your own code
you will need to update to the new way of calling. See implementations in
GTMNSObject+BindingUnitTesting.m for details.
- Added support for grabbing the build number for a particular OS in
GTMSystemVersion and easily comparing it to known build numbers, and switched
some types from in GTMSystemVersion from "int" to SInt32 to make 64 bit work
better.
- Added support for SnowLeopard (10A96). We build cleanly with the 10.6 SDKs and
all radar checks were updated accordingly. Build All script was also updated
to build on SnowLeopard if you have the SDK available.
- Turned off building ppc64 GTM because the SnowLeopard SDK currently
doesn't have ppc64 support, so SenTestCase isn't defined. This makes it
impossible to build the ppc64 10.5 config on SnowLeopard. We have left the
setting in the xcconfig for those of you who need it, but have disabled
it in the GTM project settings.
- Turned on stack smashing protection on the debug builds for all Leopard
and above.
- Added ability to easily do leak checking by defining the GTM_ENABLE_LEAKS
environment variable. It isn't on by default because several of Apple's
frameworks leak. You can work around these false positives by using the
GTM_LEAKS_SYMBOLS_TO_IGNORE environment variable. Also if you turn on leaks
make sure to turn off zombies by defining the GTM_DISABLE_ZOMBIES variable,
otherwise every memory allocation you do will look like a leak.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to it's dependencies on undocumented frameworks, and the ScreenSaver
framework doesn't play nicely in GC mode.
- Added property methods to GTMHTTPFetcher. These are convenient alternatives
to storing an NSDictionary in the userData.
- Renamed GTMDevLog.m to GTMDevLogUnitTestingBridge.m and added some more
comments where it comes into play to hopefully make it more clear that it
isn't needed in most cases.
- Fixed a potential GTMHTTPFetcher crash on failed authentication.
- Added a obj-c logging package, GTMLogger, for applications that want an
application level logging system. See GTMLogger.h, GTMLogger+ASL.h, and
GTMLoggerRingBufferWriter.h for what the basic system and two optional
additions can do.
|
|
|
|
|
|
|
| |
Landing GTMHTTPServer as a simple server but mainly for use in unittesting.
_GTMCompileAssert for doing compile time assertions to GTMDefines.h
Lots of improvments for UnitTesting, Dave's gonna put up a wiki page shortly with the full details of what can be done.
|
|
|
|
|
|
|
|
| |
- bug fixes
- code coverage support
- more complete unittests
- full support for unittesting UIs
- support for the iphone sdk (include ui unittesting)
|
|
|