TestUnit3.pas
上传用户:yjb1804
上传日期:2021-01-30
资源大小:3105k
文件大小:2k
源码类别:

Email服务器

开发平台:

Delphi

  1. { $Id: TestUnit3.pas,v 1.5 2000/09/25 20:18:41 juanco Exp $ }
  2. {: DUnit: An XTreme testing framework for Delphi programs.
  3.    @author  The DUnit Group.
  4.    @version $Revision: 1.5 $
  5. }
  6. (*
  7.  * The contents of this file are subject to the Mozilla Public
  8.  * License Version 1.1 (the "License"); you may not use this file
  9.  * except in compliance with the License. You may obtain a copy of
  10.  * the License at http://www.mozilla.org/MPL/
  11.  *
  12.  * Software distributed under the License is distributed on an "AS
  13.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  14.  * implied. See the License for the specific language governing
  15.  * rights and limitations under the License.
  16.  *
  17.  * The Original Code is DUnit.
  18.  *
  19.  * The Initial Developers of the Original Code are Kent Beck, Erich Gamma,
  20.  * and Juancarlo A馿z.
  21.  * Portions created The Initial Developers are Copyright (C) 1999-2000.
  22.  * Portions created by The DUnit Group are Copyright (C) 2000.
  23.  * All rights reserved.
  24.  *
  25.  * Contributor(s):
  26.  * Kent Beck <kentbeck@csi.com>
  27.  * Erich Gamma <Erich_Gamma@oti.com>
  28.  * Juanco A馿z <juanco@users.sourceforge.net>
  29.  * Chris Morris <chrismo@users.sourceforge.net>
  30.  * Jeff Moore <JeffMoore@users.sourceforge.net>
  31.  * The DUnit group at SourceForge <http://dunit.sourceforge.net>
  32.  *
  33.  *)
  34. unit TestUnit3;
  35. interface
  36. uses TestFrameWork;
  37. implementation
  38. type
  39.   TUnit3Test = class(TTestcase)
  40.   published
  41.     procedure testanObject; virtual;
  42.   end;
  43. procedure TUnit3Test.testanObject;
  44. begin
  45.   check(true, 'Unit3 error');
  46. end;
  47. initialization
  48.   // One possible way to register a test
  49.   TestFramework.registerTest('', TUnit3test.Create('testanObject'));
  50. end.