@@ -14,18 +14,18 @@ #import "OFPlugin.h" #import "OFAutoreleasePool.h" #import "OFString.h" #import "OFExceptions.h" -#import "main.h" +#import "TestsAppDelegate.h" #import "plugin/TestPlugin.h" static OFString *module = @"OFPlugin"; -void -plugin_tests() +@implementation TestsAppDelegate (OFPluginTests) +- (void)pluginTests { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; TestPlugin *plugin; TEST(@"+[pluginFromFile:]", @@ -33,5 +33,6 @@ TEST(@"TestPlugin's -[test:]", [plugin test: 1234] == 2468) [pool drain]; } +@end