| Index: ios/chrome/test/ocmock/OCMockObject+BreakpadControllerTesting.h
|
| diff --git a/ios/chrome/test/ocmock/OCMockObject+BreakpadControllerTesting.h b/ios/chrome/test/ocmock/OCMockObject+BreakpadControllerTesting.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3b92d03f6b71d403bf83ecb7c3f0e902bd23256d
|
| --- /dev/null
|
| +++ b/ios/chrome/test/ocmock/OCMockObject+BreakpadControllerTesting.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2014 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.
|
| +
|
| +#ifndef IOS_CHROME_TEST_OCMOCK_OCMOCKOBJECT_BREAKPADCONTROLLERTESTING_H_
|
| +#define IOS_CHROME_TEST_OCMOCK_OCMOCKOBJECT_BREAKPADCONTROLLERTESTING_H_
|
| +
|
| +#import "third_party/ocmock/OCMock/OCMockObject.h"
|
| +
|
| +#import <Foundation/Foundation.h>
|
| +
|
| +// Private methods for unit tests.
|
| +@interface OCMockObject (BreakpadControllerTesting)
|
| +
|
| +// Sets an expectation for invoking -[BreakpadController getCrashReportCount:]
|
| +// with a non-nil result block. Arranges to pass |crashReportCount| to the
|
| +// result block when the expectation is met.
|
| +- (void)cr_expectGetCrashReportCount:(int)crashReportCount;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_CHROME_TEST_OCMOCK_OCMOCKOBJECT_BREAKPADCONTROLLERTESTING_H_
|
|
|