Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with unitt.Classes.Add do
- begin
- Name := 'TFoo';
- addConstructor('constructor TFoo.Create(TEST_PARAM: Integer);', @Self.classcreate);
- addMethod('function TFoo.foo(s: String): String;', @Self.classmethod);
- addDestructor('destructor TFoo.Destroy; override;', @Self.classdestroy);
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement