Test: [[CPApplication alloc] init]; in instance setUp method

This commit is contained in:
Alexandre Wilhelm committed 2015-07-07 14:46:38 -07:00
1 parent b87aeffcd8
commit 4b0fe879cb
1 file changed
+1 -4
+1 -4
View File
@@ -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];