The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > Omni Frameworks
FAQ Members List Calendar Today's Posts

 
OBPostLoader.m, line 494 and OCUnit Thread Tools Search this Thread Display Modes
Attempting to use OCUnit for some obj-c unit testing. When I follow Apple's HOWTO at Adding Unit Tests to Your Projects it looks like OmniBase/OBPostLoader.m, line 494 is causing the OCUnit framework to fail.

Code:
ASSERT failed: requires 'MethodSignatureConflictCount == 0', file /Users/tanner/projects/xcode/OmniGroup/Frameworks/OmniBase/OBPostLoader.m, line 494
You have 15 seconds to attach to pid 8465 in gdb...
/Developer/Tools/RunPlatformUnitTests.include: line 236:  8465 Abort trap              "${TEST_HOST}" ${TEST_HOST_FLAGS} ${OTHER_TEST_FLAGS}
/Developer/Tools/RunPlatformUnitTests.include:304: error: Test host '/Users/tanner/projects/xcode/MetaBiff/build/Debug/MetaBiff.app/Contents/MacOS/MetaBiff' exited abnormally with code 134 (it may have crashed).
If I comment out the offending line of code:

Code:
    // We should find zero conflicts!
    //OBASSERT(MethodSignatureConflictCount == 0);
Everything works as expected.

I"m pretty new to Xcode and OCUnit, but the last bit of the logs show OmniBase as the potential problem, so I'm starting here.

Last edited by basictheprogram; 2009-06-05 at 11:54 PM..
 
We set up unit tests to fail if there are assertion failure. You are hitting one in OmniBase when it is doing some runtime checks of ObjC method signature conflicts, so really you will likely want to investigate those and fix them.
__________________
CTO, The Omni Group
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
1-Line Item Display (small checkboxes) vs. 2-Line Item Display (large checkboxes) bafranklin OmniFocus 2 for Mac (Private Test) 5 2013-04-20 02:33 AM
Round line ends not centered on end of line billbrietstout OmniGraffle General 3 2012-05-17 08:08 AM
Text over a line Buck OmniGraffle General 1 2009-04-23 02:18 PM
Line bug Mr Slippery OmniGraffle General 0 2008-04-16 06:57 AM
Can a line have one end demagnetized? omnibob OmniGraffle General 1 2007-08-01 11:04 AM


All times are GMT -8. The time now is 07:44 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.