¡@

Home 

2014/10/15 ¤U¤È 10:13:34

iphone Programming Glossary: runplatformunittests.include

Why does instantiating a UIFont in an iphone unit test cause a crash?

http://stackoverflow.com/questions/1689586/why-does-instantiating-a-uifont-in-an-iphone-unit-test-cause-a-crash

UIFont systemFontOfSize 12 @end This crashes with the error Test Case ' test testFonts ' started. Developer Tools RunPlatformUnitTests.include line 415 79768 Trace BPT trap THIN_TEST_RIG OTHER_TEST_FLAGS TEST_BUNDLE_PATH Developer Tools RunPlatformUnitTests.include.. line 415 79768 Trace BPT trap THIN_TEST_RIG OTHER_TEST_FLAGS TEST_BUNDLE_PATH Developer Tools RunPlatformUnitTests.include 451 error Test rig ' Developer Platforms iPhoneSimulator.platform Developer SDKs iPhoneSimulator3.1.sdk Developer usr bin..

Implementing Unit Testing with the iPhone SDK

http://stackoverflow.com/questions/2002330/implementing-unit-testing-with-the-iphone-sdk

3D Pool build 3D Pool.build Debug iphonesimulator LogicTests.build Script 1A6BA6AE10F28F40008AC2A8.sh Developer Tools RunPlatformUnitTests.include 412 note Started tests for architectures 'i386' Developer Tools RunPlatformUnitTests.include 419 note Running tests for.. Developer Tools RunPlatformUnitTests.include 412 note Started tests for architectures 'i386' Developer Tools RunPlatformUnitTests.include 419 note Running tests for architecture 'i386' GC OFF objc 12589 GC forcing GC OFF because OBJC_DISABLE_GC is set Test Suite.. at 2010 01 04 21 05 06 0000. Executed 1 test with 1 failure 0 unexpected in 0.000 0.002 seconds Developer Tools RunPlatformUnitTests.include 448 error Failed tests for architecture 'i386' GC OFF Developer Tools RunPlatformUnitTests.include 462 note Completed tests..