5#ifndef TESTING_GTEST_MAC_H_
6#define TESTING_GTEST_MAC_H_
7#include <gtest/internal/gtest-port.h>
8#include <gtest/gtest.h>
10#import <Foundation/Foundation.h>
15GTEST_API_ AssertionResult CmpHelperNSEQ(
const char* expected_expression,
16 const char* actual_expression,
17 id<NSObject> expected,
21GTEST_API_ AssertionResult CmpHelperNSNE(
const char* expected_expression,
22 const char* actual_expression,
23 id<NSObject> expected,
25#if !defined(GTEST_OS_IOS)
28GTEST_API_ AssertionResult CmpHelperNSEQ(
const char* expected_expression,
29 const char* actual_expression,
30 const NSRect& expected,
31 const NSRect& actual);
34GTEST_API_ AssertionResult CmpHelperNSNE(
const char* expected_expression,
35 const char* actual_expression,
36 const NSRect& expected,
37 const NSRect& actual);
40GTEST_API_ AssertionResult CmpHelperNSEQ(
const char* expected_expression,
41 const char* actual_expression,
42 const NSPoint& expected,
43 const NSPoint& actual);
46GTEST_API_ AssertionResult CmpHelperNSNE(
const char* expected_expression,
47 const char* actual_expression,
48 const NSPoint& expected,
49 const NSPoint& actual);
54#define EXPECT_NSEQ(expected, actual)
55 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNSEQ, expected, actual)
56#define EXPECT_NSNE(val1, val2)
57 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNSNE, val1, val2)
58#define ASSERT_NSEQ(expected, actual)
59 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNSEQ, expected, actual)
60#define ASSERT_NSNE(val1, val2)
61 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNSNE, val1, val2)