OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_TEST_OCMOCK_OCMOCKOBJECT_BREAKPADCONTROLLERTESTING_H_ |
| 6 #define IOS_CHROME_TEST_OCMOCK_OCMOCKOBJECT_BREAKPADCONTROLLERTESTING_H_ |
| 7 |
| 8 #import "third_party/ocmock/OCMock/OCMockObject.h" |
| 9 |
| 10 #import <Foundation/Foundation.h> |
| 11 |
| 12 // Private methods for unit tests. |
| 13 @interface OCMockObject (BreakpadControllerTesting) |
| 14 |
| 15 // Sets an expectation for invoking -[BreakpadController getCrashReportCount:] |
| 16 // with a non-nil result block. Arranges to pass |crashReportCount| to the |
| 17 // result block when the expectation is met. |
| 18 - (void)cr_expectGetCrashReportCount:(int)crashReportCount; |
| 19 |
| 20 @end |
| 21 |
| 22 #endif // IOS_CHROME_TEST_OCMOCK_OCMOCKOBJECT_BREAKPADCONTROLLERTESTING_H_ |
OLD | NEW |