[go: nahoru, domu]

blob: b14a8eb8a54a791344853fa65761f7578a0a54be [file] [log] [blame]
gambardd8d44032017-02-09 15:41:461/*
Marijn Kruisselbrink1b7c48952023-08-31 16:58:342 * Copyright (c) 2014-2021 Erik Doernenburg and contributors
gambardd8d44032017-02-09 15:41:463 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may
5 * not use these files except in compliance with the License. You may obtain
6 * a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations
14 * under the License.
15 */
16
17#import <Foundation/Foundation.h>
Marijn Kruisselbrink1b7c48952023-08-31 16:58:3418#import <OCMock/OCMFunctions.h>
gambardd8d44032017-02-09 15:41:4619
20@interface OCMLocation : NSObject
21{
Marijn Kruisselbrink1b7c48952023-08-31 16:58:3422 id testCase;
23 NSString *file;
24 NSUInteger line;
gambardd8d44032017-02-09 15:41:4625}
26
27+ (instancetype)locationWithTestCase:(id)aTestCase file:(NSString *)aFile line:(NSUInteger)aLine;
28
29- (instancetype)initWithTestCase:(id)aTestCase file:(NSString *)aFile line:(NSUInteger)aLine;
30
31- (id)testCase;
32- (NSString *)file;
33- (NSUInteger)line;
34
35@end
36
Marijn Kruisselbrink1b7c48952023-08-31 16:58:3437OCMOCK_EXTERN OCMLocation *OCMMakeLocation(id testCase, const char *file, int line);