What steps will reproduce the problem?
1. Set up test for GTMAssertObjectImageEqualToImageNamed, leave out the
reference image
2. Run on iOS device
3. Observe failure
What is the expected output? What do you see instead?
Reference image (same for diff, if reference exists) should be saved, but will
not be on device, because the destination path tried is /Desktop/imagename.png
- /Desktop is not a valid path on the device.
Instead the image should be stored in the App's home directory so it can be
grabbed later, e. g. via Xcode/Organizer.
What version of the product are you using? On what operating system?
GTM SVN Rev 426.
iOS 4.2.1 / Xcode 3.2.5
Please provide any additional information below.
Attached find a proposed patch to fix this. It will place the images to the
App's tmp directory.
Original issue reported on code.google.com by daniel.s...@gmail.com on 20 Jan 2011 at 1:44
Original issue reported on code.google.com by
daniel.s...@gmail.com
on 20 Jan 2011 at 1:44Attachments: