piaoyongren / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

TestMerge doesn't display the reference image with GTMAssertObjectImageEqualToImageNamed #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

- Run a failing test case containing GTMAssertObjectImageEqualToImageNamed
- TestMerge opens but cannot find the reference image
- If i commit some changes TestMerge cannot update the reference image

What version of the product are you using? On what operating system?

iPhone target 

Please provide any additional information below.

When i use GTMAssertDrawingEqualToFile, TestMerge works fine because 
the GTM output file contains only the name of the file, it looks like 
that : 

output.png 
output_failed.png 

But when i use GTMAssertObjectImageEqualToImageNamed, 
then the output also contains the target architecture and SDK and 
looks like : 

output.10.6.2.iPhone.png 
output_Failed.10.6.2.iPhone.png 

And TestMerge cannot find the reference image anymore. If i try to 
commit a change it also fails to replace the image. Here are the 
console log : 

22/03/10 14:02:18       TestMerge[40916]        Finding group with name 
AccueilViewController, extension png 
22/03/10 14:02:18       TestMerge[40916]        Sorted output groups: {( 
    <OutputGroup: 0x1038470> (entity: OutputGroup; id: 0x1025640 <x- 
coredata://1CF13374-3A8A-49EC-88A9-7D86DB1E1080/OutputGroup/p1> ; 
data: { 
    extension = png; 
    failureDiffPath = "/Users/Admin/Documents/Projets/Indemnisation/ 
Indem"; 
    name = AccueilViewController; 
    outputPath = "/Users/Admin/Documents/Projets/Indemnisation/Indem"; 
    referenceFiles =     ( 
        0x104de90 <x-coredata:///OutputFile/tAE30271F-7A08-44C6- 
ABDB-6B7A9CA961663> 
    ); 
    replaceReference = nil; 
}) 

)} 

Original issue reported on code.google.com by vdau...@gmail.com on 23 Mar 2010 at 4:42

GoogleCodeExporter commented 9 years ago

Original comment by drewmcco...@mac.com on 12 Jul 2010 at 11:32

GoogleCodeExporter commented 9 years ago

Original comment by eskr...@mac.com on 15 Nov 2012 at 12:32

GoogleCodeExporter commented 9 years ago
TestMerge is no longer used and was removed from the project a long time ago.

Original comment by eskr...@mac.com on 3 Jul 2013 at 12:56