mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 00:52:58 +00:00
Test: updated unittest
This commit is contained in:
1 parent
88aafec6e3
commit
b87aeffcd8
1 file changed
+6
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user