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

This commit is contained in:
Alexandre Wilhelm committed 2015-07-07 15:04:29 -07:00
1 parent 6fe9dae3d6
commit 923d32ee6d
45 files changed
+47 -143

No files matched your search

+1 -4
View File
@@ -6,14 +6,11 @@
CPTableView tableView;
}
+ (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];