From b87aeffcd8464b629f8f5f7cab6c07f9b0ef3359 Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Tue, 7 Jul 2015 14:29:50 -0700 Subject: [PATCH] Test: updated unittest --- Tests/AppKit/CPTextViewTest.j | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Tests/AppKit/CPTextViewTest.j b/Tests/AppKit/CPTextViewTest.j index a791965df..620d3ab9a 100644 --- a/Tests/AppKit/CPTextViewTest.j +++ b/Tests/AppKit/CPTextViewTest.j @@ -1,8 +1,6 @@ @import @import -[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