edisona / oauth

Automatically exported from code.google.com/p/oauth
1 stars 0 forks source link

OAuthConsumer (Mac OS X) Unit Tests failing. #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build OAuthConsumer Xcode project (esp. UnitTests)
2. Watch as testInitWithKeychainUsingAppName fails!

What is the expected output? What do you see instead?
Not a failure

Not 100% sure why the UnitTests are breaking. I need to compare code before my 
changes and see 
if I broke the UnitTests in  http://code.google.com/p/oauth/issues/detail?id=22

Unfortunately I don't have time to investigate and fix right now, but thought 
I'd at least file a bug

Original issue reported on code.google.com by jwight on 19 Apr 2008 at 9:40

GoogleCodeExporter commented 9 years ago
(Removed myself as owner)

Original comment by jwight on 19 Apr 2008 at 9:41

GoogleCodeExporter commented 9 years ago

Original comment by andyster on 15 Jul 2008 at 11:18

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. I have also run into this issue and it appears to be 
a bug
in Apple's unit test framework. If you run these same tests on a PPC machine, 
they
pass. The problem seems to be with the PPC emulation on Intel boxes. I traced 
it into
the Keychain sources provided by Apple as part of Darwin and found that the 
tests
were triggering their fallback error handler for conditions they did not 
anticipate.
There were also "fix me" comments around that area of their code so I stopped
pursuing it any further.

I will add a comment in a README file about this matter.

Original comment by jon.r.cr...@gmail.com on 22 Jul 2008 at 7:20