1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
assert(is_mac || is_ios)
config("ocmock_config") {
include_dirs = [ "//third_party/ocmock" ]
}
source_set("ocmock") {
testonly = true
sources = [
# Helper for using with gtest.
"gtest_support.h",
"gtest_support.mm",
# Some extra features to make using OCMock easier.
"ocmock_extensions.h",
"ocmock_extensions.mm",
# OCMock sources.
"OCMock/NSInvocation+OCMAdditions.h",
"OCMock/NSInvocation+OCMAdditions.m",
"OCMock/NSMethodSignature+OCMAdditions.h",
"OCMock/NSMethodSignature+OCMAdditions.m",
"OCMock/NSNotificationCenter+OCMAdditions.h",
"OCMock/NSNotificationCenter+OCMAdditions.m",
"OCMock/OCClassMockObject.h",
"OCMock/OCClassMockObject.m",
"OCMock/OCMArg.h",
"OCMock/OCMArg.m",
"OCMock/OCMBlockCaller.h",
"OCMock/OCMBlockCaller.m",
"OCMock/OCMBoxedReturnValueProvider.h",
"OCMock/OCMBoxedReturnValueProvider.m",
"OCMock/OCMConstraint.h",
"OCMock/OCMConstraint.m",
"OCMock/OCMExceptionReturnValueProvider.h",
"OCMock/OCMExceptionReturnValueProvider.m",
"OCMock/OCMIndirectReturnValueProvider.h",
"OCMock/OCMIndirectReturnValueProvider.m",
"OCMock/OCMNotificationPoster.h",
"OCMock/OCMNotificationPoster.m",
"OCMock/OCMObserverRecorder.h",
"OCMock/OCMObserverRecorder.m",
"OCMock/OCMPassByRefSetter.h",
"OCMock/OCMPassByRefSetter.m",
"OCMock/OCMRealObjectForwarder.h",
"OCMock/OCMRealObjectForwarder.m",
"OCMock/OCMReturnValueProvider.h",
"OCMock/OCMReturnValueProvider.m",
"OCMock/OCMock.h",
"OCMock/OCMockObject.h",
"OCMock/OCMockObject.m",
"OCMock/OCMockRecorder.h",
"OCMock/OCMockRecorder.m",
"OCMock/OCObserverMockObject.h",
"OCMock/OCObserverMockObject.m",
"OCMock/OCPartialMockObject.h",
"OCMock/OCPartialMockObject.m",
"OCMock/OCPartialMockRecorder.h",
"OCMock/OCPartialMockRecorder.m",
"OCMock/OCProtocolMockObject.h",
"OCMock/OCProtocolMockObject.m",
]
deps = [
"//testing/gtest",
]
public_configs = [ ":ocmock_config" ]
}
|