IdTest.pas 581 B

12345678910111213141516171819202122232425262728293031
  1. unit IdTest;
  2. //provides adapter from Indy tests to the delphi DUnit test framework
  3. //http://dunit.sourceforge.net
  4. interface
  5. uses
  6. TestFramework;
  7. type
  8. TIdTest = class(TTestCase)
  9. public
  10. procedure OutputLn(const AString: string);
  11. class procedure RegisterTest(const aClass:TTestCaseClass);
  12. end;
  13. implementation
  14. class procedure TIdTest.RegisterTest(const aClass:TTestCaseClass);
  15. begin
  16. TestFramework.RegisterTest('Indy',TTestSuite.Create(aClass));
  17. end;
  18. procedure TIdTest.OutputLn(const AString: string);
  19. begin
  20. // TODO:
  21. end;
  22. end.