Index: third_party/ocmock/OCMock/OCClassMockObject.h |
diff --git a/third_party/ocmock/OCMock/OCClassMockObject.h b/third_party/ocmock/OCMock/OCClassMockObject.h |
index 69945b2199de6742d40484f6e081217ce4ec2174..e5f9cd86a25dc07280333e69493318be0f8ba8b0 100644 |
--- a/third_party/ocmock/OCMock/OCClassMockObject.h |
+++ b/third_party/ocmock/OCMock/OCClassMockObject.h |
@@ -1,17 +1,30 @@ |
-//--------------------------------------------------------------------------------------- |
-// $Id$ |
-// Copyright (c) 2005-2008 by Mulle Kybernetik. See License file for details. |
-//--------------------------------------------------------------------------------------- |
+/* |
+ * Copyright (c) 2005-2015 Erik Doernenburg and contributors |
+ * |
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may |
+ * not use these files except in compliance with the License. You may obtain |
+ * a copy of the License at |
+ * |
+ * http://www.apache.org/licenses/LICENSE-2.0 |
+ * |
+ * Unless required by applicable law or agreed to in writing, software |
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
+ * License for the specific language governing permissions and limitations |
+ * under the License. |
+ */ |
#import <OCMock/OCMockObject.h> |
@interface OCClassMockObject : OCMockObject |
{ |
- Class mockedClass; |
+ Class mockedClass; |
+ Class originalMetaClass; |
} |
- (id)initWithClass:(Class)aClass; |
- (Class)mockedClass; |
+- (Class)mockObjectClass; // since -class returns the mockedClass |
@end |