This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //--------------- | |
| // This test: | |
| // -------------- | |
| -(void)setUp{ | |
| theWindow = [[CPWindow alloc] initWithContentRect:CGRectMake(0,0,200,150) | |
| styleMask:CPWindowNotSizable]; | |
| } | |
| -(void)test_set_size_displays_resizer {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import <AppKit/CPView.j> | |
| @import "../models/ExclusionZone.j" | |
| @implementation PlaceableExclusionZoneView : CPView { | |
| CGPoint dragLocation; | |
| id scaler @accessors; | |
| CPImageView imageView; | |
| BOOL constrainToWindow; | |
| CPView sizerView; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (in /Users/pivotal/workspace/cappuccino/AppKit/Themes/Aristo) | |
| org.mozilla.javascript.EcmaError: ReferenceError: "_objj_generateObjectHash" is not defined. (/Users/pivotal/workspace/cappuccino/Build/Release/CommonJS/cappuccino/Frameworks/Debug/Foundation/CPObject.j#156) | |
| at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3753) | |
| at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3731) | |
| at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3816) | |
| at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1826) | |
| at org.mozilla.javascript.ScriptRuntime.getNameFunctionAndThis(ScriptRuntime.java:2231) | |
| at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1506) | |
| at script(/Users/pivotal/workspace/cappuccino/Build/Release/CommonJS/cappuccino/Frameworks/Debug/Foundation/CPObject.j:156) | |
| at script(/Users/pivotal/workspace/cappuccino/Build/Release/CommonJS/cappuccino/Frameworks/Debug/Foundation/CPKeyValueCoding.j:159) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //----------------- | |
| //Our Test: | |
| //----------------- | |
| - (void)test_mouse_over_shows_resize_button { | |
| var sizerView = [view sizerView]; | |
| [self assert:YES equals:[sizerView isHidden]]; | |
| [view mouseEntered:nil]; | |
| [self assert:NO equals:[[view sizerView] isHidden]]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @implementation ExclusionZone : CPObject { | |
| float width @accessor; | |
| float height @accessor; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cypress:~/workspace/diego/public (master)$ ojtest Tests/views/AvailableExclusionZoneTest.j | |
| AvailableExclusionZoneTest.2010-01-17 16:53:23.737 Cappuccino [error]: addError test=[AvailableExclusionZoneTest test_clicking_notifies_controller] error=ReferenceError: "CPApp" is not defined. | |
| 2010-01-17 16:53:23.747 Cappuccino [error]: at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPEvent.j:91) | |
| at script.$AvailableExclusionZoneTest__test_clicking_notifies_controller((Anonymous):9) | |
| at script.$OJTestCase__runTest((Anonymous):44) | |
| at script.$OJTestCase__runBare((Anonymous):32) | |
| at script.$OJTestResult__run_((Anonymous):55) | |
| at script.$OJTestCase__run_((Anonymous):24) | |
| at script.$OJTestSuite__run_((Anonymous):109) | |
| at script.$OJTestRunnerText__run_wait_((Anonymous):70) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Compiling [CommonJS] CPControl.j........................ | |
| Creating static file... /Users/pivotal/workspace/cappuccino/Build/Debug/AppKit/CommonJS.environment/AppKit.sj | |
| Creating sprited images file... /Users/pivotal/workspace/cappuccino/Build/Debug/AppKit/Browser.environment/dataURLs.txt | |
| (in /Users/pivotal/workspace/cappuccino/AppKit/Themes) | |
| setupEnvironment: ReferenceError: "CPControl" is not defined. | |
| org.mozilla.javascript.EcmaError: ReferenceError: "CPControl" is not defined. (/Users/pivotal/workspace/cappuccino/Build/Debug/CommonJS/cappuccino/Frameworks/AppKit/CPTextField.j#20) | |
| at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3753) | |
| at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3731) | |
| at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3816) | |
| at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1826) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @implementation AvailableExclusionZoneView : CPImageView { | |
| // CGPoint dragLocation; | |
| // CGPoint editedOrigin; | |
| } | |
| - (id)initWithController:(id)aController { | |
| self = [super initWithFrame:CGRectMakeZero()]; | |
| return self; | |
| } | |
| @end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cypress:~/workspace/diego/public (master)$ ojtest Tests/views/AvailableExclusionZoneTest.j | |
| AvailableExclusionZoneTest.2010-01-17 16:01:15.965 Cappuccino [error]: addError test=[AvailableExclusionZoneTest test_clicking_notifies_controller] error=ReferenceError: "CPTopVerticalTextAlignment" is not defined. | |
| 2010-01-17 16:01:15.973 Cappuccino [error]: at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPControl.j:399) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPView.j:1250) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPView.j:1082) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPView.j:70) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPControl.j:42) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPImageView.j:20) | |
| at script.$AvailableExclusionZoneView__initWithController_((Anonymous):7) | |
| at script.$AvailableExclusionZoneTest__test_clicking_notif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cypress:~/workspace/cappuccino (master)$ sudo tusk list | |
| narwhal /usr/local/narwhal/ | |
| browserjs /usr/local/narwhal/packages/browserjs/ | |
| cappuccino /usr/local/narwhal/packages/cappuccino/ | |
| jake /usr/local/narwhal/packages/jake/ | |
| objective-j /usr/local/narwhal/packages/objective-j/ | |
| ojmoq /usr/local/narwhal/packages/ojmoq/ | |
| ojunit /usr/local/narwhal/packages/ojunit/ | |
| readline /usr/local/narwhal/packages/readline/ | |
| shrinksafe /usr/local/narwhal/packages/shrinksafe/ |