#include "catch_objc_arc.hpp"
import <objc/runtime.h>
#include <string>
#include "catch_test_case_info.h"
#include "catch_string_manip.h"
#include "catch_tostring.h"
Go to the source code of this file.
◆ OC_MAKE_UNIQUE_NAME
#define OC_MAKE_UNIQUE_NAME |
( |
| root, |
|
|
| uniqueSuffix ) |
◆ OC_TEST_CASE
#define OC_TEST_CASE |
( |
| name, |
|
|
| desc ) |
Value:
#define OC_TEST_CASE2(name, desc, uniqueSuffix)
Definition at line 213 of file catch_objc.hpp.
◆ OC_TEST_CASE2
#define OC_TEST_CASE2 |
( |
| name, |
|
|
| desc, |
|
|
| uniqueSuffix ) |
Value:
{ \
} \
{ \
return @ desc; \
} \
#define OC_MAKE_UNIQUE_NAME(root, uniqueSuffix)
Definition at line 202 of file catch_objc.hpp.
202#define OC_TEST_CASE2( name, desc, uniqueSuffix ) \
203+(NSString*) OC_MAKE_UNIQUE_NAME( Catch_Name_test_, uniqueSuffix ) \
204{ \
205return @ name; \
206} \
207+(NSString*) OC_MAKE_UNIQUE_NAME( Catch_Description_test_, uniqueSuffix ) \
208{ \
209return @ desc; \
210} \
211-(void) OC_MAKE_UNIQUE_NAME( Catch_TestCase_test_, uniqueSuffix )