1
0
mirror of synced 2024-11-15 03:23:51 +00:00
x2xmldatabinding/Tests/Source/ObjectMappingTests.pas

41 lines
743 B
ObjectPascal
Raw Normal View History

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.