Skip to content

Commit

Permalink
Test: updated unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogild committed Jul 7, 2015
1 parent 88aafec commit b87aeff
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Tests/AppKit/CPTextViewTest.j
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
@import <AppKit/CPTextView.j>
@import <OJMoq/OJMoq.j>

[CPApplication sharedApplication]

@implementation CPTextViewTest : OJTestCase
{
CPWindow theWindow;
Expand All @@ -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
Expand Down

0 comments on commit b87aeff

Please sign in to comment.