Test: finally put the init of the CPApplication in the instance method setUp. See previous commit #6fe9dae3d62af995f2481bfebdd706aeb0b21365

This commit is contained in:
Alexandre Wilhelm
2015-07-07 15:04:29 -07:00
parent 6fe9dae3d6
commit 923d32ee6d
45 changed files with 47 additions and 143 deletions
+1 -4
View File
@@ -7,14 +7,11 @@
CPArray tableContent;
}
+ (void)setUp
- (void)setUp
{
// This will init the global var CPApp which are used internally in the AppKit
[[CPApplication alloc] init];
}
- (void)setUp
{
tableContent = [];
// setup a reasonable table
theWindow = [[CPWindow alloc] initWithContentRect:CGRectMake(0.0, 0.0, 1024.0, 768.0)