1
0
mirror of synced 2024-11-15 03:23:51 +00:00
x2xmldatabinding/Tests/Source/ObjectMappingTests.pas
Mark van Renswoude 24ce12fdc5 Added: base for unit tests
Changed: extended type mapping for future improvements
2008-03-10 16:04:46 +00:00

41 lines
743 B
ObjectPascal

unit ObjectMappingTests;
interface
uses
TestFramework;
type
TObjectMappingTests = class(TAbstractTest, ITest)
protected
procedure RunTest(testResult: TTestResult); override;
public
class function Suite: ITestSuite;
end;
implementation
{ TObjectMappingTests }
class function TObjectMappingTests.Suite: ITestSuite;
begin
Result := TTestSuite.Create(Self.ClassName);
{ Add tests for all .xsd files which have a corresponding .expected file }
Result.AddTest(Self.Create('Test'));
end;
procedure TObjectMappingTests.RunTest(testResult: TTestResult);
begin
testResult.AddFailure(Self, nil, 'Oeps!');
end;
initialization
RegisterTest(TObjectMappingTests.Suite);
end.