mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-05 04:05:34 +00:00
Test: [[CPApplication alloc] init]; in instance setUp method
This commit is contained in:
1 parent
b87aeffcd8
commit
4b0fe879cb
1 file changed
+1
-4
@@ -11,14 +11,11 @@
|
||||
OJMoqSpy delegateSpy
|
||||
}
|
||||
|
||||
+ (void)setUp
|
||||
- (void)setUp
|
||||
{
|
||||
// This will init the global var CPApp which are used internally in the AppKit
|
||||
[[CPApplication alloc] init];
|
||||
}
|
||||
|
||||
- (void)setUp
|
||||
{
|
||||
// setup a reasonable table
|
||||
theWindow = [[CPWindow alloc] initWithContentRect:CGRectMake(0.0, 0.0, 1024.0, 768.0) styleMask:CPWindowNotSizable];
|
||||
|
||||
|
||||
Reference in new issue
Block a user