/core/externals/update-engine/externals/google-toolbox-for-mac/AppKit/GTMNSAnimatablePropertyContainerTest.h

http://macfuse.googlecode.com/ · C++ Header · 53 lines · 24 code · 12 blank · 17 comment · 0 complexity · 81fc76fecb1e457ad4470b452cbd0f67 MD5 · raw file

  1. //
  2. // GTMNSAnimatablePropertyContainerTest.h
  3. //
  4. // Copyright (c) 2010 Google Inc. All rights reserved.
  5. //
  6. // Licensed under the Apache License, Version 2.0 (the "License"); you may not
  7. // use this file except in compliance with the License. You may obtain a copy
  8. // of the License at
  9. //
  10. // http://www.apache.org/licenses/LICENSE-2.0
  11. //
  12. // Unless required by applicable law or agreed to in writing, software
  13. // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  14. // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  15. // License for the specific language governing permissions and limitations under
  16. // the License.
  17. //
  18. #import "GTMSenTestCase.h"
  19. #import <AppKit/AppKit.h>
  20. #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
  21. @class GTMUnitTestingBooleanRunLoopContext;
  22. @interface GTMNSAnimatablePropertyContainerWindow : NSWindow
  23. @end
  24. @interface GTMNSAnimatablePropertyContainerWindowBox : NSBox
  25. - (void)set:(NSInteger)value;
  26. @end
  27. @interface GTMNSAnimatablePropertyContainerWindowController : NSWindowController {
  28. @private
  29. IBOutlet NSBox *nonLayerBox_;
  30. IBOutlet NSBox *layerBox_;
  31. }
  32. @property (readonly, retain, nonatomic) NSBox *nonLayerBox;
  33. @property (readonly, retain, nonatomic) NSBox *layerBox;
  34. @end
  35. @interface GTMNSAnimatablePropertyContainerTest : GTMTestCase {
  36. @private
  37. GTMNSAnimatablePropertyContainerWindowController *windowController_;
  38. GTMUnitTestingBooleanRunLoopContext *timerCalled_;
  39. }
  40. @end
  41. #endif // MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5