SenTestingKit/XCTestã¯éåæå¦çãå¾ ããã«ãã¹ãã±ã¼ã¹ãçµäºãã¦ãã¾ãã®ã§ã ç´æ¥SenTestingKit/XCTestãå©ç¨ããå ´åã«ã¯èªåã§NSRunLoopãåãã¦å¦çã®å®äºãå¾ ã¤å¿ è¦ãããã¾ãã ããã¾ã§SenTestCaseã«finishedãã©ã°ã追å ããããµãã¯ã©ã¹ã使ã£ãããã¦ããã®ã§ããã ã©ããã¦ããã¹ãã³ã¼ããæ示çã«ãªããªãã¦æ©ãã§ãã¾ããã ãã¾ã¾ã§æ¸ãã¦ãããã¹ãã³ã¼ãã¯ä»¥ä¸ã®ãããªæãã§ãã 1 2 3 4 5 6 7 8 9 10 11 12 13 14 - (void)testExample { // step 1 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); dispatch_async(queue, ^
{{#tags}}- {{label}}
{{/tags}}