Artifact fb32100b387417c8b857efbec9de4f1e34f31e4e8350c49ee8cbffa78b60f4a0:
- File tests/plugin/TestPlugin.m — part of check-in [81239da84f] at 2009-10-03 13:38:54 on branch trunk — Rename tests_new to tests. (user: js, size: 485) [annotate] [blame] [check-ins using]
- File tests_new/plugin/TestPlugin.m — part of check-in [0ad8f57b16] at 2009-10-01 12:44:37 on branch trunk — Migration of OFPlugin tests to new testing framework. (user: js, size: 485) [annotate] [blame] [check-ins using]
/* * Copyright (c) 2008 - 2009 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #include "config.h" #import "TestPlugin.h" @implementation TestPlugin - (int)test: (int)num { return num * 2; } @end id init_plugin() { return [[[TestPlugin alloc] init] autorelease]; }