aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/GTMUIKit+UnitTesting.h
diff options
context:
space:
mode:
authorGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-03-05 21:30:41 +0000
committerGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-03-05 21:30:41 +0000
commitfee6778710c82dfbee04ab23061a96d324facfdb (patch)
treefb758101d689d4b2e9ce66aeddfd48ebc05f9232 /UnitTesting/GTMUIKit+UnitTesting.h
parent32d00b320d12706ead14baad04f11cec2823df77 (diff)
- Changed gtm_createCGPath to gtm_cgPath in GTMNSBezier+CGPath. The path
returned is now autoreleased so you don't need to worry about releasing it. - Made some changes to the GTMNSObject+UnitTesting APIs. Specifically renamed gtm_createUnitTestImage to gtm_unitTestImage. The value it returns is now autoreleased, so no need to release it. Also change gtm_createUnitTestBitmapOfSize:withData: to a C function. - Cleaned up GTM so that it passes the Clang checker without any warnings.
Diffstat (limited to 'UnitTesting/GTMUIKit+UnitTesting.h')
-rw-r--r--UnitTesting/GTMUIKit+UnitTesting.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/UnitTesting/GTMUIKit+UnitTesting.h b/UnitTesting/GTMUIKit+UnitTesting.h
index bb78a7a..ee420e9 100644
--- a/UnitTesting/GTMUIKit+UnitTesting.h
+++ b/UnitTesting/GTMUIKit+UnitTesting.h
@@ -65,12 +65,6 @@
// See GTMNSObject+UnitTesting.h for details.
@interface UIView (GTMUnitTestingAdditions) <GTMUnitTestingImaging>
-// Returns an image containing a representation suitable for use in comparing against a master image.
-//
-// Returns:
-// an image of the object
-- (CGImageRef)gtm_createUnitTestImage;
-
// Encodes the state of an object in a manner suitable for comparing against a master state file
// This enables us to determine whether the object is in a suitable state.
//
@@ -89,12 +83,6 @@
// GTMAssertObjectImageEqualToImageNamed macro, which automatically creates
// result images and diff images in case test fails.
@interface UIImage (GTMUnitTestingAdditions) <GTMUnitTestingImaging>
-// Returns an image containing a representation suitable for use in comparing
-// against a master image.
-//
-// Returns:
-// an image of the object
-- (CGImageRef)gtm_createUnitTestImage;
@end
// A view that allows you to delegate out drawing using the formal