Test: updated unittest

This commit is contained in:
Alexandre Wilhelm committed 2015-07-07 14:29:50 -07:00
1 parent 88aafec6e3
commit b87aeffcd8
1 file changed
+6 -2
+6 -2
View File
@@ -1,8 +1,6 @@
@import <AppKit/CPTextView.j>
@import <OJMoq/OJMoq.j>
[CPApplication sharedApplication]
@implementation CPTextViewTest : OJTestCase
{
CPWindow theWindow;
@@ -13,6 +11,12 @@
OJMoqSpy delegateSpy
}
+ (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